HomeSort by relevance Sort by last modified time
    Searched refs:c_str (Results 126 - 150 of 4313) sorted by null

1 2 3 4 56 7 8 91011>>

  /frameworks/base/tools/aapt2/
Locale.cpp 85 set_language(lang.c_str());
98 set_region(part2.c_str());
100 set_script(part2.c_str());
102 set_variant(part2.c_str());
116 set_region(part3.c_str());
118 set_variant(part3.c_str());
129 set_variant(part4.c_str());
152 set_language(subtags[0].c_str());
154 set_language(subtags[0].c_str());
160 set_region(subtags[1].c_str());
    [all...]
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/filebuf.members/
open_pointer.pass.cpp 23 assert(f.open(temp.c_str(), std::ios_base::out) != 0);
29 assert(f.open(temp.c_str(), std::ios_base::in) != 0);
35 std::remove(temp.c_str());
38 assert(f.open(temp.c_str(), std::ios_base::out) != 0);
44 assert(f.open(temp.c_str(), std::ios_base::in) != 0);
50 remove(temp.c_str());
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/input.output/file.streams/fstreams/filebuf.members/
open_pointer.pass.cpp 23 assert(f.open(temp.c_str(), std::ios_base::out) != 0);
29 assert(f.open(temp.c_str(), std::ios_base::in) != 0);
35 std::remove(temp.c_str());
38 assert(f.open(temp.c_str(), std::ios_base::out) != 0);
44 assert(f.open(temp.c_str(), std::ios_base::in) != 0);
50 remove(temp.c_str());
  /system/core/base/
parsenetaddress.cpp 39 *error = StringPrintf("bad IPv6 address '%s'", address.c_str());
60 *error = StringPrintf("no host in '%s'", address.c_str());
65 if (sscanf(port_str.c_str(), "%d", port) != 1 || *port <= 0 ||
67 *error = StringPrintf("bad port number '%s' in '%s'", port_str.c_str(),
68 address.c_str());
75 StringPrintf(ipv6 ? "[%s]:%d" : "%s:%d", host->c_str(), *port);
  /build/kati/
regen.cc 93 FILE* fp = fopen(GetNinjaStampFilename().c_str(), "rb+");
109 GetNinjaFilename().c_str());
114 GetNinjaShellScriptFilename().c_str());
138 FILE* fp = fopen(stamp_filename.c_str(), "rb");
141 printf("%s: %s\n", stamp_filename.c_str(), strerror(errno));
166 fprintf(stderr, "%s was modified, ignored.\n", s.c_str());
172 printf("file %s: ignored (%f)\n", s.c_str(), ts);
176 printf("file %s: dirty (%f)\n", s.c_str(), ts);
178 fprintf(stderr, "%s was modified, regenerating...\n", s.c_str());
181 printf("file %s: clean (%f)\n", s.c_str(), ts)
    [all...]
  /external/google-breakpad/src/testing/gtest/src/
gtest-filepath.cc 120 if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) {
121 return FilePath(String(pathname_.c_str(), pathname_.length() - 4));
130 const char* const last_sep = strrchr(c_str(), kPathSeparator);
132 const char* const last_alt_sep = strrchr(c_str(), kAlternatePathSeparator);
163 dir = String(c_str(), last_sep + 1 - c_str());
182 file = String::Format("%s.%s", base_name.c_str(), extension);
184 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension);
196 return FilePath(String::Format("%s%c%s", dir.c_str(), kPathSeparator,
197 relative_path.c_str()));
    [all...]
  /external/llvm/utils/unittest/googletest/src/
gtest-filepath.cc 118 if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) {
119 return FilePath(String(pathname_.c_str(), pathname_.length() - 4));
128 const char* const last_sep = strrchr(c_str(), kPathSeparator);
130 const char* const last_alt_sep = strrchr(c_str(), kAlternatePathSeparator);
161 dir = String(c_str(), last_sep + 1 - c_str());
180 file = String::Format("%s.%s", base_name.c_str(), extension);
182 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension);
194 return FilePath(String::Format("%s%c%s", dir.c_str(), kPathSeparator,
195 relative_path.c_str()));
    [all...]
  /external/mesa3d/src/gtest/src/
