/external/chromium_org/ui/app_list/search/ |
D | tokenized_string_char_iterator_unittest.cc | 41 void TestEveryChar(const std::string& text, const std::string& expects) { in TestEveryChar() argument 42 TokenizedString tokens(base::UTF8ToUTF16(text)); in TestEveryChar() 55 void TestNextToken(const std::string& text, const std::string& expects) { in TestNextToken() argument 56 TokenizedString tokens(base::UTF8ToUTF16(text)); in TestNextToken() 69 void TestFirstTwoCharInEveryToken(const std::string& text, in TestFirstTwoCharInEveryToken() argument 71 TokenizedString tokens(base::UTF8ToUTF16(text)); in TestFirstTwoCharInEveryToken() 90 const char* text; in TEST() local 92 text = ""; in TEST() 93 TestEveryChar(text, ""); in TEST() 94 TestNextToken(text, ""); in TEST() [all …]
|
/external/chromium_org/third_party/markdown/ |
D | serializers.py | 108 def _raise_serialization_error(text): argument 110 "cannot serialize %r (type %s)" % (text, type(text).__name__) 113 def _encode(text, encoding): argument 115 return text.encode(encoding, "xmlcharrefreplace") 117 _raise_serialization_error(text) 119 def _escape_cdata(text): argument 125 if "&" in text: 126 text = text.replace("&", "&") 127 if "<" in text: 128 text = text.replace("<", "<") [all …]
|
/external/markdown/markdown/ |
D | html4.py | 69 def _raise_serialization_error(text): argument 71 "cannot serialize %r (type %s)" % (text, type(text).__name__) 74 def _encode(text, encoding): argument 76 return text.encode(encoding, "xmlcharrefreplace") 78 _raise_serialization_error(text) 80 def _escape_cdata(text, encoding): argument 86 if "&" in text: 87 text = text.replace("&", "&") 88 if "<" in text: 89 text = text.replace("<", "<") [all …]
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
D | hb-utf-private.hh | 41 next (const uint8_t *text, in next() 50 hb_codepoint_t c = *text++; in next() 57 if (likely (text < end && in next() 58 (t1 = text[0] - 0x80u) <= 0x3Fu)) in next() 61 text++; in next() 69 if (likely (1 < end - text && in next() 70 (t1 = text[0] - 0x80u) <= 0x3Fu && in next() 71 (t2 = text[1] - 0x80u) <= 0x3Fu)) in next() 76 text += 2; in next() 84 if (likely (2 < end - text && in next() [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-utf-private.hh | 41 next (const uint8_t *text, in next() 50 hb_codepoint_t c = *text++; in next() 57 if (likely (text < end && in next() 58 (t1 = text[0] - 0x80u) <= 0x3Fu)) in next() 61 text++; in next() 69 if (likely (1 < end - text && in next() 70 (t1 = text[0] - 0x80u) <= 0x3Fu && in next() 71 (t2 = text[1] - 0x80u) <= 0x3Fu)) in next() 76 text += 2; in next() 84 if (likely (2 < end - text && in next() [all …]
|
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
D | TextBreakIteratorICU.cpp | 115 UText text; member 128 static inline int64_t textNativeLength(UText* text) in textNativeLength() argument 130 return text->a + text->b; in textNativeLength() 180 static void textClose(UText* text) in textClose() argument 182 text->context = 0; in textClose() 185 static inline TextContext textGetContext(const UText* text, int64_t nativeIndex, UBool forward) in textGetContext() argument 187 if (!text->b || nativeIndex > text->b) in textGetContext() 189 if (nativeIndex == text->b) in textGetContext() 194 static inline TextContext textLatin1GetCurrentContext(const UText* text) in textLatin1GetCurrentContext() argument 196 if (!text->chunkContents) in textLatin1GetCurrentContext() [all …]
|
/external/ppp/pppd/plugins/pppoatm/ |
D | text2atm.c | 20 static int try_pvc(const char *text,struct sockaddr_atmpvc *addr,int flags) in try_pvc() argument 28 if (!*text) return FATAL; /* empty or ends with a dot */ in try_pvc() 30 if (isdigit(*text)) { in try_pvc() 31 if (*text == '0' && isdigit(text[1])) return TRY_OTHER; in try_pvc() 35 part[i] = part[i]*10+*text++-'0'; in try_pvc() 37 while (isdigit(*text)); in try_pvc() 39 if (!*text) break; in try_pvc() 40 if (*text++ != '.') return TRY_OTHER; /* non-PVC character */ in try_pvc() 43 if (*text == '*') { in try_pvc() 48 if (*text != '?') return TRY_OTHER; /* invalid character */ in try_pvc() [all …]
|
D | text2qos.c | 25 int __t2q_get_rate(const char **text,int up) in __t2q_get_rate() argument 33 if (!strncmp(*text,"max",3)) { in __t2q_get_rate() 34 *text += 3; in __t2q_get_rate() 37 rate = strtoul(*text,&end,10); in __t2q_get_rate() 75 *text = end; in __t2q_get_rate() 80 static int params(const char **text,struct atm_trafprm *a, in params() argument 86 if (*(*text)++ != ':') return -1; in params() 88 if (!**text) return -1; in params() 89 switch (fetch(text,"max_pcr=","pcr=","min_pcr=","max_sdu=","sdu=", in params() 92 if ((value = __t2q_get_rate(text,0)) == RATE_ERROR) return -1; in params() [all …]
|
/external/libvpx/libvpx/vpx/ |
D | exports_enc | 1 text vpx_codec_enc_config_default 2 text vpx_codec_enc_config_set 3 text vpx_codec_enc_init_ver 4 text vpx_codec_encode 5 text vpx_codec_get_cx_data 6 text vpx_codec_get_global_headers 7 text vpx_codec_get_preview_frame 8 text vpx_codec_set_cx_data_buf 9 text vpx_svc_dump_statistics 10 text vpx_svc_encode [all …]
|
/external/chromium_org/third_party/sqlite/src/test/ |
D | tkt1449.test | 35 …CREATE TABLE ACLS(ISSUEID text(50) not null, OBJECTID text(50) not null, PARTICIPANTID text(50) no… 36 …text(50) not null, PREVMODONNODEID text(50) null, ISSUEID text(50) not null, OBJECTID text(50) not… 37 …text(50) not null, PREVMODONNODEID text(50) null, ISSUEID text(50) not null, OBJECTID text(50) not… 38 …text(36) not null, OBJECTID text(50) null, ISSUEID text(50) null, DATASTREAM blob not null, CONTEN… 39 …text(50) not null, PREVMODONNODEID text(50) null, ISSUEID text(50) not null, OBJECTID text(50) not… 40 …CREATE TABLE DBHISTORY(DATETIME text(25) not null, OPERATION text(20) not null, KUBIVERSION text(1… 41 CREATE TABLE DBINFO(FINGERPRINT text(32) not null, VERSION int not null); 42 …text(36) not null, ISSUEID text(50) not null, OBJECTID text(50) not null, PATH text(300) not null,… 43 …text(50) not null, PREVMODONNODEID text(50) null, ISSUEID text(50) not null, OBJECTID text(50) not… 44 … text(36) not null, ISSUEID text(50) not null, DEPENDSID text(50) null, DEPENDSTYPE int null, DEPE… [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/stdlib/ |
D | SDL_string.c | 33 static size_t SDL_ScanLong(const char *text, int radix, long *valuep) in SDL_ScanLong() argument 35 const char *textstart = text; in SDL_ScanLong() 39 if ( *text == '-' ) { in SDL_ScanLong() 41 ++text; in SDL_ScanLong() 43 if ( radix == 16 && SDL_strncmp(text, "0x", 2) == 0 ) { in SDL_ScanLong() 44 text += 2; in SDL_ScanLong() 48 if ( SDL_isdigit((unsigned char) *text) ) { in SDL_ScanLong() 49 v = *text - '0'; in SDL_ScanLong() 50 } else if ( radix == 16 && SDL_isupperhex(*text) ) { in SDL_ScanLong() 51 v = 10 + (*text - 'A'); in SDL_ScanLong() [all …]
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
D | org.eclipse.text_3.5.0.v20100601-1300.jar | ... .text.IDocument org.eclipse.jface.text.IDocumentExtension org.eclipse.jface.text. ... |
D | org.eclipse.jface.text_3.6.1.r361_v20100825-0800.jar | ... .String) throws org.eclipse.jface.text.BadLocationException
int pos
int length
String text
void < ... |
/external/expat/tests/ |
D | runtests.c | 72 _expect_failure(char *text, enum XML_Error errorCode, char *errorMessage, in _expect_failure() argument 75 if (XML_Parse(parser, text, strlen(text), XML_TRUE) == XML_STATUS_OK) in _expect_failure() 83 #define expect_failure(text, errorCode, errorMessage) \ argument 84 _expect_failure((text), (errorCode), (errorMessage), \ 158 char text[] = "<doc>\0</doc>"; in START_TEST() local 161 if (XML_Parse(parser, text, sizeof(text) - 1, XML_TRUE) == XML_STATUS_OK) in START_TEST() 181 char *text = "\357\273\277<e/>"; in START_TEST() local 183 if (XML_Parse(parser, text, strlen(text), XML_TRUE) == XML_STATUS_ERROR) in START_TEST() 190 char text[] = "\376\377\0<\0e\0/\0>"; in START_TEST() local 192 if (XML_Parse(parser, text, sizeof(text)-1, XML_TRUE) == XML_STATUS_ERROR) in START_TEST() [all …]
|
/external/chromium_org/base/i18n/ |
D | rtl.cc | 141 TextDirection GetFirstStrongCharacterDirection(const string16& text) { in GetFirstStrongCharacterDirection() argument 142 const UChar* string = text.c_str(); in GetFirstStrongCharacterDirection() 143 size_t length = text.length(); in GetFirstStrongCharacterDirection() 157 TextDirection GetLastStrongCharacterDirection(const string16& text) { in GetLastStrongCharacterDirection() argument 158 const UChar* string = text.c_str(); in GetLastStrongCharacterDirection() 159 size_t position = text.length(); in GetLastStrongCharacterDirection() 172 TextDirection GetStringDirection(const string16& text) { in GetStringDirection() argument 173 const UChar* string = text.c_str(); in GetStringDirection() 174 size_t length = text.length(); in GetStringDirection() 200 bool AdjustStringForLocaleDirection(string16* text) { in AdjustStringForLocaleDirection() argument [all …]
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/bin/tests/multisect/ |
D | ldlinux-sects.asm | 8 [section .text] 19 [section .text start=TEXT_START] 31 [section .text] 33 [section .text] 35 [section .text] 36 [section .text] 37 [section .text] 39 [section .text] 42 [section .text] 45 [section .text] [all …]
|
/external/chromium_org/third_party/skia/src/views/ |
D | SkTextBox.cpp | 16 static size_t linebreak(const char text[], const char stop[], in linebreak() argument 20 size_t lengthBreak = paint.breakText(text, stop - text, margin); in linebreak() 23 const char* start = text; in linebreak() 24 const char* word_start = text; in linebreak() 30 while (text < stop) { in linebreak() 31 const char* prevText = text; in linebreak() 32 SkUnichar uni = SkUTF8_NextUnichar(&text); in linebreak() 40 if (text > start + lengthBreak) { in linebreak() 43 while (text < stop && is_ws(SkUTF8_ToUnichar(text))) { in linebreak() 44 text += SkUTF8_CountUTF8Bytes(text); in linebreak() [all …]
|
/external/skia/src/views/ |
D | SkTextBox.cpp | 16 static size_t linebreak(const char text[], const char stop[], in linebreak() argument 20 size_t lengthBreak = paint.breakText(text, stop - text, margin); in linebreak() 23 const char* start = text; in linebreak() 24 const char* word_start = text; in linebreak() 30 while (text < stop) { in linebreak() 31 const char* prevText = text; in linebreak() 32 SkUnichar uni = SkUTF8_NextUnichar(&text); in linebreak() 40 if (text > start + lengthBreak) { in linebreak() 43 while (text < stop && is_ws(SkUTF8_ToUnichar(text))) { in linebreak() 44 text += SkUTF8_CountUTF8Bytes(text); in linebreak() [all …]
|
/external/chromium_org/third_party/icu/source/common/ |
D | schriter.cpp | 27 text() in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 34 text(textStr) in StringCharacterIterator() 37 UCharCharacterIterator::text = this->text.getBuffer(); in StringCharacterIterator() 43 text(textStr) in StringCharacterIterator() 46 UCharCharacterIterator::text = this->text.getBuffer(); in StringCharacterIterator() 54 text(textStr) in StringCharacterIterator() 57 UCharCharacterIterator::text = this->text.getBuffer(); in StringCharacterIterator() 62 text(that.text) in StringCharacterIterator() 65 UCharCharacterIterator::text = this->text.getBuffer(); in StringCharacterIterator() 74 text = that.text; in operator =() [all …]
|
D | dictbe.cpp | 43 DictionaryBreakEngine::findBreaks( UText *text, in findBreaks() argument 52 int32_t start = (int32_t)utext_getNativeIndex(text); in findBreaks() 56 UChar32 c = utext_current32(text); in findBreaks() 59 while((current = (int32_t)utext_getNativeIndex(text)) > startPos && isDict) { in findBreaks() 60 c = utext_previous32(text); in findBreaks() 67 while((current = (int32_t)utext_getNativeIndex(text)) < endPos && fSet.contains(c)) { in findBreaks() 68 utext_next32(text); // TODO: recast loop for postincrement in findBreaks() 69 c = utext_current32(text); in findBreaks() 75 result = divideUpDictionaryRange(text, rangeStart, rangeEnd, foundBreaks); in findBreaks() 76 utext_setNativeIndex(text, current); in findBreaks() [all …]
|
/external/icu/icu4c/source/common/ |
D | schriter.cpp | 27 text() in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 34 text(textStr) in StringCharacterIterator() 37 UCharCharacterIterator::text = this->text.getBuffer(); in StringCharacterIterator() 43 text(textStr) in StringCharacterIterator() 46 UCharCharacterIterator::text = this->text.getBuffer(); in StringCharacterIterator() 54 text(textStr) in StringCharacterIterator() 57 UCharCharacterIterator::text = this->text.getBuffer(); in StringCharacterIterator() 62 text(that.text) in StringCharacterIterator() 65 UCharCharacterIterator::text = this->text.getBuffer(); in StringCharacterIterator() 74 text = that.text; in operator =() [all …]
|
D | dictbe.cpp | 43 DictionaryBreakEngine::findBreaks( UText *text, in findBreaks() argument 55 int32_t start = (int32_t)utext_getNativeIndex(text); in findBreaks() 59 UChar32 c = utext_current32(text); in findBreaks() 62 while((current = (int32_t)utext_getNativeIndex(text)) > startPos && isDict) { in findBreaks() 63 c = utext_previous32(text); in findBreaks() 70 while((current = (int32_t)utext_getNativeIndex(text)) < endPos && fSet.contains(c)) { in findBreaks() 71 utext_next32(text); // TODO: recast loop for postincrement in findBreaks() 72 c = utext_current32(text); in findBreaks() 78 result = divideUpDictionaryRange(text, rangeStart, rangeEnd, foundBreaks); in findBreaks() 79 utext_setNativeIndex(text, current); in findBreaks() [all …]
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
D | wtf.gypi | 159 'text/ASCIIFastPath.h', 160 'text/AtomicString.cpp', 161 'text/AtomicString.h', 162 'text/AtomicStringCF.cpp', 163 'text/AtomicStringHash.h', 164 'text/Base64.cpp', 165 'text/Base64.h', 166 'text/CString.cpp', 167 'text/CString.h', 168 'text/IntegerToStringConversion.h', [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
D | CSSLineBoxContainValue.cpp | 42 StringBuilder text; in customCSSText() local 45 text.appendLiteral("block"); in customCSSText() 47 if (!text.isEmpty()) in customCSSText() 48 text.append(' '); in customCSSText() 49 text.appendLiteral("inline"); in customCSSText() 52 if (!text.isEmpty()) in customCSSText() 53 text.append(' '); in customCSSText() 54 text.appendLiteral("font"); in customCSSText() 57 if (!text.isEmpty()) in customCSSText() 58 text.append(' '); in customCSSText() [all …]
|
/external/doclava/src/com/google/doclava/ |
D | Comment.java | 43 public Comment(String text, ContainerInfo base, SourcePositionInfo sp) { in Comment() argument 44 mText = text; in Comment() 47 mPosition = SourcePositionInfo.findBeginning(sp, text); in Comment() 50 private void parseCommentTags(String text) { in parseCommentTags() argument 52 int length = text.length(); in parseCommentTags() 53 while (i < length && isWhitespaceChar(text.charAt(i++))) {} in parseCommentTags() 59 text = text.substring(i-1); in parseCommentTags() 60 length = text.length(); in parseCommentTags() 62 if ("".equals(text)) { in parseCommentTags() 67 int end = findStartOfBlock(text, start); in parseCommentTags() [all …]
|