Home
last modified time | relevance | path

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

123

/external/protobuf/src/google/protobuf/stubs/
Dstringprintf.cc151 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 …]
Dcommon_unittest.cc248 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/
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 …]
DClientCommon.h41 extern const char *GetNextLabel(const char *cstr, char label[64]);
/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/tcpdump/
Dprint-ahcp.c44 static const char cstr[] = "(corrupt)"; variable
122 ND_PRINT((ndo, ": %s", cstr)); in ahcp_time_print()
140 ND_PRINT((ndo, ": %s", cstr)); in ahcp_seconds_print()
168 ND_PRINT((ndo, ": %s", cstr)); in ahcp_ipv6_addresses_print()
192 ND_PRINT((ndo, ": %s", cstr)); in ahcp_ipv4_addresses_print()
220 ND_PRINT((ndo, ": %s", cstr)); in ahcp_ipv6_prefixes_print()
244 ND_PRINT((ndo, ": %s", cstr)); in ahcp_ipv4_prefixes_print()
305 ND_PRINT((ndo, " %s", cstr)); in ahcp1_options_print()
350 ND_PRINT((ndo, " %s", cstr)); in ahcp1_body_print()
416 ND_PRINT((ndo, " %s", cstr)); in ahcp_print()
Dprint-aoe.c45 static const char cstr[] = " (corrupt)"; variable
201 ND_PRINT((ndo, "%s", cstr)); in aoev1_issue_print()
250 ND_PRINT((ndo, "%s", cstr)); in aoev1_query_print()
301 ND_PRINT((ndo, "%s", cstr)); in aoev1_mac_print()
336 ND_PRINT((ndo, "%s", cstr)); in aoev1_reserve_print()
394 ND_PRINT((ndo, "%s", cstr)); in aoev1_print()
426 ND_PRINT((ndo, "%s", cstr)); in aoe_print()
Dprint-loopback.c46 static const char cstr[] = " (corrupt)"; variable
101 ND_PRINT((ndo, "%s", cstr)); in loopback_message_print()
130 ND_PRINT((ndo, "%s", cstr)); in loopback_print()
Dprint-m3ua.c36 static const char cstr[] = " (corrupt)"; variable
233 ND_PRINT((ndo, "%s", cstr)); in tag_value_print()
281 ND_PRINT((ndo, "%s", cstr)); in m3ua_tags_print()
333 ND_PRINT((ndo, "%s", cstr)); in m3ua_print()
Dprint-openflow.c46 static const char cstr[] = " (corrupt)"; variable
124 ND_PRINT((ndo, "%s", cstr)); in of_header_body_print()
Dprint-openflow-1.0.c76 static const char cstr[] = " (corrupt)"; variable
952 ND_PRINT((ndo, "%s", cstr)); in of10_bsn_message_print()
1026 ND_PRINT((ndo, "%s", cstr)); in of10_bsn_actions_print()
1055 ND_PRINT((ndo, "%s", cstr)); in of10_vendor_action_print()
1084 ND_PRINT((ndo, "%s", cstr)); in of10_vendor_message_print()
1110 ND_PRINT((ndo, "%s", cstr)); in of10_vendor_data_print()
1207 ND_PRINT((ndo, "%s", cstr)); in of10_phy_ports_print()
1283 ND_PRINT((ndo, "%s", cstr)); in of10_queue_props_print()
1331 ND_PRINT((ndo, "%s", cstr)); in of10_queues_print()
1602 ND_PRINT((ndo, "%s", cstr)); in of10_actions_print()
[all …]
/external/llvm/lib/Target/ARM/
DARMInstrFormats.td279 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/
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/skia/src/core/
DSkData.cpp174 SkData* SkData::NewWithCString(const char cstr[]) { in NewWithCString() argument
176 if (nullptr == cstr) { in NewWithCString()
177 cstr = ""; in NewWithCString()
180 size = strlen(cstr) + 1; in NewWithCString()
182 return NewWithCopy(cstr, size); in NewWithCString()
/external/icu/icu4c/source/common/
Duenum.c94 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/include/llvm/DebugInfo/DWARF/
DDWARFFormValue.h46 const char* cstr; member
70 return Value.data != nullptr && Value.data == (const uint8_t*)Value.cstr; in isInlinedCStr()
/external/libmicrohttpd/src/examples/
Dpost_example.c247 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/
Dsessions.c269 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/skia/experimental/SkV8Example/
DJsContext.cpp101 const char* cstr = to_cstring(str); in onDraw() local
102 printf("%s\n", cstr); in onDraw()
/external/v8/src/wasm/
Dwasm-module.cc335 const char* cstr = GetName(func.name_offset); in Instantiate() local
336 Handle<String> name = factory->InternalizeUtf8String(cstr); in Instantiate()
351 cstr); in Instantiate()
355 thrower.Error("FFI function #%d:%s not found.", index, cstr); in Instantiate()
367 thrower.Error("Compilation of #%d:%s failed.", index, cstr); in Instantiate()
/external/icu/icu4c/source/test/cintltst/
Dcnumtst.c2031 const char *cstr; in TestNoExponent() local
2044 cstr = "10E6"; in TestNoExponent()
2045 u_uastrcpy(str, cstr); in TestNoExponent()
2051 …e failed with %s for %s (Are you missing data?)\n", __FILE__, __LINE__, u_errorName(status), cstr); in TestNoExponent()
2053 …led, got %d expected %d for '%s'(Are you missing data?)\n", __FILE__, __LINE__, num, expect, cstr); in TestNoExponent()
2055 log_verbose("%s:%d: unum_parse returned %d for '%s'\n", __FILE__, __LINE__, num, cstr); in TestNoExponent()
2069 …ld have returned 10, not 10000000 on %s after UNUM_PARSE_NO_EXPONENT\n", __FILE__, __LINE__, cstr); in TestNoExponent()
2071 log_verbose("%s:%d: unum_parse gave %d for %s - good.\n", __FILE__, __LINE__, num, cstr); in TestNoExponent()
2085 cstr = "10E6"; in TestNoExponent()
2086 u_uastrcpy(str, cstr); in TestNoExponent()
[all …]
/external/mdnsresponder/mDNSCore/
DDNSCommon.c481 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/v8/samples/
Dshell.cc161 const char* cstr = ToCString(str); in Print() local
162 printf("%s", cstr); in Print()
375 const char* cstr = ToCString(str); in ExecuteString() local
376 printf("%s\n", cstr); in ExecuteString()

123