Home
last modified time | relevance | path

Searched refs:cstr (Results 1 – 25 of 85) sorted by relevance

1234

/external/protobuf/src/google/protobuf/stubs/
Dstringprintf.cc150 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 …]
Dcommon_unittest.cc249 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/
DHexagonInstrFormatsV60.td43 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 …]
DHexagonInstrFormats.td80 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 …]
DHexagonInstrFormatsV4.td43 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/
DClientCommon.c46 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/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMInstrFormats.td241 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonInstrFormats.td50 string cstr, InstrItinClass itin, IType type>
58 let Constraints = cstr;
201 string cstr = "", InstrItinClass itin = LD_tc_ld_SLOT01>
202 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeLD>, OpcodeHexagon;
205 string cstr = "", InstrItinClass itin = LD_tc_ld_SLOT01>
206 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeLD>, OpcodeHexagon;
213 string cstr = "", InstrItinClass itin = ST_tc_st_SLOT01>
214 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeST>, OpcodeHexagon;
218 string cstr = "", InstrItinClass itin = tc_ENDLOOP>
219 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeENDLOOP>,
[all …]
DHexagonInstrFormatsV65.td25 list<dag> pattern = [], string cstr = "",
27 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeCVI_VA>;
30 list<dag> pattern = [], string cstr = "",
32 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeCVI_GATHER>;
DHexagonInstrFormatsV60.td19 list<dag> pattern = [], string cstr = "",
21 : InstHexagon<outs, ins, asmstr, pattern, cstr, itin, TypeCVI_VA>,
/external/llvm/lib/Target/ARM/
DARMInstrFormats.td289 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMInstrFormats.td301 Format f, Domain d, string cstr, InstrItinClass itin>
331 let Constraints = cstr;
348 Format f, Domain d, string cstr, InstrItinClass itin>
349 : InstTemplate<am, sz, im, f, d, cstr, itin>, Encoding {
356 Format f, Domain d, string cstr, InstrItinClass itin>
357 : InstTemplate<am, sz, im, f, d, cstr, itin> {
450 string opc, string asm, string cstr,
452 : InstARM<am, sz, im, f, GenericDomain, cstr, itin> {
465 string opc, string asm, string cstr,
467 : InstARM<am, sz, im, f, GenericDomain, cstr, itin> {
[all …]
/external/tensorflow/tensorflow/python/platform/
Dbase.i26 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/
Darch_reader.go54 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/skqp/src/core/
DSkData.cpp179 sk_sp<SkData> SkData::MakeWithCString(const char cstr[]) { in MakeWithCString() argument
181 if (nullptr == cstr) { in MakeWithCString()
182 cstr = ""; in MakeWithCString()
185 size = strlen(cstr) + 1; in MakeWithCString()
187 return MakeWithCopy(cstr, size); in MakeWithCString()
/external/skia/src/core/
DSkData.cpp179 sk_sp<SkData> SkData::MakeWithCString(const char cstr[]) { in MakeWithCString() argument
181 if (nullptr == cstr) { in MakeWithCString()
182 cstr = ""; in MakeWithCString()
185 size = strlen(cstr) + 1; in MakeWithCString()
187 return MakeWithCopy(cstr, size); in MakeWithCString()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/
Drdtsc_buckets_shared.h147 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/v8/src/base/
Dlogging.cc77 void PrintCheckOperand<type*>(std::ostream & os, type * cstr) { \
78 os << static_cast<void*>(cstr); \
81 void PrintCheckOperand<const type*>(std::ostream & os, const type* cstr) { \
82 os << static_cast<const void*>(cstr); \
/external/perfetto/include/perfetto/base/
Dstring_view.h53 StringView(const char* cstr) : data_(cstr), size_(strlen(cstr)) { in StringView() argument
54 PERFETTO_DCHECK(cstr != nullptr); in StringView()
/external/perfetto/src/trace_processor/
Dnull_term_string_view.h38 NullTermStringView(const char* cstr) : StringView(cstr) {} in NullTermStringView() argument
/external/strace/tests-mx32/
Dfsync-y.c44 const char *cstr; in main() member
58 perror_msg_and_fail("open(%s)", checks[i].cstr); in main()
/external/strace/tests/
Dfsync-y.c44 const char *cstr; in main() member
58 perror_msg_and_fail("open(%s)", checks[i].cstr); in main()
/external/strace/tests-m32/
Dfsync-y.c44 const char *cstr; in main() member
58 perror_msg_and_fail("open(%s)", checks[i].cstr); in main()
/external/icu/icu4c/source/common/
Duenum.cpp96 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/
DDWARFFormValue.h30 const char* cstr; member
55 return Value.data != NULL && Value.data == (uint8_t*)Value.cstr; in isInlinedCStr()

1234