Searched refs:text (Results 76 - 100 of 3881) sorted by relevance

1234567891011>>

/external/chromium/webkit/glue/
H A Dbookmarklet_unittest.cc20 test_shell_->LoadURL(GURL("data:text/html,start page"));
27 GURL("javascript:location.href='data:text/plain,SUCCESS'"));
29 string16 text = test_shell_->GetDocumentText(); local
30 EXPECT_EQ("SUCCESS", UTF16ToASCII(text));
39 GURL("javascript:void(location.href='data:text/plain,SUCCESS')"));
41 string16 text = test_shell_->GetDocumentText(); local
42 EXPECT_EQ("SUCCESS", UTF16ToASCII(text));
46 string16 text; local
56 text = test_shell_->GetDocumentText();
57 EXPECT_EQ("false", UTF16ToASCII(text));
72 string16 text = test_shell_->GetDocumentText(); local
[all...]
/external/markdown/markdown/
H A Dpostprocessors.py21 Postprocessors are run after the ElementTree it converted back into text.
24 text string, modifies it as necessary and returns a text string.
30 def run(self, text):
33 takes the html document as a single text string and returns a
43 def run(self, text):
55 text = text.replace("<p>%s</p>" %
58 text = text
[all...]
H A Dtreeprocessors.py84 * data: A line of Markdown text
102 Process placeholders in Element.text or Element.tail
109 * isText: bool variable, True - it's text, False - it's tail
115 text = subnode.text
116 subnode.text = None
118 text = subnode.tail
121 childResult = self.__processPlaceholders(text, subnode)
144 def linkText(text):
145 if text
[all...]
/external/antlr/antlr-3.4/runtime/Python/tests/
H A Dt039labels.py40 assert ids[0].text == 'a', ids[0]
41 assert ids[1].text == 'b', ids[1]
42 assert ids[2].text == 'c', ids[2]
43 assert ids[3].text == '1', ids[3]
44 assert ids[4].text == '2', ids[4]
45 assert ids[5].text == 'A', ids[5]
47 assert w.text == 'GNU1', w
/external/skia/legacy/src/animator/
H A DSkTextToPath.cpp22 SK_MEMBER(text, Text)
29 SkTextToPath::SkTextToPath() : paint(NULL), path(NULL), text(NULL) {
38 if (paint == NULL || path == NULL || text == NULL) {
45 realPaint.getTextPath(text->getText(), text->getSize(), text->x,
46 text->y, &path->getPath());
/external/skia/src/animator/
H A DSkTextToPath.cpp22 SK_MEMBER(text, Text)
29 SkTextToPath::SkTextToPath() : paint(NULL), path(NULL), text(NULL) {
38 if (paint == NULL || path == NULL || text == NULL) {
45 realPaint.getTextPath(text->getText(), text->getSize(), text->x,
46 text->y, &path->getPath());
/external/apache-http/src/org/apache/commons/codec/net/
H A DRFC1522Codec.java31 * describes techniques to allow the encoding of non-ASCII text in
48 * Applies an RFC 1522 compliant encoding scheme to the given string of text with the
53 * @param text a string to encode
65 protected String encodeText(final String text, final String charset) argument
68 if (text == null) {
77 byte [] rawdata = doEncoding(text.getBytes(charset));
84 * Applies an RFC 1522 compliant decoding scheme to the given string of text. This method
88 * @param text a string to decode
95 protected String decodeText(final String text) argument
98 if (text
[all...]
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
H A DActionTranslator.g186 $x.text.equals(enclosingRule.name) &&
187 enclosingRule.getLocalAttributeScope($y.text)!=null}?
191 AttributeScope scope = enclosingRule.getLocalAttributeScope($y.text);
193 if ( $y.text.equals("st") || $y.text.equals("tree") ) {
194 st = template("ruleSetPropertyRef_"+$y.text);
195 grammar.referenceRuleLabelPredefinedAttribute($x.text);
196 st.add("scope", $x.text);
197 st.add("attr", $y.text);
198 st.add("expr", translateAction($expr.text));
[all...]
/external/skia/src/views/
H A DSkTextBox.cpp16 static size_t linebreak(const char text[], const char stop[], argument
20 size_t lengthBreak = paint.breakText(text, stop - text, margin);
23 const char* start = text;
24 const char* word_start = text;
30 while (text < stop) {
31 const char* prevText = text;
32 SkUnichar uni = SkUTF8_NextUnichar(&text);
40 if (text > start + lengthBreak) {
43 while (text < sto
98 CountLines(const char text[], size_t len, const SkPaint& paint, SkScalar width) argument
168 draw(SkCanvas* canvas, const char text[], size_t len, const SkPaint& paint) argument
242 setText(const char text[], size_t len, const SkPaint& paint) argument
[all...]
/external/chromium/net/proxy/
H A Dproxy_script_fetcher_impl_unittest.cc36 string16 text; member in struct:net::__anon3156::FetchResult
103 string16 text; local
106 &text, &callback);
109 EXPECT_TRUE(text.empty());
112 string16 text; local
115 &text, &callback);
118 EXPECT_EQ(ASCIIToUTF16("-pac.txt-\n"), text);
130 { // Fetch a PAC with mime type "text/plain"
132 string16 text; local
134 int result = pac_fetcher.Fetch(url, &text,
141 string16 text; local
150 string16 text; local
167 string16 text; local
176 string16 text; local
194 string16 text; local
211 string16 text; local
226 string16 text; local
253 string16 text; local
266 string16 text; local
288 string16 text; local
301 string16 text; local
322 string16 text; local
334 string16 text; local
361 string16 text; local
365 EXPECT_EQ(ASCIIToUTF16(kPacScript), text); local
374 string16 text; local
[all...]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
H A DDotTreeGenerator.cs140 // for each child, do a "<unique-name> [label=text]" node def
180 string text = adaptor.GetNodeText(t);
182 return string.Format( NodeFormat, uniqueName, FixString( text ) );
200 protected virtual string FixString( string text )
202 if ( text != null )
204 text = System.Text.RegularExpressions.Regex.Replace( text, "\"", "\\\\\"" );
205 text = System.Text.RegularExpressions.Regex.Replace( text, "\\t", " " );
206 text
[all...]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Utility/Antlr.Utility.Tree/
H A DDOTTreeGenerator.cs134 // for each child, do a "<unique-name> [label=text]" node def
169 string text = adaptor.GetText(t);
171 return string.Format(NodeFormat, uniqueName, FixString(text));
185 protected virtual string FixString(string text) { argument
186 if (text != null) {
187 text = System.Text.RegularExpressions.Regex.Replace(text, "\"", "\\\\\"");
188 text = System.Text.RegularExpressions.Regex.Replace(text, "\\t", " ");
189 text
[all...]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
H A DDotTreeGenerator.cs140 // for each child, do a "<unique-name> [label=text]" node def
180 string text = adaptor.GetText( t );
182 return string.Format( NodeFormat, uniqueName, FixString( text ) );
200 protected virtual string FixString( string text )
202 if ( text != null )
204 text = System.Text.RegularExpressions.Regex.Replace( text, "\"", "\\\\\"" );
205 text = System.Text.RegularExpressions.Regex.Replace( text, "\\t", " " );
206 text
[all...]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
H A DClassicToken.cs45 string text; field in class:Antlr.Runtime.ClassicToken
59 text = oldToken.Text;
66 public ClassicToken(int type, string text) { argument
68 this.text = text;
71 public ClassicToken(int type, string text, int channel) { argument
73 this.text = text;
80 return text;
83 text
[all...]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
H A DClassicToken.cs47 string text; field in class:Antlr.Runtime.ClassicToken
63 text = oldToken.Text;
70 public ClassicToken( int type, string text )
73 this.text = text;
76 public ClassicToken( int type, string text, int channel ) argument
79 this.text = text;
88 return text;
92 text
[all...]
/external/valgrind/main/coregrind/m_mach/
H A Dmach_traps-x86-darwin.S36 .text
45 .text
54 .text
63 .text
72 .text
81 .text
90 .text
99 .text
108 .text
117 .text
[all...]
/external/chromium/chrome/browser/resources/gpu_internals/
H A Dtimeline_view.js14 function getPadding(text, width) {
17 if (typeof text != 'string')
18 text = String(text);
20 if (text.length >= width)
24 for (var i = 0; i < width - text.length; i++)
29 function leftAlign(text, width) {
30 return text + getPadding(text, width);
33 function rightAlign(text, widt
[all...]
/external/expat/tests/
H A Druntests.c72 _expect_failure(char *text, enum XML_Error errorCode, char *errorMessage, argument
75 if (XML_Parse(parser, text, strlen(text), XML_TRUE) == XML_STATUS_OK)
83 #define expect_failure(text, errorCode, errorMessage) \
84 _expect_failure((text), (errorCode), (errorMessage), \
158 char text[] = "<doc>\0</doc>"; local
161 if (XML_Parse(parser, text, sizeof(text) - 1, XML_TRUE) == XML_STATUS_OK)
181 char *text = "\357\273\277<e/>"; local
183 if (XML_Parse(parser, text, strle
190 char text[] = "\\376\\377\\0<\\0e\\0/\\0>"; local
199 char text[] = "\\377\\376<\\0e\\0/\\0>\\0"; local
225 _run_character_check(XML_Char *text, XML_Char *expected, const char *file, int line) argument
242 _run_attribute_check(XML_Char *text, XML_Char *expected, const char *file, int line) argument
261 char *text = local
273 char *text = local
283 char *text = local
293 char *text = local
303 char *text = local
317 char *text = "<doc>\\xEF\\xBA\\xBF</doc>"; local
329 char text[100]; local
353 char text[] = local
369 char text[] = local
392 char *text = local
409 char *text = local
430 char *text = "<tag></tag>"; local
477 char *text = local
513 char *text = local
533 char *text = local
559 char *text = local
601 char *text = "<a><b><c/></b><d><f/></d></a>"; local
705 char *text = local
759 char *text = local
781 char *text = local
801 char *text = local
817 char *text = local
840 char *text = local
858 char *text = (char *)XML_GetUserData(parser); local
876 char *text = local
896 char *text = local
913 char *text = local
928 char *text = local
960 char *text = local
976 char *text = local
1032 char *text = long_character_data_text; local
1053 char *text = long_character_data_text; local
1121 char *text = local
1161 run_ns_tagname_overwrite_test(char *text, char *result) argument
1176 char *text = local
1197 char *text = local
1240 char *text = "<e xmlns='http://xml.libexpat.org/'></e>"; local
1259 char *text; local
1282 char *text = local
1304 char *text = local
1319 char *text = local
1332 char *text = local
1349 char *text = local
1372 char *text = local
1384 char *text = local
1397 char *text = "<doc a:attr=''/>"; local
1407 char *text = "<a:doc/>"; local
[all...]
/external/qemu/distrib/sdl-1.2.15/src/stdlib/
H A DSDL_string.c33 static size_t SDL_ScanLong(const char *text, int radix, long *valuep) argument
35 const char *textstart = text;
39 if ( *text == '-' ) {
41 ++text;
43 if ( radix == 16 && SDL_strncmp(text, "0x", 2) == 0 ) {
44 text += 2;
48 if ( SDL_isdigit((unsigned char) *text) ) {
49 v = *text - '0';
50 } else if ( radix == 16 && SDL_isupperhex(*text) ) {
51 v = 10 + (*text
73 SDL_ScanUnsignedLong(const char *text, int radix, unsigned long *valuep) argument
104 SDL_ScanUintPtrT(const char *text, int radix, uintptr_t *valuep) argument
136 SDL_ScanLongLong(const char *text, int radix, Sint64 *valuep) argument
176 SDL_ScanUnsignedLongLong(const char *text, int radix, Uint64 *valuep) argument
208 SDL_ScanFloat(const char *text, double *valuep) argument
732 SDL_sscanf(const char *text, const char *fmt, ...) argument
999 SDL_snprintf(char *text, size_t maxlen, const char *fmt, ...) argument
1013 SDL_PrintLong(char *text, long value, int radix, size_t maxlen) argument
1027 SDL_PrintUnsignedLong(char *text, unsigned long value, int radix, size_t maxlen) argument
1042 SDL_PrintLongLong(char *text, Sint64 value, int radix, size_t maxlen) argument
1056 SDL_PrintUnsignedLongLong(char *text, Uint64 value, int radix, size_t maxlen) argument
1071 SDL_PrintFloat(char *text, double arg, size_t maxlen) argument
1107 SDL_PrintString(char *text, const char *string, size_t maxlen) argument
1115 SDL_vsnprintf(char *text, size_t maxlen, const char *fmt, va_list ap) argument
[all...]
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/
H A DTextControlActionsManager.java32 public TextControlActionsManager(final Text text) { argument
33 super(text);
34 m_text = text;
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowDateFormat.java4 import android.text.format.DateFormat;
13 public final static java.text.DateFormat getDateFormat(Context context) {
14 return java.text.DateFormat.getDateInstance();
/external/srec/portable/include/
H A DPStackTrace.h75 * @param text [out] The resulting stack-trace text
76 * @param len [in/out] Size of text argument. If the return code is ESR_BUFFER_OVERFLOW,
80 PORTABLE_API ESR_ReturnCode PStackTraceGetValue(LCHAR* text, size_t* len);
85 * @param text [out] The resulting function text
86 * @param len [in/out] Size of text argument. If the return code is ESR_BUFFER_OVERFLOW,
90 PORTABLE_API ESR_ReturnCode PStackTraceGetFunctionName(LCHAR* text, size_t* len);
95 * @param text [in/out] The stack-trace string.
98 PORTABLE_API ESR_ReturnCode PStackTracePopLevel(LCHAR* text);
[all...]
/external/webkit/Source/WebCore/css/
H A DCSSPageRule.cpp41 String text = "@page"; local
46 text += " " + pageSpecification;
48 return text;
/external/webkit/Source/WebCore/dom/
H A DBeforeTextInsertedEvent.h37 static PassRefPtr<BeforeTextInsertedEvent> create(const String& text) argument
39 return adoptRef(new BeforeTextInsertedEvent(text));
44 const String& text() const { return m_text; } function in class:WebCore::BeforeTextInsertedEvent
/external/libvpx/libvpx/examples/includes/PHP-Markdown-Extra-1.2.3/
H A Dmarkdown.php3 # Markdown Extra - A text-to-HTML conversion tool for web writers
52 function Markdown($text) {
63 # Transform text using parser.
64 return $parser->transform($text);
73 Description: <a href="http://daringfireball.net/projects/markdown/syntax">Markdown syntax</a> allows you to write using an easy-to-read, easy-to-write plain text format. Based on the original Perl version by <a href="http://daringfireball.net/">John Gruber</a>. <a href="http://www.michelf.com/projects/php-markdown/">More...</a>
81 # <http://www.michelf.com/weblog/2005/wordpress-text-flow-vs-markdown/>
105 function mdwp_MarkdownPost($text) {
116 return $parser->transform($text);
142 function mdwp_add_p($text) {
143 if (!preg_match('{^$|^<(p|ul|ol|dl|pre|blockquote)>}i', $text)) {
144 $text = '<p>'.$text.'</p>'; variable
145 $text = preg_replace('{\\n{2,}}', "</p>\\n\\n<p>", $text); variable
307 $text = preg_replace('{^\\xEF\\xBB\\xBF|\\x1A}', '', $text); variable
311 $text = preg_replace('{\\r\\n?}', "\\n", $text); variable
317 $text = $this->detab($text); variable
320 $text = $this->hashHTMLBlocks($text); variable
326 $text = preg_replace('/^[ ]+$/m', '', $text); variable
330 $text = $this->$method($text); variable
354 $text = preg_replace_callback('{ variable
455 $text = preg_replace_callback('{(?> variable
522 $text = $matches[1]; variable
541 $text = $this->unhash($text); variable
581 $text = $this->hashHTMLBlocks($text); variable
593 $text = $this->$method($text); variable
597 $text = $this->formParagraphs($text); variable
650 $text = $this->$method($text); variable
677 $text = preg_replace_callback('{ variable
696 $text = preg_replace_callback('{ variable
799 $text = preg_replace_callback('{ variable
820 $text = preg_replace_callback('{ variable
902 $text = preg_replace_callback('{ ^(.+?)[ ]*\\n(=+|-+)[ ]*\\n+ }mx', variable
912 $text = preg_replace_callback('{ variable
980 $text = preg_replace_callback('{ variable
987 $text = preg_replace_callback('{ variable
1092 $text = preg_replace_callback('{ variable
1189 $text =& $parts[2]; variable
1292 $text = preg_replace_callback('/ variable
1333 $text = preg_replace('/\\A\\n+|\\n+\\z/', '', $text); variable
1402 $text = $this->encodeAmpsAndAngles($text); variable
1403 $text = str_replace('"', '&quot;', $text); variable
1415 $text = str_replace('&', '&amp;', $text); variable
1419 $text = preg_replace('/&(?!#?[xX]?(?:[0-9a-fA-F]+|\\w+);)/', variable
1423 $text = str_replace('<', '&lt;', $text); variable
1430 $text = preg_replace_callback('{<((https?|ftp|dict):[^\\'">\\s]+)>}i', variable
1434 $text = preg_replace_callback('{ variable
1494 $text = implode('', array_slice($chars, 7)); # text without `mailto:` variable
1601 $text = preg_replace_callback('/^.*\\t.*$/m', variable
1901 $text = ""; variable
1906 $text = $parts[2]; # Remaining text after current tag. variable
1920 $text = substr($text, strlen($matches[0])); variable
1944 $text = substr($text, strlen($matches[0])); variable
2002 $text = $tag . $text; variable
2104 $text = $parts[2]; # Remaining text after current tag. variable
2211 $text = preg_replace_callback( variable
2226 $text = preg_replace_callback('{ variable
2273 $text = preg_replace_callback(' variable
2301 $text = preg_replace_callback(' variable
2357 $text = "<table>\\n"; variable
2424 $text = preg_replace_callback('{ variable
2489 $text = ''; variable
2526 $text = preg_replace_callback('{ variable
2590 $text = preg_replace('/\\A\\n+|\\n+\\z/', '', $text); variable
2611 $text = implode("\\n\\n", $grafs); variable
2614 $text = $this->unhash($text); variable
2630 $text = preg_replace_callback('{ variable
2662 $text = preg_replace('{\\[\\^(.+?)\\]}', "F\\x1Afn:\\\\1\\x1A:", $text); variable
2672 $text = preg_replace_callback('{F\\x1Afn:(.*?)\\x1A:}', variable
2770 $text = preg_replace_callback('{ variable
2796 $text = preg_replace_callback('{'. variable
[all...]

Completed in 1192 milliseconds

1234567891011>>