/external/chromium_org/third_party/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 …]
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonInstrFormats.td | 86 string cstr, InstrItinClass itin, IType type> 94 let Constraints = cstr; 200 string cstr = "", InstrItinClass itin = LD_tc_ld_SLOT01> 201 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeLD>; 205 string cstr = ""> 206 : LDInst<outs, ins, asmstr, pattern, cstr>; 209 string cstr = ""> 210 : LDInst<outs, ins, asmstr, pattern, cstr>; 215 string cstr = ""> 216 : LDInst<outs, ins, asmstr, pattern, cstr>; [all …]
|
D | HexagonInstrFormatsV4.td | 32 string cstr = "", InstrItinClass itin = NCJ_tc_3or4stall_SLOT0> 33 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeNV>; 36 string cstr = "", InstrItinClass itin = NCJ_tc_3or4stall_SLOT0> 37 : NVInst<outs, ins, asmstr, pattern, cstr, itin>; 41 string cstr = "", InstrItinClass itin = ST_tc_st_SLOT0> 42 : NVInst<outs, ins, asmstr, pattern, cstr, itin>; 47 string cstr = "", InstrItinClass itin = ST_tc_st_SLOT0> 48 : NVInst<outs, ins, asmstr, pattern, cstr, itin>; 52 string cstr = ""> 53 : NVInst<outs, ins, asmstr, pattern, cstr>; [all …]
|
/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/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()
|
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/pyxelator/ |
D | ir.py | 95 def cstr(self,l=None): member in Node 103 x.cstr(l) 217 def cstr(self,l=None): member in Identifier 246 def cstr(self,l): member in Function 252 _l.append( self[i].cstr() ) 256 self[i].cstr(l) 298 def cstr(self,l): member in Pointer 308 return Node.cstr(self,l) 344 def cstr(self,l): member in Array 349 return Node( *self[:-1] ).cstr( l ) [all …]
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/speech_rules/ |
D | math_simple_store.js | 45 var cstr = 'self::text() = "' + str + '"'; 48 'self::text()', cstr); 151 var cstr = this.subStores_[store].getDynamicConstraintValues(); 152 for (var key in cstr) { 155 newCstr[key] = cvox.MathUtil.union(set, cstr[key]); 157 newCstr[key] = cstr[key];
|
D | math_store.js | 50 name, dynamic, action, query, cstr) { argument 72 cvox.MathStore.prototype.parseDynamicConstraint = function(cstr) { argument 73 var domainStyle = cstr.split('.'); 75 throw new cvox.SpeechRule.OutputError('Invalid domain assignment:' + cstr); 104 name, dynamic, query, cstr) { argument 126 cvox.MathStore.prototype.defineRuleAlias = function(name, query, cstr) { argument 143 cvox.MathStore.prototype.defineRulesAlias = function(name, query, cstr) { argument
|
D | base_rule_store.js | 89 name, dynamic, action, prec, cstr) { argument 360 goog.bind(function(cstr) { argument 361 return this.applyConstraint(node, cstr);}, 402 for (var i = 0, cstr; cstr = cstr1[i]; i++) { 403 if (cstr2.indexOf(cstr) == -1) {
|
/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);
|
/external/llvm/lib/Target/ARM/ |
D | ARMInstrFormats.td | 269 Format f, Domain d, string cstr, InstrItinClass itin> 299 let Constraints = cstr; 316 Format f, Domain d, string cstr, InstrItinClass itin> 317 : InstTemplate<am, sz, im, f, d, cstr, itin>, Encoding { 324 Format f, Domain d, string cstr, InstrItinClass itin> 325 : InstTemplate<am, sz, im, f, d, cstr, itin> { 410 string opc, string asm, string cstr, 412 : InstARM<am, sz, im, f, GenericDomain, cstr, itin> { 425 string opc, string asm, string cstr, 427 : InstARM<am, sz, im, f, GenericDomain, cstr, itin> { [all …]
|
/external/skia/src/core/ |
D | SkData.cpp | 149 SkData* SkData::NewWithCString(const char cstr[]) { in NewWithCString() argument 151 if (NULL == cstr) { in NewWithCString() 152 cstr = ""; in NewWithCString() 155 size = strlen(cstr) + 1; in NewWithCString() 157 return NewWithCopy(cstr, size); in NewWithCString()
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkData.cpp | 192 SkData* SkData::NewWithCString(const char cstr[]) { in NewWithCString() argument 194 if (NULL == cstr) { in NewWithCString() 195 cstr = ""; in NewWithCString() 198 size = strlen(cstr) + 1; in NewWithCString() 200 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/chromium_org/third_party/angle/tests/preprocessor_tests/ |
D | number_test.cpp | 46 const char* cstr = str.c_str(); in TEST_P() local 48 ASSERT_TRUE(mPreprocessor.init(1, &cstr, 0)); in TEST_P() 86 const char* cstr = str.c_str(); in expectFloat() local 87 ASSERT_TRUE(mPreprocessor.init(1, &cstr, 0)); in expectFloat()
|
/external/lldb/source/Utility/ |
D | StringExtractorGDBRemote.h | 29 StringExtractorGDBRemote(const char *cstr) : in StringExtractorGDBRemote() argument 30 StringExtractor (cstr) in StringExtractorGDBRemote()
|