/external/protobuf/src/google/protobuf/stubs/ |
D | stringprintf.cc | 151 const char* cstr[kStringPrintfVectorMaxArgs]; in StringPrintfVector() local 153 cstr[i] = v[i].c_str(); in StringPrintfVector() 155 for (int i = v.size(); i < GOOGLE_ARRAYSIZE(cstr); ++i) { in StringPrintfVector() 156 cstr[i] = &string_printf_empty_block[0]; in StringPrintfVector() 166 cstr[0], cstr[1], cstr[2], cstr[3], cstr[4], in StringPrintfVector() 167 cstr[5], cstr[6], cstr[7], cstr[8], cstr[9], in StringPrintfVector() 168 cstr[10], cstr[11], cstr[12], cstr[13], cstr[14], in StringPrintfVector() 169 cstr[15], cstr[16], cstr[17], cstr[18], cstr[19], in StringPrintfVector() 170 cstr[20], cstr[21], cstr[22], cstr[23], cstr[24], in StringPrintfVector() 171 cstr[25], cstr[26], cstr[27], cstr[28], cstr[29], in StringPrintfVector() [all …]
|
D | common_unittest.cc | 248 const char* cstr = "hello"; in TEST_F() local 249 Closure* closure = NewCallback(&SetABFunction, 789, cstr); in TEST_F() 251 EXPECT_NE(cstr, b_); in TEST_F() 254 EXPECT_EQ(cstr, b_); in TEST_F() 258 const char* cstr = "hello"; in TEST_F() local 260 &ClosureTest::SetABMethod, 789, cstr); in TEST_F() 262 EXPECT_NE(cstr, b_); in TEST_F() 265 EXPECT_EQ(cstr, b_); in TEST_F() 317 const char* cstr = "hello"; in TEST_F() local 318 Closure* closure = NewPermanentCallback(&SetABFunction, 789, cstr); in TEST_F() [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 …]
|
/external/lldb/source/Core/ |
D | ConstString.cpp | 82 GetConstCString (const char *cstr) in GetConstCString() argument 84 if (cstr) in GetConstCString() 85 return GetConstCStringWithLength (cstr, strlen (cstr)); in GetConstCString() 90 GetConstCStringWithLength (const char *cstr, size_t cstr_len) in GetConstCStringWithLength() argument 92 if (cstr) in GetConstCStringWithLength() 95 llvm::StringRef string_ref (cstr, cstr_len); in GetConstCStringWithLength() 135 GetConstTrimmedCStringWithLength (const char *cstr, size_t cstr_len) in GetConstTrimmedCStringWithLength() argument 137 if (cstr) in GetConstTrimmedCStringWithLength() 139 const size_t trimmed_len = std::min<size_t> (strlen (cstr), cstr_len); in GetConstTrimmedCStringWithLength() 140 return GetConstCStringWithLength (cstr, trimmed_len); in GetConstTrimmedCStringWithLength() [all …]
|
D | Event.cpp | 111 EventDataBytes::EventDataBytes (const char *cstr) : in EventDataBytes() argument 114 SetBytesFromCString (cstr); in EventDataBytes() 180 EventDataBytes::SetBytesFromCString (const char *cstr) in SetBytesFromCString() argument 182 if (cstr && cstr[0]) in SetBytesFromCString() 183 m_bytes.assign (cstr); in SetBytesFromCString()
|
D | Debugger.cpp | 1548 const char *cstr = NULL; in FormatPromptRecurse() local 1953 cstr = thread->GetName(); in FormatPromptRecurse() 1954 var_success = cstr && cstr[0]; in FormatPromptRecurse() 1956 s.PutCString(cstr); in FormatPromptRecurse() 1960 cstr = thread->GetQueueName(); in FormatPromptRecurse() 1961 var_success = cstr && cstr[0]; in FormatPromptRecurse() 1963 s.PutCString(cstr); in FormatPromptRecurse() 1970 cstr = stop_info_sp->GetDescription(); in FormatPromptRecurse() 1971 if (cstr && cstr[0]) in FormatPromptRecurse() 1973 s.PutCString(cstr); in FormatPromptRecurse() [all …]
|
D | UUID.cpp | 221 UUID::SetFromCString (const char *cstr, uint32_t num_uuid_bytes) in SetFromCString() argument 223 if (cstr == NULL) in SetFromCString() 226 const char *p = cstr; in SetFromCString() 237 return p - cstr; in SetFromCString()
|
D | DataEncoder.cpp | 330 DataEncoder::PutCString (uint32_t offset, const char *cstr) in PutCString() argument 332 if (cstr) in PutCString() 333 return PutData (offset, cstr, strlen(cstr) + 1); in PutCString()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonInstrFormats.td | 78 string cstr, InstrItinClass itin, IType type> 86 let Constraints = cstr; 199 string cstr = "", InstrItinClass itin = LD_tc_ld_SLOT01> 200 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeLD>, OpcodeHexagon; 204 string cstr = ""> 205 : LDInst<outs, ins, asmstr, pattern, cstr>; 208 string cstr = ""> 209 : LDInst<outs, ins, asmstr, pattern, cstr>; 214 string cstr = ""> 215 : LDInst<outs, ins, asmstr, pattern, cstr>; [all …]
|
D | HexagonInstrFormatsV4.td | 45 string cstr = ""> 54 let Constraints = cstr; 111 string cstr = "", InstrItinClass itin = NCJ_tc_3or4stall_SLOT0> 112 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeNV>, OpcodeHexagon; 115 string cstr = "", InstrItinClass itin = NCJ_tc_3or4stall_SLOT0> 116 : NVInst<outs, ins, asmstr, pattern, cstr, itin>; 120 string cstr = "", InstrItinClass itin = ST_tc_st_SLOT0> 121 : NVInst<outs, ins, asmstr, pattern, cstr, itin>; 126 string cstr = "", InstrItinClass itin = ST_tc_st_SLOT0> 127 : NVInst<outs, ins, asmstr, pattern, cstr, itin>; [all …]
|
/external/lldb/source/Plugins/SymbolFile/DWARF/ |
D | DWARFDebugMacinfoEntry.cpp | 22 m_op2.cstr = NULL; in DWARFDebugMacinfoEntry() 41 return m_op2.cstr; in GetCString() 56 s->Printf(" line:%u #define %s\n", (uint32_t)m_line, m_op2.cstr); in Dump() 60 s->Printf(" line:%u #undef %s\n", (uint32_t)m_line, m_op2.cstr); in Dump() 64 s->Printf(" line:%u str: '%s'\n", (uint32_t)m_line, m_op2.cstr); in Dump() 100 m_op2.cstr = mac_info_data.GetCStr(offset_ptr); in Extract() 117 m_op2.cstr = NULL; in Extract() 122 m_op2.cstr = mac_info_data.GetCStr(offset_ptr); in Extract()
|
D | NameToDIE.cpp | 72 const char *cstr = m_map.GetCStringAtIndex(i); in Dump() local 73 s->Printf("%p: {0x%8.8x} \"%s\"\n", cstr, m_map.GetValueAtIndexUnchecked(i), cstr); in Dump()
|
/external/lldb/source/Host/freebsd/ |
D | Host.cpp | 159 char cstr[PATH_MAX]; in GetOSBuildString() local 160 size_t cstr_len = sizeof(cstr); in GetOSBuildString() 161 if (::sysctl (mib, 2, cstr, &cstr_len, NULL, 0) == 0) in GetOSBuildString() 163 s.assign (cstr, cstr_len); in GetOSBuildString() 174 char cstr[PATH_MAX]; in GetOSKernelDescription() local 175 size_t cstr_len = sizeof(cstr); in GetOSKernelDescription() 176 if (::sysctl (mib, 2, cstr, &cstr_len, NULL, 0) == 0) in GetOSKernelDescription() 178 s.assign (cstr, cstr_len); in GetOSKernelDescription() 198 const char *cstr; in GetFreeBSDProcessArgs() local 200 cstr = data.GetCStr (&offset); in GetFreeBSDProcessArgs() [all …]
|
/external/lldb/source/API/ |
D | SBFunction.cpp | 61 const char *cstr = NULL; in GetName() local 63 cstr = m_opaque_ptr->GetMangled().GetName().AsCString(); in GetName() 68 if (cstr) in GetName() 69 log->Printf ("SBFunction(%p)::GetName () => \"%s\"", m_opaque_ptr, cstr); in GetName() 73 return cstr; in GetName() 79 const char *cstr = NULL; in GetMangledName() local 81 cstr = m_opaque_ptr->GetMangled().GetMangledName().AsCString(); in GetMangledName() 85 if (cstr) in GetMangledName() 86 log->Printf ("SBFunction(%p)::GetMangledName () => \"%s\"", m_opaque_ptr, cstr); in GetMangledName() 90 return cstr; in GetMangledName()
|
D | SBValue.cpp | 400 const char *cstr = NULL; in GetValue() local 405 cstr = value_sp->GetValueAsCString (); in GetValue() 409 if (cstr) in GetValue() 410 log->Printf ("SBValue(%p)::GetValue() => \"%s\"", value_sp.get(), cstr); in GetValue() 415 return cstr; in GetValue() 449 const char *cstr = NULL; in GetObjectDescription() local 454 cstr = value_sp->GetObjectDescription (); in GetObjectDescription() 458 if (cstr) in GetObjectDescription() 459 log->Printf ("SBValue(%p)::GetObjectDescription() => \"%s\"", value_sp.get(), cstr); in GetObjectDescription() 463 return cstr; in GetObjectDescription() [all …]
|
/external/lldb/include/lldb/Core/ |
D | ConstString.h | 75 explicit ConstString (const char *cstr); 100 explicit ConstString (const char *cstr, size_t max_cstr_len); 378 SetCString (const char *cstr); 447 SetCStringWithLength (const char *cstr, size_t cstr_len); 457 SetTrimmedCStringWithLength (const char *cstr, size_t fixed_cstr_len);
|
D | UniqueCStringMap.h | 45 Entry (const char *cstr) : in Entry() 46 cstring(cstr), in Entry() 51 Entry (const char *cstr, const T&v) : in Entry() 52 cstring(cstr), in Entry()
|
D | Stream.h | 211 operator<< (const char *cstr); 397 PutCString (const char *cstr); 542 QuotedCString (const char *cstr, const char *format = "\"%s\"");
|
/external/llvm/lib/Target/ARM/ |
D | ARMInstrFormats.td | 279 Format f, Domain d, string cstr, InstrItinClass itin> 309 let Constraints = cstr; 326 Format f, Domain d, string cstr, InstrItinClass itin> 327 : InstTemplate<am, sz, im, f, d, cstr, itin>, Encoding { 334 Format f, Domain d, string cstr, InstrItinClass itin> 335 : InstTemplate<am, sz, im, f, d, cstr, itin> { 420 string opc, string asm, string cstr, 422 : InstARM<am, sz, im, f, GenericDomain, cstr, itin> { 435 string opc, string asm, string cstr, 437 : InstARM<am, sz, im, f, GenericDomain, cstr, itin> { [all …]
|
/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 | 172 SkData* SkData::NewWithCString(const char cstr[]) { in NewWithCString() argument 174 if (NULL == cstr) { in NewWithCString() 175 cstr = ""; in NewWithCString() 178 size = strlen(cstr) + 1; in NewWithCString() 180 return NewWithCopy(cstr, size); in NewWithCString()
|
/external/lldb/source/Host/macosx/cfcpp/ |
D | CFCString.cpp | 42 CFCString::CFCString (const char *cstr, CFStringEncoding cstr_encoding) : in CFCString() argument 45 if (cstr && cstr[0]) in CFCString() 47 reset(::CFStringCreateWithCString(kCFAllocatorDefault, cstr, cstr_encoding)); in CFCString()
|
/external/lldb/tools/debugserver/source/MacOSX/ |
D | CFString.cpp | 46 CFString::CFString (const char *cstr, CFStringEncoding cstr_encoding) : in CFString() argument 49 if (cstr && cstr[0]) in CFString() 51 reset(::CFStringCreateWithCString(kCFAllocatorDefault, cstr, cstr_encoding)); in CFString()
|
/external/lldb/source/Utility/ |
D | StringExtractorGDBRemote.h | 29 StringExtractorGDBRemote(const char *cstr) : in StringExtractorGDBRemote() argument 30 StringExtractor (cstr) in StringExtractorGDBRemote()
|
/external/icu/icu4c/source/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()
|