HomeSort by relevance Sort by last modified time
    Searched refs:c_str (Results 1 - 25 of 5892) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/libtextclassifier/util/strings/
numbers.h 28 // c_str should point to a zero-terminated array of chars that contains the
38 bool ParseInt32(const char *c_str, int32 *value);
41 bool ParseInt64(const char *c_str, int64 *value);
44 bool ParseDouble(const char *c_str, double *value);
numbers.cc 27 bool ParseInt32(const char *c_str, int32 *value) {
37 // If there were no digits at all, strtol() sets temp to be c_str (the start
39 *value = strtol(c_str, &temp, 0); // NOLINT
41 // temp != c_str means that the input string contained at least one digit (see
44 return (temp != c_str) && (*temp == '\0');
47 bool ParseInt64(const char *c_str, int64 *value) {
49 *value = strtoll(c_str, &temp, 0); // NOLINT
52 return (temp != c_str) && (*temp == '\0');
55 bool ParseDouble(const char *c_str, double *value) {
57 *value = strtod(c_str, &temp)
    [all...]
  /external/libcxx/test/std/experimental/filesystem/class.path/path.member/path.native.obs/
c_str.pass.cpp 17 // const value_type* c_str() const noexcept;
35 ASSERT_SAME_TYPE(path::value_type const*, decltype(p.c_str()));
36 ASSERT_NOEXCEPT(p.c_str());
40 assert(p.c_str() == str_value);
41 assert(p.native().c_str() == p.c_str());
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/filesystem/class.path/path.member/path.native.obs/
c_str.pass.cpp 17 // const value_type* c_str() const noexcept;
35 ASSERT_SAME_TYPE(path::value_type const*, decltype(p.c_str()));
36 ASSERT_NOEXCEPT(p.c_str());
40 assert(p.c_str() == str_value);
41 assert(p.native().c_str() == p.c_str());
  /external/google-breakpad/src/testing/gtest/test/
gtest-options_test.cc 71 EXPECT_STREQ("", UnitTestOptions::GetOutputFormat().c_str());
76 EXPECT_STREQ("xml", UnitTestOptions::GetOutputFormat().c_str());
81 EXPECT_STREQ(GetAbsolutePathOf(FilePath("test_detail.xml")).c_str(),
82 UnitTestOptions::GetAbsolutePathToOutputFile().c_str());
87 EXPECT_STREQ(GetAbsolutePathOf(FilePath("filename.abc")).c_str(),
88 UnitTestOptions::GetAbsolutePathToOutputFile().c_str());
96 GetCurrentExecutableName().c_str() + ".xml")).c_str();
99 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str());
    [all...]
  /external/protobuf/gtest/test/
gtest-options_test.cc 71 EXPECT_STREQ("", UnitTestOptions::GetOutputFormat().c_str());
76 EXPECT_STREQ("xml", UnitTestOptions::GetOutputFormat().c_str());
81 EXPECT_STREQ(GetAbsolutePathOf(FilePath("test_detail.xml")).c_str(),
82 UnitTestOptions::GetAbsolutePathToOutputFile().c_str());
87 EXPECT_STREQ(GetAbsolutePathOf(FilePath("filename.abc")).c_str(),
88 UnitTestOptions::GetAbsolutePathToOutputFile().c_str());
96 GetCurrentExecutableName().c_str() + ".xml")).c_str();
99 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str());
    [all...]
  /external/webrtc/webrtc/test/testsupport/metrics/
