/external/mdnsresponder/Clients/ |
D | ClientCommon.c | 46 const char *GetNextLabel(const char *cstr, char label[64]) in GetNextLabel() argument 49 while (*cstr && *cstr != '.') // While we have characters in the label... in GetNextLabel() 51 char c = *cstr++; in GetNextLabel() 52 …if (c == '\\' && *cstr) // If we have a backslash, and it's not the last character of the stri… in GetNextLabel() 54 c = *cstr++; in GetNextLabel() 55 if (isdigit(cstr[-1]) && isdigit(cstr[0]) && isdigit(cstr[1])) in GetNextLabel() 57 int v0 = cstr[-1] - '0'; // then interpret as three-digit decimal in GetNextLabel() 58 int v1 = cstr[ 0] - '0'; in GetNextLabel() 59 int v2 = cstr[ 1] - '0'; in GetNextLabel() 65 if (val <= 255) { c = (char)val; cstr += 2; } in GetNextLabel() [all …]
|
D | ClientCommon.h | 41 extern const char *GetNextLabel(const char *cstr, char label[64]);
|
/external/protobuf/src/google/protobuf/stubs/ |
D | common_unittest.cc | 242 const char* cstr = "hello"; in TEST_F() local 243 Closure* closure = NewCallback(&SetABFunction, 789, cstr); in TEST_F() 245 EXPECT_NE(cstr, b_); in TEST_F() 248 EXPECT_EQ(cstr, b_); in TEST_F() 252 const char* cstr = "hello"; in TEST_F() local 254 &ClosureTest::SetABMethod, 789, cstr); in TEST_F() 256 EXPECT_NE(cstr, b_); in TEST_F() 259 EXPECT_EQ(cstr, b_); in TEST_F() 311 const char* cstr = "hello"; in TEST_F() local 312 Closure* closure = NewPermanentCallback(&SetABFunction, 789, cstr); in TEST_F() [all …]
|
/external/harfbuzz/src/ |
D | harfbuzz-thai.c | 43 static void to_tis620(const HB_UChar16 *string, hb_uint32 len, const char *cstr) in to_tis620() argument 46 unsigned char *result = (unsigned char *)cstr; in to_tis620() 63 char *cstr = s; in thaiWordBreaks() local 76 cstr = (char *)malloc(len*sizeof(char) + 1); in thaiWordBreaks() 78 to_tis620(string, len, cstr); in thaiWordBreaks() 80 numbreaks = th_brk(cstr, break_positions, 128); in thaiWordBreaks() 83 numbreaks = th_brk(cstr, break_positions, numbreaks); in thaiWordBreaks() 102 free(cstr); in thaiWordBreaks()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonInstrFormats.td | 22 string cstr, InstrItinClass itin> : Instruction { 31 let Constraints = cstr; 59 string cstr> 60 : InstHexagon<outs, ins, asmstr, pattern, cstr, LD> { 81 string cstr> 82 : InstHexagon<outs, ins, asmstr, pattern, cstr, ST> { 129 string cstr> 130 : InstHexagon<outs, ins, asmstr, pattern, cstr, M> { 141 //: InstHexagon<outs, ins, asmstr, pattern, cstr, !if(V4T, XTYPE_V4, M)> { 154 string cstr> [all …]
|
D | HexagonInstrFormatsV4.td | 26 string cstr> 27 : InstHexagon<outs, ins, asmstr, pattern, cstr, NV_V4> { 36 string cstr> 37 : NVInstPost_V4<outs, ins, asmstr, pattern, cstr> {
|
/external/llvm/lib/Target/ARM/ |
D | ARMInstrFormats.td | 257 Format f, Domain d, string cstr, InstrItinClass itin> 287 let Constraints = cstr; 304 Format f, Domain d, string cstr, InstrItinClass itin> 305 : InstTemplate<am, sz, im, f, d, cstr, itin>, Encoding { 312 Format f, Domain d, string cstr, InstrItinClass itin> 313 : InstTemplate<am, sz, im, f, d, cstr, itin> { 398 string opc, string asm, string cstr, 400 : InstARM<am, sz, im, f, GenericDomain, cstr, itin> { 413 string opc, string asm, string cstr, 415 : InstARM<am, sz, im, f, GenericDomain, cstr, itin> { [all …]
|
/external/webkit/Source/WebCore/html/ |
D | FormDataList.cpp | 35 CString cstr = m_encoding.encode(s.characters(), s.length(), EntitiesForUnencodables); in appendString() local 36 m_items.append(normalizeLineEndingsToCRLF(cstr)); in appendString()
|
/external/stlport/test/unit/ |
D | rope_test.cpp | 60 char const* cstr = "rope test string"; in io() local 61 crope rstr(cstr); in io() 68 CPPUNIT_ASSERT( ostr.str() == cstr ); in io()
|
/external/icu4c/common/ |
D | uenum.c | 94 const char *cstr = en->next(en, &len, status); in uenum_unextDefault() local 95 if (cstr != NULL) { in uenum_unextDefault() 100 u_charsToUChars(cstr, ustr, len+1); in uenum_unextDefault()
|
/external/llvm/lib/DebugInfo/ |
D | DWARFFormValue.h | 30 const char* cstr; member 55 return Value.data != NULL && Value.data == (uint8_t*)Value.cstr; in isInlinedCStr()
|
D | DWARFFormValue.cpp | 140 Value.cstr = data.getCStr(offset_ptr); in extractValue() 144 Value.data = (uint8_t*)Value.cstr; in extractValue() 357 return Value.cstr; in getAsCString()
|
/external/v8/samples/ |
D | lineprocessor.cc | 318 const char* cstr = ToCString(str); in RunCppCycle() local 319 printf("%s\n", cstr); in RunCppCycle() 406 const char* cstr = ToCString(str); in Print() local 407 printf("%s", cstr); in Print()
|
D | shell.cc | 125 const char* cstr = ToCString(str); in Print() local 126 printf("%s", cstr); in Print() 293 const char* cstr = ToCString(str); in ExecuteString() local 294 printf("%s\n", cstr); in ExecuteString()
|
/external/webkit/Source/WebKit/qt/WebCoreSupport/ |
D | InspectorServerQt.cpp | 384 CString cstr = message.utf8(); in sendMessageToFrontend() local 385 return m_requestHandler->webSocketSend(cstr.data(), cstr.length()); in sendMessageToFrontend()
|
/external/mdnsresponder/mDNSCore/ |
D | DNSCommon.c | 481 mDNSexport mDNSu8 *AppendLiteralLabelString(domainname *const name, const char *cstr) in AppendLiteralLabelString() argument 489 while (*cstr && ptr < lim) *ptr++ = (mDNSu8)*cstr++; // Copy the data in AppendLiteralLabelString() 492 if (*cstr) return(mDNSNULL); // Failure: We didn't successfully consume all input in AppendLiteralLabelString() 505 const char *cstr = cstring; in AppendDNSNameString() local 508 while (*cstr && ptr < lim) // While more characters, and space to put them... in AppendDNSNameString() 511 …if (*cstr == '.') { LogMsg("AppendDNSNameString: Illegal empty label in name \"%s\"", cstring); re… in AppendDNSNameString() 512 while (*cstr && *cstr != '.' && ptr < lim) // While we have characters in the label... in AppendDNSNameString() 514 mDNSu8 c = (mDNSu8)*cstr++; // Read the character in AppendDNSNameString() 517 c = (mDNSu8)*cstr++; // Assume we'll just take the next character in AppendDNSNameString() 518 if (mDNSIsDigit(cstr[-1]) && mDNSIsDigit(cstr[0]) && mDNSIsDigit(cstr[1])) in AppendDNSNameString() [all …]
|
/external/webkit/Source/JavaScriptCore/runtime/ |
D | JSGlobalObjectFunctions.cpp | 55 CString cstr = str.utf8(true); in encode() local 56 if (!cstr.data()) in encode() 60 const char* p = cstr.data(); in encode() 61 for (size_t k = 0; k < cstr.length(); k++, p++) { in encode()
|
/external/valgrind/main/perf/ |
D | tinycc.c | 2163 struct CString *cstr; member 7195 static void cstr_realloc(CString *cstr, int new_size) in cstr_realloc() argument 7200 size = cstr->size_allocated; in cstr_realloc() 7205 data = tcc_realloc(cstr->data_allocated, size); in cstr_realloc() 7208 cstr->data_allocated = data; in cstr_realloc() 7209 cstr->size_allocated = size; in cstr_realloc() 7210 cstr->data = data; in cstr_realloc() 7214 static inline void cstr_ccat(CString *cstr, int ch) in cstr_ccat() argument 7217 size = cstr->size + 1; in cstr_ccat() 7218 if (size > cstr->size_allocated) in cstr_ccat() [all …]
|
/external/chromium/third_party/libjingle/source/talk/xmllite/ |
D | xmlelement.h | 94 explicit XmlText(const char * cstr, size_t len) : in XmlText() argument 96 text_(cstr, len) { in XmlText()
|
D | xmlelement.cc | 385 XmlElement::AddParsedText(const char * cstr, int len) { in AddParsedText() argument 390 pLastChild_->AsText()->AddParsedText(cstr, len); in AddParsedText() 394 pLastChild_ = *pprev = new XmlText(cstr, len); in AddParsedText()
|
/external/webkit/Source/WebCore/plugins/ |
D | PluginView.cpp | 440 CString cstr = str.utf8(); in createUTF8String() local 441 char* result = reinterpret_cast<char*>(fastMalloc(cstr.length() + 1)); in createUTF8String() 443 strncpy(result, cstr.data(), cstr.length() + 1); in createUTF8String() 508 CString cstr; in performRequest() local 510 cstr = resultString.utf8(); in performRequest() 514 stream->sendJavaScriptStream(requestURL, cstr); in performRequest()
|
/external/clang/test/SemaCXX/ |
D | typo-correction.cpp | 77 another_str *cstr = new AnotherStr; // expected-error{{unknown type name 'AnotherStr'; did you mean… variable
|
/external/clang/tools/c-index-test/ |
D | c-index-test.c | 558 const char *cstr = clang_getCString(USR); in USRVisitor() local 559 if (!cstr || cstr[0] == '\0') { in USRVisitor() 563 printf("// %s: %s %s", FileCheckPrefix, GetCursorSource(C), cstr); in USRVisitor() 1072 const char *cstr; in print_completion_string() local 1091 cstr = clang_getCString(text); in print_completion_string() 1094 cstr ? cstr : ""); in print_completion_string() 1822 const char *cstr; in index_diagnostic() local 1833 cstr = clang_getCString(str); in index_diagnostic() 1834 printf("[diagnostic]: %s\n", cstr); in index_diagnostic()
|
/external/webkit/Source/WebCore/platform/ |
D | KURLGoogle.cpp | 803 CString cstr = str.utf8(); in decodeURLEscapeSequences() local 805 const char* input = cstr.data(); in decodeURLEscapeSequences() 806 int inputLength = cstr.length(); in decodeURLEscapeSequences()
|
/external/svox/pico/lib/ |
D | picosa.c | 800 picoos_uint8 cstr[PICOBASE_UTF8_MAXLEN + 1]; in saGetNrVowel() local 807 if (!picobase_get_next_utf8char(sInChar, inLen, &pos, cstr) || in saGetNrVowel() 808 !picoktab_hasVowellikeProp(sa->tabgraphs, cstr, PICOBASE_UTF8_MAXLEN)) { in saGetNrVowel() 813 if (!picobase_get_next_utf8char(sInChar, inLen, &nCount, cstr)) { in saGetNrVowel() 816 if (picoktab_hasVowellikeProp(sa->tabgraphs, cstr, in saGetNrVowel()
|