Searched defs:cstr (Results 1 - 25 of 31) sorted by relevance

12

/external/mdnsresponder/Clients/
H A DClientCommon.c46 const char *GetNextLabel(const char *cstr, char label[64]) argument
49 while (*cstr && *cstr != '.') // While we have characters in the label...
51 char c = *cstr++;
52 if (c == '\\' && *cstr) // If we have a backslash, and it's not the last character of the string
54 c = *cstr++;
55 if (isdigit(cstr[-1]) && isdigit(cstr[0]) && isdigit(cstr[1]))
57 int v0 = cstr[
[all...]
/external/icu/icu4c/source/common/
H A Duenum.cpp96 const char *cstr = en->next(en, &len, status); local
97 if (cstr != NULL) {
102 u_charsToUChars(cstr, ustr, len+1);
/external/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFFormValue.h46 const char* cstr; member in union:llvm::DWARFFormValue::ValueType::__anon13617
70 return Value.data != nullptr && Value.data == (const uint8_t*)Value.cstr;
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/
H A Drdtsc_buckets_shared.h147 char cstr[256]; local
150 fread(cstr, length, 1, f);
151 cstr[length] = 0;
152 string.assign(cstr);
/external/protobuf/src/google/protobuf/stubs/
H A Dstringprintf.cc150 const char* cstr[kStringPrintfVectorMaxArgs]; local
152 cstr[i] = v[i].c_str();
154 for (int i = v.size(); i < GOOGLE_ARRAYSIZE(cstr); ++i) {
155 cstr[i] = &string_printf_empty_block[0];
165 cstr[0], cstr[1], cstr[2], cstr[3], cstr[4],
166 cstr[
[all...]
H A Dcommon_unittest.cc249 const char* cstr = "hello"; local
250 Closure* closure = NewCallback(&SetABFunction, 789, cstr);
252 EXPECT_NE(cstr, b_);
255 EXPECT_EQ(cstr, b_);
259 const char* cstr = "hello"; local
261 &ClosureTest::SetABMethod, 789, cstr);
263 EXPECT_NE(cstr, b_);
266 EXPECT_EQ(cstr, b_);
318 const char* cstr = "hello"; local
319 Closure* closure = NewPermanentCallback(&SetABFunction, 789, cstr);
334 const char* cstr = "hello"; local
[all...]
/external/swiftshader/third_party/LLVM/lib/DebugInfo/
H A DDWARFFormValue.h30 const char* cstr; member in union:llvm::DWARFFormValue::ValueType::__anon22714
55 return Value.data != NULL && Value.data == (uint8_t*)Value.cstr;
/external/Microsoft-GSL/tests/
H A Dspan_tests.cpp669 const std::string cstr = "hello"; variable
682 span<char> s{cstr};
684 span<const char> cs{cstr};
685 CHECK((cs.size() == narrow_cast<std::ptrdiff_t>(cstr.size()) &&
686 cs.data() == cstr.data()));
H A Dmulti_span_tests.cpp568 const std::string cstr = "hello"; variable
581 multi_span<char> s{cstr};
583 multi_span<const char> cs{cstr};
584 CHECK((cs.size() == narrow_cast<std::ptrdiff_t>(cstr.size()) &&
585 cs.data() == cstr.data()));
1205 const string cstr; variable
1206 multi_span<const char> cstrspan = as_multi_span(cstr);
/external/libchrome/base/trace_event/
H A Dmemory_usage_estimator.h261 const uint8_t* cstr = reinterpret_cast<const uint8_t*>(string.c_str()); local
263 if (cstr >= inline_cstr && cstr < inline_cstr + sizeof(string)) {
/external/v8/samples/
H A Dshell.cc151 const char* cstr = ToCString(str); local
152 printf("%s", cstr);
365 const char* cstr = ToCString(str); local
366 printf("%s\n", cstr);
/external/webrtc/webrtc/libjingle/xmllite/
H A Dxmlelement.h71 explicit XmlText(const char* cstr, size_t len) : argument
73 text_(cstr, len) {
H A Dxmlelement.cc376 void XmlElement::AddParsedText(const char* cstr, int len) { argument
381 last_child_->AsText()->AddParsedText(cstr, len);
385 last_child_ = *pprev = new XmlText(cstr, len);
/external/libmicrohttpd/doc/examples/
H A Dsessions.c269 char cstr[256]; local
270 snprintf (cstr,
271 sizeof (cstr),
278 cstr))
/external/libmicrohttpd/src/examples/
H A Dpost_example.c247 char cstr[256]; local
248 snprintf (cstr,
249 sizeof (cstr),
256 cstr))
/external/icu/icu4c/source/test/intltest/
H A Dnumberformattesttuple.cpp78 CharString cstr; local
79 cstr.appendInvariantChars(str, status);
84 if (uprv_strcmp(cstr.data(), table[i].str) == 0) {
H A Dplurults.cpp68 const char *cstr() {return buf;}; function in class:US
429 // std::cout << " uk " << US(resultKeyword).cstr() << " " << values[j] << std::endl;
433 __FILE__, __LINE__, locales[i].getName(), US(*keyword).cstr(), values[j], values[j], US(resultKeyword).cstr());
652 __FILE__, line, num, keyword, US(actualKeyword).cstr());
/external/boringssl/src/crypto/x509v3/
H A Dv3_utl.c993 ASN1_STRING *cstr; local
999 cstr = gen->d.rfc822Name;
1001 cstr = gen->d.dNSName;
1003 cstr = gen->d.iPAddress;
1005 if ((rv = do_check_string(cstr, alt_type, equal, flags,
/external/curl/packages/OS400/
H A Dccsidcurl.c82 unsigned int cstr)
90 *** If `cstr' is non-zero, conversion is set up to stop whenever a
99 if(cstr)
81 iconv_open_CCSID(unsigned int ccsidout, unsigned int ccsidin, unsigned int cstr) argument
/external/jsoncpp/src/lib_json/
H A Djson_value.cpp169 Value::CZString::CZString(const char* cstr, DuplicationPolicy allocate) argument
170 : cstr_(allocate == duplicate ? duplicateStringValue(cstr) : cstr),
/external/python/cpython3/Modules/
H A D_json.c921 PyObject *cstr; local
924 cstr = PyUnicode_InternFromString(constant);
925 if (cstr == NULL)
929 rval = PyObject_CallFunctionObjArgs(s->parse_constant, cstr, NULL);
930 idx += PyUnicode_GET_LENGTH(cstr);
931 Py_DECREF(cstr);
1501 PyObject *cstr = _encoded_const(obj); local
1502 if (cstr == NULL)
1504 return _steal_accumulate(acc, cstr);
/external/clang/test/SemaCXX/
H A Dtypo-correction.cpp82 another_str *cstr = new AnotherStr; // expected-error{{unknown type name 'AnotherStr'; did you mean 'another_str'?}} variable
/external/python/cpython2/Modules/
H A D_json.c1283 PyObject *cstr; local
1286 cstr = PyString_InternFromString(constant);
1287 if (cstr == NULL)
1291 rval = PyObject_CallFunctionObjArgs(s->parse_constant, cstr, NULL);
1292 idx += PyString_GET_SIZE(cstr);
1293 Py_DECREF(cstr);
2017 PyObject *cstr = _encoded_const(obj); local
2018 if (cstr == NULL)
2020 return _steal_list_append(rval, cstr);
/external/sfntly/cpp/src/test/tinyxml/
H A Dtinyxml.h1008 const char* cstr = Attribute( name ); local
1009 if ( cstr ) {
1010 *_value = std::string( cstr );
/external/valgrind/coregrind/m_debuginfo/
H A Dreadelf.c831 HChar* cstr = ML_(img_strdup)(escn_strtab->img, local
834 disym.pri_name = ML_(addStr) ( di, cstr, -1 );
840 if (cstr) { ML_(dinfo_free)(cstr); cstr = NULL; }
1068 HChar* cstr = ML_(img_strdup)(escn_strtab->img, local
1073 disym.pri_name = ML_(addStr) ( di, cstr, -1 );
1079 if (cstr) { ML_(dinfo_free)(cstr); cstr
[all...]

Completed in 1021 milliseconds

12