gtest-filepath.cc 120 if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) {
121 return FilePath(String(pathname_.c_str(), pathname_.length() - 4));
130 const char* const last_sep = strrchr(c_str(), kPathSeparator);
132 const char* const last_alt_sep = strrchr(c_str(), kAlternatePathSeparator);
163 dir = String(c_str(), last_sep + 1 - c_str());
182 file = String::Format("%s.%s", base_name.c_str(), extension);
184 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension);
196 return FilePath(String::Format("%s%c%s", dir.c_str(), kPathSeparator,
197 relative_path.c_str()));
    [all...]
  /external/protobuf/gtest/src/
gtest-filepath.cc 120 if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) {
121 return FilePath(String(pathname_.c_str(), pathname_.length() - 4));
130 const char* const last_sep = strrchr(c_str(), kPathSeparator);
132 const char* const last_alt_sep = strrchr(c_str(), kAlternatePathSeparator);
163 dir = String(c_str(), last_sep + 1 - c_str());
182 file = String::Format("%s.%s", base_name.c_str(), extension);
184 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension);
196 return FilePath(String::Format("%s%c%s", dir.c_str(), kPathSeparator,
197 relative_path.c_str()));
    [all...]
  /external/swiftshader/third_party/LLVM/utils/unittest/googletest/
gtest-filepath.cc 120 if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) {
121 return FilePath(String(pathname_.c_str(), pathname_.length() - 4));
130 const char* const last_sep = strrchr(c_str(), kPathSeparator);
132 const char* const last_alt_sep = strrchr(c_str(), kAlternatePathSeparator);
163 dir = String(c_str(), last_sep + 1 - c_str());
182 file = String::Format("%s.%s", base_name.c_str(), extension);
184 file = String::Format("%s_%d.%s", base_name.c_str(), number, extension);
196 return FilePath(String::Format("%s%c%s", dir.c_str(), kPathSeparator,
197 relative_path.c_str()));
    [all...]
  /system/bt/osi/test/
wakelock_test.cc 58 char* buffer = const_cast<char*>(tmp_dir_.c_str());
68 creat(lock_path_.c_str(), S_IRWXU);
69 creat(unlock_path_.c_str(), S_IRWXU);
78 unlink(lock_path_.c_str());
79 unlink(unlock_path_.c_str());
80 rmdir(tmp_dir_.c_str());
91 int lock_fd = open(lock_path_.c_str(), O_RDONLY);
94 int unlock_fd = open(unlock_path_.c_str(), O_RDONLY);
146 wakelock_set_paths(lock_path_.c_str(), unlock_path_.c_str());
    [all...]
  /external/webrtc/webrtc/modules/audio_coding/test/
Tester.cc 39 "acm_allcodecs_trace.txt").c_str());
51 "acm_encodedecode_trace.txt").c_str());
64 "acm_fec_trace.txt").c_str());
78 "acm_isac_trace.txt").c_str());
93 "acm_twowaycom_trace.txt").c_str());
106 "acm_stereo_trace.txt").c_str());
118 "acm_vaddtx_trace.txt").c_str());
126 "acm_opusdtx_trace.txt").c_str());
134 "acm_opus_trace.txt").c_str());
142 "acm_packetloss_trace.txt").c_str());
    [all...]
  /hardware/interfaces/gnss/1.0/default/
GnssConfiguration.cpp 40 mGnssConfigIface->configuration_update(config.c_str(), config.size());
51 mGnssConfigIface->configuration_update(config.c_str(), config.size());
63 mGnssConfigIface->configuration_update(config.c_str(), config.size());
74 mGnssConfigIface->configuration_update(config.c_str(), config.size());
86 mGnssConfigIface->configuration_update(config.c_str(), config.size());
97 mGnssConfigIface->configuration_update(config.c_str(), config.size());
109 mGnssConfigIface->configuration_update(config.c_str(), config.size());
  /bootable/recovery/tests/component/
