Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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 …]
/frameworks/av/include/media/
DTypeConverter.h89 for (const char *cstr = strtok(literal, del); cstr != NULL; cstr = strtok(NULL, del)) { variable
91 if (utilities::convertTo<std::string, typename Traits::Type >(cstr, value)) {
160 for (const char *cstr = strtok(literal, del); cstr != NULL; cstr = strtok(NULL, del)) { in collectionFromString() local
162 if (fromString(cstr, value)) { in collectionFromString()
174 for (const char *cstr = strtok(literal, del); cstr != NULL; cstr = strtok(NULL, del)) { in maskFromString() local
176 if (fromString(cstr, type)) { in maskFromString()
/frameworks/av/media/libmedia/include/media/
DTypeConverter.h89 for (const char *cstr = strtok(literal, del); cstr != NULL; cstr = strtok(NULL, del)) { variable
91 if (utilities::convertTo<std::string, typename Traits::Type >(cstr, value)) {
160 for (const char *cstr = strtok(literal, del); cstr != NULL; cstr = strtok(NULL, del)) { in collectionFromString() local
162 if (fromString(cstr, value)) { in collectionFromString()
174 for (const char *cstr = strtok(literal, del); cstr != NULL; cstr = strtok(NULL, del)) { in maskFromString() local
176 if (fromString(cstr, type)) { in maskFromString()
/frameworks/base/cmds/incident_helper/src/parsers/
DSystemPropertiesParser.cpp31 char cstr[len + 1]; in convertToFieldName() local
32 strcpy(cstr, name.c_str()); in convertToFieldName()
34 if (!isValidChar(cstr[i])) { in convertToFieldName()
35 cstr[i] = '_'; in convertToFieldName()
38 return string(cstr); in convertToFieldName()
/frameworks/opt/gamesdk/src/tuningfork/
Duploadthread.cpp199 std::istringstream cstr(cpu_freq_file); in GetExtraUploadInfo() local
200 cstr >> freq; in GetExtraUploadInfo()
/frameworks/av/media/codec2/tests/
DC2ComponentInterface_test.cpp40 template <class T> std::unique_ptr<T> alloc_unique_cstr(const char *cstr) { in alloc_unique_cstr() argument
41 size_t len = strlen(cstr); in alloc_unique_cstr()
43 memcpy(ptr->m.value, cstr, len); in alloc_unique_cstr()
/frameworks/base/services/core/jni/BroadcastRadio/
Dconvert.cpp279 auto cstr = env->GetStringUTFChars(jStr.get(), nullptr); in StringFromJava() local
280 std::string str(cstr); in StringFromJava()
281 env->ReleaseStringUTFChars(jStr.get(), cstr); in StringFromJava()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/
Dupb.h655 FUNCS(cstr, cstr, char*, uintptr_t, UPB_CTYPE_CSTR)
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/
Dupb.h866 FUNCS(cstr, cstr, char*, uintptr_t, UPB_CTYPE_CSTR)