Searched refs:text (Results 251 - 275 of 5442) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/net/proxy/
H A Dproxy_script_fetcher_impl_unittest.cc51 base::string16 text; member in struct:net::__anon9393::FetchResult
216 base::string16 text; local
219 &text, callback.callback());
222 EXPECT_TRUE(text.empty());
225 base::string16 text; local
228 &text, callback.callback());
231 EXPECT_EQ(ASCIIToUTF16("-pac.txt-\n"), text);
243 { // Fetch a PAC with mime type "text/plain"
245 base::string16 text; local
247 int result = pac_fetcher.Fetch(url, &text, callbac
254 base::string16 text; local
263 base::string16 text; local
279 base::string16 text; local
288 base::string16 text; local
305 base::string16 text; local
322 base::string16 text; local
337 base::string16 text; local
367 base::string16 text; local
380 base::string16 text; local
402 base::string16 text; local
415 base::string16 text; local
435 base::string16 text; local
447 base::string16 text; local
473 base::string16 text; local
477 EXPECT_EQ(ASCIIToUTF16(kPacScript), text); local
486 base::string16 text; local
[all...]
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/chrome_search/
H A Dbackground.js8 function(text, suggest) {
15 updateDefaultSuggestion(text);
16 if (text == '' || text == 'halp')
19 currentRequest = search(text, function(xml) {
30 if (/^file:/.test(text)) {
80 function updateDefaultSuggestion(text) {
81 var isRegex = /^re:/.test(text);
82 var isFile = /^file:/.test(text);
83 var isHalp = (text
[all...]
/external/chromium_org/third_party/libjingle/source/talk/xmllite/
H A Dxmlprinter.cc44 void PrintQuotedValue(const std::string& text);
45 void PrintBodyText(const std::string& text);
46 void PrintCDATAText(const std::string& text);
146 void XmlPrinterImpl::PrintQuotedValue(const std::string& text) { argument
149 size_t unsafe = text.find_first_of("<>&\"", safe);
151 unsafe = text.length();
152 *pout_ << text.substr(safe, unsafe - safe);
153 if (unsafe == text.length())
155 switch (text[unsafe]) {
162 if (safe == text
167 PrintBodyText(const std::string& text) argument
187 PrintCDATAText(const std::string& text) argument
188 *pout_ << "<![CDATA[" << text << "]]>"; local
[all...]
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/
H A Dprinter.cc59 void Printer::Print(const map<string, string>& variables, const char* text) { argument
60 int size = strlen(text);
64 if (text[i] == '\n') {
65 // Saw newline. If there is more text, we may need to insert an indent
67 WriteRaw(text + pos, i - pos + 1);
74 } else if (text[i] == variable_delimiter_) {
78 WriteRaw(text + pos, i - pos);
82 const char* end = strchr(text + pos, variable_delimiter_);
85 end = text + pos;
87 int endpos = end - text;
113 Print(const char* text) argument
118 Print(const char* text, const char* variable, const string& value) argument
125 Print(const char* text, const char* variable1, const string& value1, const char* variable2, const string& value2) argument
134 Print(const char* text, const char* variable1, const string& value1, const char* variable2, const string& value2, const char* variable3, const string& value3) argument
[all...]
/external/chromium_org/third_party/webrtc/libjingle/xmllite/
H A Dxmlprinter.cc27 void PrintQuotedValue(const std::string& text);
28 void PrintBodyText(const std::string& text);
29 void PrintCDATAText(const std::string& text);
129 void XmlPrinterImpl::PrintQuotedValue(const std::string& text) { argument
132 size_t unsafe = text.find_first_of("<>&\"", safe);
134 unsafe = text.length();
135 *pout_ << text.substr(safe, unsafe - safe);
136 if (unsafe == text.length())
138 switch (text[unsafe]) {
145 if (safe == text
150 PrintBodyText(const std::string& text) argument
170 PrintCDATAText(const std::string& text) argument
171 *pout_ << "<![CDATA[" << text << "]]>"; local
[all...]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
H A DCommonToken.cs48 * We need to be able to change the text once in a while. If
53 string text; field in class:Antlr.Runtime.CommonToken
79 public CommonToken(int type, string text) { argument
82 this.text = text;
86 text = oldToken.Text;
102 if (text != null)
103 return text;
108 text = input.Substring(start, stop - start + 1);
110 text
[all...]
/external/chromium_org/chrome/common/extensions/docs/examples/api/nativeMessaging/host/
H A Dnative-messaging-example-host43 # Read the text (JSON object) of the message.
44 text = sys.stdin.read(text_length).decode('utf-8')
47 queue.put(text)
50 send_message('{"echo": %s}' % text)
60 self.text = Tkinter.Text(self)
61 self.text.grid(row=0, column=0, padx=10, pady=10, columnspan=2)
62 self.text.config(state=Tkinter.DISABLED, height=10, width=40)
68 self.sendButton = Tkinter.Button(self, text="Send", command=self.onSend)
84 text = '{"text"
[all...]
/external/srec/portable/src/
H A DLCHAR.c26 ESR_ReturnCode lstrtrim(LCHAR* text) argument
30 len = LSTRLEN(text);
33 for (beginning = 0; beginning < len && LISSPACE(text[beginning]); ++beginning);
35 for (ending = len - 1; ending > beginning && LISSPACE(text[ending]); --ending);
38 LMEMMOVE(text, text + beginning, ending - beginning + 1);
39 text[ending-beginning+1] = '\0';
67 ESR_ReturnCode lstrreplace(LCHAR* text, const LCHAR source, const LCHAR target) argument
73 index = LSTRCHR(text, source);
81 ESR_ReturnCode lstrtoi(const LCHAR* text, in argument
93 lstrtoui(const LCHAR* text, unsigned int* result, int base) argument
105 lstrtosize_t(const LCHAR* text, size_t* result, int base) argument
117 lstrtof(const LCHAR* text, float* result) argument
129 lstrtob(const LCHAR* text, ESR_BOOL* result) argument
170 LCHARGetInt( LCHAR* text, int* value, LCHAR** finalPosition) argument
[all...]
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
H A DANTLRTreePrinter.g149 : id=ID {out(gtype+"grammar "+$id.text);}
150 (cmt=DOC_COMMENT {out($cmt.text+"\n");} )?
170 {scope=$id1.text; name=$a1.text; action=$a1.text;}
172 {scope=null; name=$id1.text; action=$a2.text;}
191 : ^( ASSIGN id=ID {out($id.text+"=");} optionValue )
195 : id=ID {out($id.text);}
196 | s=STRING_LITERAL {out($s.text);}
[all...]
/external/doclava/src/com/google/doclava/
H A DComment.java43 public Comment(String text, ContainerInfo base, SourcePositionInfo sp) { argument
44 mText = text;
46 // sp now points to the end of the text, not the beginning!
47 mPosition = SourcePositionInfo.findBeginning(sp, text);
50 private void parseCommentTags(String text) { argument
52 int length = text.length();
53 while (i < length && isWhitespaceChar(text.charAt(i++))) {}
59 text = text.substring(i-1);
60 length = text
105 findEndOfMainOrBlock(String text, int start, int end) argument
153 findStartIndexOfInlineTag(String text, int fromIndex, int toIndex) argument
163 findEndIndexOfInlineTag(String text, int fromIndex, int toIndex) argument
173 parseInlineTag(String text, int start, int end, SourcePositionInfo pos) argument
219 findStartOfBlock(String text, int start) argument
257 getPossibleStartOfBlock(String text, int index) argument
269 parseBlock(String text, int startOfBlock, int endOfBlock) argument
302 tag(String name, String text, boolean isInline, SourcePositionInfo pos) argument
[all...]
/external/owasp/sanitizer/src/tests/org/owasp/html/
H A DTagBalancingHtmlStreamRendererTest.java64 balancer.text("Hello, <<World>>!");
70 balancer.text("Hello,");
72 balancer.text("<<World>>!");
87 balancer.text("a");
89 balancer.text("b");
91 balancer.text("c");
104 balancer.text("foo");
108 balancer.text("bar");
123 balancer.text("Hello, World!");
125 balancer.text("Hell
[all...]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
H A DDOTTreeGenerator.java68 new StringTemplate("$name$ [label=\"$text$\"];\n");
143 // for each child, do a "<unique-name> [label=text]" node def
185 String text = adaptor.getText(t);
190 nodeST.setAttribute("text", fixString(text));
208 String text = in;
210 if (text!=null) {
212 text = text.replaceAll("\"", "\\\\\"");
213 text
[all...]
/external/chromium_org/ppapi/cpp/dev/
H A Dfont_dev.cc67 pp_text_run_.text = text_.pp_var();
72 TextRun_Dev::TextRun_Dev(const std::string& text, argument
75 : text_(text) {
76 pp_text_run_.text = text_.pp_var();
82 pp_text_run_.text = text_.pp_var();
93 pp_text_run_.text = text_.pp_var();
146 const TextRun_Dev& text,
156 &text.pp_text_run(),
163 int32_t Font_Dev::MeasureText(const TextRun_Dev& text) const {
167 &text
145 DrawTextAt(ImageData* dest, const TextRun_Dev& text, const Point& position, uint32_t color, const Rect& clip, bool image_data_is_opaque) const argument
170 CharacterOffsetForPixel(const TextRun_Dev& text, int32_t pixel_position) const argument
179 PixelOffsetForCharacter(const TextRun_Dev& text, uint32_t char_offset) const argument
187 DrawSimpleText(ImageData* dest, const std::string& text, const Point& position, uint32_t color, bool image_data_is_opaque) const argument
[all...]
/external/ksoap2/kobjects/org/ksoap2/kobjects/isodate/
H A DIsoDate.java75 public static Date stringToDate(String text, int type) { argument
82 Integer.parseInt(text.substring(0, 4)));
85 Integer.parseInt(text.substring(5, 7))
90 Integer.parseInt(text.substring(8, 10)));
92 if (type != DATE_TIME || text.length() < 11) {
99 text = text.substring(11);
106 Integer.parseInt(text.substring(0, 2)));
110 Integer.parseInt(text.substring(3, 5)));
113 Integer.parseInt(text
[all...]
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
H A Dt012lexerXML.g21 {this.output("ROOTELEMENT: "+$rootElementName.text)}
25 {this.output("SYSTEM: "+$sys1.text)}
28 {this.output("PUBLIC: "+$pub.text)}
29 {this.output("SYSTEM: "+$sys2.text)}
34 {this.output("INTERNAL DTD: "+$dtd.text)}
43 {this.output("PI: "+$target.text)}
58 {this.output("PCDATA: \""+$t.text+"\"")}
60 {this.output("CDATA: \""+$t.text+"\"")}
62 {this.output("Comment: \""+$t.text+"\"")}
72 {this.output("Start Tag: "+$name.text)}
[all...]
/external/chromium_org/chrome/browser/spellchecker/
H A Dword_trimmer.cc14 const base::string16& text,
16 if (*start > text.length() || *start > end)
17 return text;
18 base::i18n::BreakIterator iter(text, base::i18n::BreakIterator::BREAK_WORD);
20 return text;
22 // in |text|.
47 return text;
49 return text.substr(first, last - first);
12 TrimWords(size_t* start, size_t end, const base::string16& text, size_t keep) argument
/external/chromium_org/net/android/java/src/org/chromium/net/
H A DNetStringUtil.java14 import java.text.Normalizer;
23 * Attempts to convert text in a given character set to a Unicode string.
25 * @param text ByteBuffer containing the character array to convert.
31 ByteBuffer text,
37 return decoder.decode(text).toString();
44 * Attempts to convert text in a given character set to a Unicode string,
46 * @param text ByteBuffer containing the character array to convert.
52 ByteBuffer text,
54 String unicodeString = convertToUnicode(text, charsetName);
60 * Convert text i
30 convertToUnicode( ByteBuffer text, String charsetName) argument
51 convertToUnicodeAndNormalize( ByteBuffer text, String charsetName) argument
68 convertToUnicodeWithSubstitutions( ByteBuffer text, String charsetName) argument
[all...]
/external/chromium_org/net/base/
H A Descape.h20 // Escapes characters in text suitable for use as a query parameter value.
24 NET_EXPORT std::string EscapeQueryParamValue(const std::string& text,
43 // Escapes characters in text suitable for use as an external protocol handler
47 NET_EXPORT std::string EscapeExternalHandlerValue(const std::string& text);
53 // Escapes chars that might cause this text to be interpretted as HTML tags.
54 NET_EXPORT std::string EscapeForHTML(const std::string& text);
55 NET_EXPORT base::string16 EscapeForHTML(const base::string16& text);
122 const std::string& text,
125 const std::string& text,
129 // Unescapes the following ampersand character codes from |text|
[all...]
/external/chromium_org/third_party/angle/src/compiler/preprocessor/
H A DToken.cpp21 text.clear();
29 (text == other.text);
59 return numeric_lex_int(text, value);
65 return numeric_lex_int(text, value);
71 return numeric_lex_float(text, value);
79 out << token.text;
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/
H A DDoublePropertyEditor.java18 import java.text.MessageFormat;
63 protected boolean setEditorText(Property property, String text) throws Exception { argument
64 text = text.trim();
66 if (text.length() == 0) {
72 value = Double.valueOf(text);
77 MessageFormat.format(ModelMessages.DoublePropertyEditor_notValidDouble, text));
H A DFloatPropertyEditor.java18 import java.text.MessageFormat;
62 protected boolean setEditorText(Property property, String text) throws Exception { argument
63 text = text.trim();
65 if (text.length() == 0) {
71 value = Float.valueOf(text);
76 MessageFormat.format(ModelMessages.FloatPropertyEditor_notValidFloat, text));
H A DIntegerPropertyEditor.java18 import java.text.MessageFormat;
62 protected boolean setEditorText(Property property, String text) throws Exception { argument
63 text = text.trim();
65 if (text.length() == 0) {
72 value = Integer.valueOf(text);
77 MessageFormat.format(ModelMessages.IntegerPropertyEditor_notValidInt, text));
H A DLongPropertyEditor.java18 import java.text.MessageFormat;
62 protected boolean setEditorText(Property property, String text) throws Exception { argument
63 text = text.trim();
65 if (text.length() == 0) {
71 value = Long.valueOf(text);
76 MessageFormat.format(ModelMessages.LongPropertyEditor_notValidLong, text));
H A DShortPropertyEditor.java18 import java.text.MessageFormat;
62 protected boolean setEditorText(Property property, String text) throws Exception { argument
63 text = text.trim();
65 if (text.length() == 0) {
71 value = Short.valueOf(text);
76 MessageFormat.format(ModelMessages.ShortPropertyEditor_notValidShort, text));
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowEditText.java3 import android.text.Editable;
4 import android.text.SpannableStringBuilder;
5 import android.text.TextUtils;
42 CharSequence text = super.getText();
43 if (!(text instanceof Editable)) {
44 return new SpannableStringBuilder(text);
46 return (Editable) text;

Completed in 925 milliseconds

<<11121314151617181920>>