updater_test.cpp 64 ASSERT_STREQ(expected, result.c_str());
76 SHA1(reinterpret_cast<const uint8_t*>(content.c_str()), content.size(), digest);
90 expect(android::base::GetProperty("ro.product.device", "").c_str(),
94 expect(android::base::GetProperty("ro.build.fingerprint", "").c_str(),
147 expect("t", cmd.c_str(), kNoCause);
155 expect("", cmd.c_str(), kNoCause);
164 expect("t", cmd.c_str(), kNoCause);
168 expect("", cmd.c_str(), kNoCause);
172 expect("t", cmd.c_str(), kNoCause);
176 expect("t", cmd.c_str(), kNoCause)
    [all...]
  /frameworks/av/media/libstagefright/httplive/
M3UParser.cpp 216 const char *lang = item.mLanguage.empty() ? "und" : item.mLanguage.c_str();
493 ALOGV("base:'%s', url:'%s' => '%s'", baseURL, url, out->c_str());
542 ALOGV("base:'%s', url:'%s' => '%s'", baseURL, url, out->c_str());
568 // ALOGI("#%s#", line.c_str());
674 CHECK(MakeURL(mBaseURI.c_str(), line.c_str(), &item->mURI));
713 groupID.c_str());
733 status_t err = ParseInt32(line.c_str() + colonPos + 1, &x);
757 status_t err = ParseDouble(line.c_str() + colonPos + 1, &x);
780 char c = line.c_str()[offset]
    [all...]
  /external/skia/tests/
OSPathTest.cpp 30 SkString fullName = SkOSPath::Join(dir.c_str(), filename.c_str());
40 SkString basename = SkOSPath::Basename(fullName.c_str());
41 SkString dirname = SkOSPath::Dirname(fullName.c_str());
53 SkDebugf("OOUCH %s %s %s\n", dir.c_str(), strippedDir.c_str(), dirname.c_str());
61 basename = SkOSPath::Basename(filename.c_str());
86 SkString baseOfDir = SkOSPath::Basename(dir.c_str());
  /system/netd/server/
VirtualNetwork.cpp 62 add ? "adding" : "removing", uidRanges.toString().c_str(), mNetId, strerror(-ret));
73 if (int ret = RouteController::addUsersToVirtualNetwork(mNetId, interface.c_str(), mSecure,
75 ALOGE("failed to add users on interface %s of netId %u", interface.c_str(), mNetId);
88 if (int ret = RouteController::removeUsersFromVirtualNetwork(mNetId, interface.c_str(),
90 ALOGE("failed to remove users on interface %s of netId %u", interface.c_str(), mNetId);
106 if (int ret = RouteController::addInterfaceToVirtualNetwork(mNetId, interface.c_str(), mSecure,
108 ALOGE("failed to add interface %s to VPN netId %u", interface.c_str(), mNetId);
119 if (int ret = RouteController::removeInterfaceFromVirtualNetwork(mNetId, interface.c_str(),
121 ALOGE("failed to remove interface %s from VPN netId %u", interface.c_str(), mNetId);
  /external/skia/src/gpu/glsl/
GrGLSLShaderBuilder.cpp 35 this->codeAppendf("%s;", tempDecl.c_str());
51 this->functions().appendf(" %s", outName->c_str());
66 out->appendf(".%s", swizzle.c_str());
79 sampler.c_str(), sampler.c_str(), coordName);
82 sampler.c_str(), sampler.c_str(), coordName, coordName);
85 out->appendf("texture(%s, %s)", sampler.c_str(), coordName);
98 this->appendColorGamutXform(lookup.c_str(), colorXformHelper);
114 this->appendColorGamutXform(&xform, lookup.c_str(), colorXformHelper)
    [all...]
  /external/webrtc/webrtc/tools/frame_analyzer/
frame_analyzer.cc 81 int width = strtol((parser.GetFlag("width")).c_str(), NULL, 10);
82 int height = strtol((parser.GetFlag("height")).c_str(), NULL, 10);
91 webrtc::test::RunAnalysis(parser.GetFlag("reference_file").c_str(),
92 parser.GetFlag("test_file").c_str(),
93 parser.GetFlag("stats_file").c_str(), width, height,
  /frameworks/av/services/audiopolicy/engineconfigurable/src/
Stream.cpp 35 ALOGD("%s: Stream %s identifier 0x%X", __FUNCTION__, getName().c_str(), identifier);
54 ALOGD("%s: 0x%X for Stream %s", __FUNCTION__, strategy, getName().c_str());
61 ALOGV("%s: 0x%X for Stream %s", __FUNCTION__, mApplicableStrategy, getName().c_str());
72 ALOGD("%s: 0x%X for Stream %s", __FUNCTION__, mVolumeProfile, getName().c_str());
79 ALOGV("%s: 0x%X for Stream %s", __FUNCTION__, mVolumeProfile, getName().c_str());
  /test/vts/runners/target/vts_hal_hidl_target/
VtsHalHidlTargetTestBase.h 35 ALOGI("[Test Case] %s.%s BEGIN", getTestSuiteName().c_str(),
36 getTestCaseName().c_str());
39 ALOGD("Test case info: %s", testCaseInfo.c_str());
44 ALOGI("[Test Case] %s.%s END", getTestSuiteName().c_str(),
45 getTestCaseName().c_str());
  /system/core/debuggerd/libdebuggerd/test/
tombstone_test.cpp 122 ASSERT_STREQ(expected_dump, tombstone_contents.c_str());
124 ASSERT_STREQ("", amfd_data_.c_str());
127 ASSERT_STREQ("", getFakeLogBuf().c_str());
128 ASSERT_STREQ("", getFakeLogPrint().c_str());
157 ASSERT_STREQ(expected_dump, tombstone_contents.c_str());
159 ASSERT_STREQ("", amfd_data_.c_str());
162 ASSERT_STREQ("", getFakeLogBuf().c_str());
163 ASSERT_STREQ("", getFakeLogPrint().c_str());
198 ASSERT_STREQ(expected_dump, tombstone_contents.c_str());
200 ASSERT_STREQ("", amfd_data_.c_str());
    [all...]
  /external/libcxx/test/std/re/re.submatch/re.submatch.op/
compare.pass.cpp 253 assert((x.c_str() == sm2) == (x == y));
254 assert((x.c_str() != sm2) == (x != y));
255 assert((x.c_str() < sm2) == (x < y));
256 assert((x.c_str() > sm2) == (x > y));
257 assert((x.c_str() <= sm2) == (x <= y));
258 assert((x.c_str() >= sm2) == (x >= y));
259 assert((sm1 == y.c_str()) == (x == y));
260 assert((sm1 != y.c_str()) == (x != y));
261 assert((sm1 < y.c_str()) == (x < y));
262 assert((sm1 > y.c_str()) == (x > y))
    [all...]
  /external/pdfium/core/fpdfdoc/
cpdf_filespec.cpp 59 return ChangeSlashToPlatform(filepath.c_str() + 1);
60 return ChangeSlashToPlatform(filepath.c_str());
64 return ChangeSlashToPlatform(filepath.c_str());
66 return ChangeSlashToPlatform(filepath.c_str() + 1);
71 result += ChangeSlashToPlatform(filepath.c_str() + 2);
76 result += ChangeSlashToPlatform(filepath.c_str());
132 result += ChangeSlashToPDF(filepath.c_str() + 2);
136 return ChangeSlashToPDF(filepath.c_str() + 1);
141 result += ChangeSlashToPDF(filepath.c_str());
144 return ChangeSlashToPDF(filepath.c_str());
    [all...]
  /external/skia/bench/
BenchLogger.h 43 void logError(const SkString& str) { this->nativeLogError(str.c_str()); }
59 this->nativeLogProgress(str.c_str());
60 this->fileWrite(str.c_str(), str.size());

Completed in 1287 milliseconds

1 2 3 4 56 7 8 91011>>