/external/protobuf/src/google/protobuf/stubs/ |
D | stringprintf.cc | 150 const char* cstr[kStringPrintfVectorMaxArgs]; in StringPrintfVector() local 152 cstr[i] = v[i].c_str(); in StringPrintfVector() 154 for (int i = v.size(); i < GOOGLE_ARRAYSIZE(cstr); ++i) { in StringPrintfVector() 155 cstr[i] = &string_printf_empty_block[0]; in StringPrintfVector() 165 cstr[0], cstr[1], cstr[2], cstr[3], cstr[4], in StringPrintfVector() 166 cstr[5], cstr[6], cstr[7], cstr[8], cstr[9], in StringPrintfVector() 167 cstr[10], cstr[11], cstr[12], cstr[13], cstr[14], in StringPrintfVector() 168 cstr[15], cstr[16], cstr[17], cstr[18], cstr[19], in StringPrintfVector() 169 cstr[20], cstr[21], cstr[22], cstr[23], cstr[24], in StringPrintfVector() 170 cstr[25], cstr[26], cstr[27], cstr[28], cstr[29], in StringPrintfVector() [all …]
|
D | common_unittest.cc | 249 const char* cstr = "hello"; in TEST_F() local 250 Closure* closure = NewCallback(&SetABFunction, 789, cstr); in TEST_F() 252 EXPECT_NE(cstr, b_); in TEST_F() 255 EXPECT_EQ(cstr, b_); in TEST_F() 259 const char* cstr = "hello"; in TEST_F() local 261 &ClosureTest::SetABMethod, 789, cstr); in TEST_F() 263 EXPECT_NE(cstr, b_); in TEST_F() 266 EXPECT_EQ(cstr, b_); in TEST_F() 318 const char* cstr = "hello"; in TEST_F() local 319 Closure* closure = NewPermanentCallback(&SetABFunction, 789, cstr); in TEST_F() [all …]
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonInstrFormatsV60.td | 43 list<dag> pattern = [], string cstr = "", 45 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeCVI_VA>, 49 list<dag> pattern = [], string cstr = "", 51 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeCVI_VA_DV>, 55 list<dag> pattern = [], string cstr = "", 57 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeCVI_VX>, 61 list<dag> pattern = [], string cstr = "", 63 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeCVI_VX>, 67 list<dag> pattern = [], string cstr = "", 69 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeCVI_VX>, [all …]
|
D | HexagonInstrFormats.td | 80 string cstr, InstrItinClass itin, IType type> 88 let Constraints = cstr; 211 string cstr = "", InstrItinClass itin = LD_tc_ld_SLOT01> 212 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeLD>, OpcodeHexagon; 216 string cstr = ""> 217 : LDInst<outs, ins, asmstr, pattern, cstr>; 220 string cstr = ""> 221 : LDInst<outs, ins, asmstr, pattern, cstr>; 226 string cstr = ""> 227 : LDInst<outs, ins, asmstr, pattern, cstr>; [all …]
|
D | HexagonInstrFormatsV4.td | 43 string cstr = ""> 52 let Constraints = cstr; 109 string cstr = "", InstrItinClass itin = NCJ_tc_3or4stall_SLOT0> 110 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeNV>, OpcodeHexagon; 113 string cstr = "", InstrItinClass itin = NCJ_tc_3or4stall_SLOT0> 114 : NVInst<outs, ins, asmstr, pattern, cstr, itin>; 118 string cstr = "", InstrItinClass itin = ST_tc_st_SLOT0> 119 : NVInst<outs, ins, asmstr, pattern, cstr, itin>; 124 string cstr = "", InstrItinClass itin = ST_tc_st_SLOT0> 125 : NVInst<outs, ins, asmstr, pattern, cstr, itin>; [all …]
|
/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/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMInstrFormats.td | 241 Format f, Domain d, string cstr, InstrItinClass itin> 271 let Constraints = cstr; 280 Format f, Domain d, string cstr, InstrItinClass itin> 281 : InstTemplate<am, sz, im, f, d, cstr, itin>, Encoding { 288 Format f, Domain d, string cstr, InstrItinClass itin> 289 : InstTemplate<am, sz, im, f, d, cstr, itin> { 348 string opc, string asm, string cstr, 350 : InstARM<am, sz, im, f, GenericDomain, cstr, itin> { 363 string opc, string asm, string cstr, 365 : InstARM<am, sz, im, f, GenericDomain, cstr, itin> { [all …]
|
/external/llvm/lib/Target/ARM/ |
D | ARMInstrFormats.td | 289 Format f, Domain d, string cstr, InstrItinClass itin> 319 let Constraints = cstr; 336 Format f, Domain d, string cstr, InstrItinClass itin> 337 : InstTemplate<am, sz, im, f, d, cstr, itin>, Encoding { 344 Format f, Domain d, string cstr, InstrItinClass itin> 345 : InstTemplate<am, sz, im, f, d, cstr, itin> { 430 string opc, string asm, string cstr, 432 : InstARM<am, sz, im, f, GenericDomain, cstr, itin> { 445 string opc, string asm, string cstr, 447 : InstARM<am, sz, im, f, GenericDomain, cstr, itin> { [all …]
|
/external/tensorflow/tensorflow/python/platform/ |
D | base.i | 26 bool _PyObjAs(PyObject *pystr, T* cstr) { in _PyObjAs() argument 39 bool _PyObjAs(PyObject *pystr, ::string* cstr) { in _PyObjAs() argument 43 if (cstr) cstr->assign(buf, len); in _PyObjAs() 48 bool _PyObjAs(PyObject *pystr, std::string* cstr) { in _PyObjAs() argument 52 if (cstr) cstr->assign(buf, len); in _PyObjAs()
|
/external/google-breakpad/src/tools/mac/upload_system_symbols/ |
D | arch_reader.go | 54 cstr := C.GetNXArchInfoName(C.cpu_type_t(header.Cpu), C.cpu_subtype_t(header.SubCpu)) 55 if cstr == nil { 58 return C.GoString(cstr)
|
/external/skia/src/core/ |
D | SkData.cpp | 174 sk_sp<SkData> SkData::MakeWithCString(const char cstr[]) { in MakeWithCString() argument 176 if (nullptr == cstr) { in MakeWithCString() 177 cstr = ""; in MakeWithCString() 180 size = strlen(cstr) + 1; in MakeWithCString() 182 return MakeWithCopy(cstr, size); in MakeWithCString()
|
/external/skqp/src/core/ |
D | SkData.cpp | 174 sk_sp<SkData> SkData::MakeWithCString(const char cstr[]) { in MakeWithCString() argument 176 if (nullptr == cstr) { in MakeWithCString() 177 cstr = ""; in MakeWithCString() 180 size = strlen(cstr) + 1; in MakeWithCString() 182 return MakeWithCopy(cstr, size); in MakeWithCString()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/ |
D | rdtsc_buckets_shared.h | 147 char cstr[256]; in Deserialize() local 150 fread(cstr, length, 1, f); in Deserialize() 151 cstr[length] = 0; in Deserialize() 152 string.assign(cstr); in Deserialize()
|
/external/icu/icu4c/source/common/ |
D | uenum.cpp | 96 const char *cstr = en->next(en, &len, status); in uenum_unextDefault() local 97 if (cstr != NULL) { in uenum_unextDefault() 102 u_charsToUChars(cstr, ustr, len+1); in uenum_unextDefault()
|
/external/swiftshader/third_party/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/llvm/include/llvm/DebugInfo/DWARF/ |
D | DWARFFormValue.h | 46 const char* cstr; member 70 return Value.data != nullptr && Value.data == (const uint8_t*)Value.cstr; in isInlinedCStr()
|
/external/libmicrohttpd/src/examples/ |
D | post_example.c | 247 char cstr[256]; in add_session_cookie() local 248 snprintf (cstr, in add_session_cookie() 249 sizeof (cstr), in add_session_cookie() 256 cstr)) in add_session_cookie()
|
/external/libmicrohttpd/doc/examples/ |
D | sessions.c | 269 char cstr[256]; in add_session_cookie() local 270 snprintf (cstr, in add_session_cookie() 271 sizeof (cstr), in add_session_cookie() 278 cstr)) in add_session_cookie()
|
/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/tensorflow/tensorflow/go/ |
D | graph.go | 240 cstr := C.CString(value) 241 C.TF_SetAttrString(cdesc, cAttrName, unsafe.Pointer(cstr), C.size_t(len(value))) 242 C.free(unsafe.Pointer(cstr))
|
/external/v8/samples/ |
D | shell.cc | 151 const char* cstr = ToCString(str); in Print() local 152 printf("%s", cstr); in Print() 365 const char* cstr = ToCString(str); in ExecuteString() local 366 printf("%s\n", cstr); in ExecuteString()
|
/external/icu/icu4c/source/test/cintltst/ |
D | cnumtst.c | 2083 const char *cstr; in TestNoExponent() local 2096 cstr = "10E6"; in TestNoExponent() 2097 u_uastrcpy(str, cstr); in TestNoExponent() 2103 …e failed with %s for %s (Are you missing data?)\n", __FILE__, __LINE__, u_errorName(status), cstr); in TestNoExponent() 2105 …led, got %d expected %d for '%s'(Are you missing data?)\n", __FILE__, __LINE__, num, expect, cstr); in TestNoExponent() 2107 log_verbose("%s:%d: unum_parse returned %d for '%s'\n", __FILE__, __LINE__, num, cstr); in TestNoExponent() 2121 …ld have returned 10, not 10000000 on %s after UNUM_PARSE_NO_EXPONENT\n", __FILE__, __LINE__, cstr); in TestNoExponent() 2123 log_verbose("%s:%d: unum_parse gave %d for %s - good.\n", __FILE__, __LINE__, num, cstr); in TestNoExponent() 2137 cstr = "10E6"; in TestNoExponent() 2138 u_uastrcpy(str, cstr); in TestNoExponent() [all …]
|
/external/valgrind/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 …]
|