video_metrics_unittest.cc 36 remove(non_existing_file_.c_str()); // To be sure it doesn't exist.
41 FILE* dummy = fopen(empty_file_.c_str(), "wb");
45 remove(empty_file_.c_str());
56 EXPECT_EQ(0, I420PSNRFromFiles(video_file_.c_str(), video_file_.c_str(),
62 EXPECT_EQ(0, I420SSIMFromFiles(video_file_.c_str(), video_file_.c_str(),
68 EXPECT_EQ(0, I420MetricsFromFiles(video_file_.c_str(), video_file_.c_str(),
78 I420PSNRFromFiles(non_existing_file_.c_str(),
    [all...]
  /external/libcxx/test/libcxx/input.output/file.streams/fstreams/ofstream.cons/
wchar_pointer.pass.cpp 26 std::ofstream fs(temp.c_str());
30 std::ifstream fs(temp.c_str());
36 std::ifstream fs(temp.c_str(), std::ios_base::out);
41 _wremove(temp.c_str());
43 std::wofstream fs(temp.c_str());
47 std::wifstream fs(temp.c_str());
53 std::wifstream fs(temp.c_str(), std::ios_base::out);
58 _wremove(temp.c_str());
  /external/libcxx/test/std/input.output/file.streams/fstreams/ofstream.cons/
pointer.pass.cpp 25 std::ofstream fs(temp.c_str());
29 std::ifstream fs(temp.c_str());
35 std::ifstream fs(temp.c_str(), std::ios_base::out);
40 std::remove(temp.c_str());
42 std::wofstream fs(temp.c_str());
46 std::wifstream fs(temp.c_str());
52 std::wifstream fs(temp.c_str(), std::ios_base::out);
57 std::remove(temp.c_str());
move.pass.cpp 27 std::ofstream fso(temp.c_str());
32 std::ifstream fs(temp.c_str());
37 std::remove(temp.c_str());
39 std::wofstream fso(temp.c_str());
44 std::wifstream fs(temp.c_str());
49 std::remove(temp.c_str());
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/input.output/file.streams/fstreams/ofstream.cons/
pointer.pass.cpp 25 std::ofstream fs(temp.c_str());
29 std::ifstream fs(temp.c_str());
35 std::ifstream fs(temp.c_str(), std::ios_base::out);
40 std::remove(temp.c_str());
42 std::wofstream fs(temp.c_str());
46 std::wifstream fs(temp.c_str());
52 std::wifstream fs(temp.c_str(), std::ios_base::out);
57 std::remove(temp.c_str());
move.pass.cpp 27 std::ofstream fso(temp.c_str());
32 std::ifstream fs(temp.c_str());
37 std::remove(temp.c_str());
39 std::wofstream fso(temp.c_str());
44 std::wifstream fs(temp.c_str());
49 std::remove(temp.c_str());
  /art/test/647-jni-get-field-id/
get_field_id.cc 29 if (name_chars.c_str() == nullptr) {
33 if (signature_chars.c_str() == nullptr) {
36 jfieldID field_id = env->GetFieldID(cls, name_chars.c_str(), signature_chars.c_str());
  /external/libchrome/base/test/
scoped_locale.cc 15 EXPECT_TRUE(setlocale(LC_ALL, locale.c_str()) != NULL) <<
20 EXPECT_STREQ(prev_locale_.c_str(), setlocale(LC_ALL, prev_locale_.c_str()));
  /external/google-breakpad/src/tools/windows/converter/
ms_symbol_server_converter.cc 75 if (SSCANF(identifier.c_str(),
89 if (SSCANF(identifier.c_str(), "%08X%x", &signature_, &age_) != 2) {
196 error, path_.c_str());
204 int error = remove(path_.c_str());
229 debug_or_code_file.c_str(),
230 debug_or_code_id.c_str(),
231 version.c_str());
238 const_cast<char *>(symbol_path_.c_str()),
242 debug_or_code_file.c_str(),
243 debug_or_code_id.c_str(),
    [all...]
  /external/libcxx/test/libcxx/input.output/file.streams/fstreams/ofstream.members/
open_wchar_pointer.pass.cpp 31 fs.open(temp.c_str());
36 std::ifstream fs(temp.c_str());
41 _wremove(temp.c_str());
48 fs.open(temp.c_str());
53 std::wifstream fs(temp.c_str());
58 _wremove(temp.c_str());
  /external/libcxx/test/std/input.output/file.streams/fstreams/ofstream.assign/
move_assign.pass.cpp 27 std::ofstream fso(temp.c_str());
33 std::ifstream fs(temp.c_str());
38 std::remove(temp.c_str());
40 std::wofstream fso(temp.c_str());
46 std::wifstream fs(temp.c_str());
51 std::remove(temp.c_str());
  /external/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/
open_pointer.pass.cpp 30 fs.open(temp.c_str());
35 std::ifstream fs(temp.c_str());
40 std::remove(temp.c_str());
47 fs.open(temp.c_str());
52 std::wifstream fs(temp.c_str());
57 std::remove(temp.c_str());
  /hardware/libhardware/modules/sensors/dynamic_sensor/
BaseDynamicSensorDaemon.cpp 29 ALOGV("device %s is connected", deviceKey.c_str());
33 ALOGI("no valid sensor is defined in device %s, ignore", deviceKey.c_str());
43 ALOGV("device %s is registered", deviceKey.c_str());
47 ALOGD("device %s already added and is connected again, ignore", deviceKey.c_str());
50 ALOGV("device %s is disconnected", deviceKey.c_str());
59 ALOGV("device %s is unregistered", deviceKey.c_str());
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/input.output/file.streams/fstreams/ofstream.assign/
move_assign.pass.cpp 27 std::ofstream fso(temp.c_str());
33 std::ifstream fs(temp.c_str());
38 std::remove(temp.c_str());
40 std::wofstream fso(temp.c_str());
46 std::wifstream fs(temp.c_str());
51 std::remove(temp.c_str());
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/input.output/file.streams/fstreams/ofstream.members/
open_pointer.pass.cpp 30 fs.open(temp.c_str());
35 std::ifstream fs(temp.c_str());
40 std::remove(temp.c_str());
47 fs.open(temp.c_str());
52 std::wifstream fs(temp.c_str());
57 std::remove(temp.c_str());
  /bionic/libc/malloc_debug/tests/
malloc_debug_config_tests.cpp 148 ASSERT_STREQ("", getFakeLogBuf().c_str());
150 ASSERT_STREQ((log_msg + usage_string).c_str(), getFakeLogPrint().c_str());
156 ASSERT_STREQ("", getFakeLogBuf().c_str());
158 ASSERT_STREQ((log_msg + usage_string).c_str(), getFakeLogPrint().c_str());
164 ASSERT_STREQ("", getFakeLogBuf().c_str());
166 ASSERT_STREQ((log_msg + usage_string).c_str(), getFakeLogPrint().c_str());
172 ASSERT_STREQ("", getFakeLogBuf().c_str());
    [all...]
  /bionic/libc/private/
FdPath.h 25 const char* c_str() { function in class:FdPath
  /build/kati/
log.h 40 fprintf(stderr, "*kati*: %s\n", StringPrintf(args).c_str()); \
47 fprintf(stderr, "*kati*: %s\n", StringPrintf(args).c_str()); \
52 fprintf(stderr, "%s: %s\n", StringPrintf(__VA_ARGS__).c_str(), \
64 fprintf(stderr, "%s\n", StringPrintf(__VA_ARGS__).c_str()); \
70 fprintf(stderr, "%s\n", StringPrintf(__VA_ARGS__).c_str()); \
76 fprintf(stderr, "%s\n", StringPrintf(__VA_ARGS__).c_str()); \
93 ColorWarnLog(LOCF(loc), StringPrintf(__VA_ARGS__).c_str()); \
99 ColorWarnLog(LOCF(loc), StringPrintf(__VA_ARGS__).c_str()); \
104 ColorErrorLog(LOCF(loc), StringPrintf(__VA_ARGS__).c_str()); \
  /external/flatbuffers/samples/
sample_text.cpp 40 ok = parser.Parse(schemafile.c_str(), include_directories) &&
41 parser.Parse(jsonfile.c_str(), include_directories);
55 printf("%s----------------\n%s", jsongen.c_str(), jsonfile.c_str());

Completed in 225 milliseconds

1 2 3 4 5 6 7 8 91011>>