/frameworks/base/tools/aapt2/util/ |
Files.cpp | 91 return _mkdir(path.toString().c_str()); 93 return mkdir(path.toString().c_str(), S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP); 226 const char* tokenStr = token.c_str(); 253 ignore = strncasecmp(tokenStr, filename.c_str() + filenameLen - n, n) == 0; 257 ignore = strncasecmp(tokenStr, filename.c_str(), n - 1) == 0; 259 ignore = strcasecmp(tokenStr, filename.c_str()) == 0;
|
/ndk/sources/third_party/googletest/googletest/test/ |
gtest_stress_test.cc | 79 TestPropertyKeyIs matches_key(IdToKey(id, suffix).c_str()); 84 EXPECT_STREQ(IdToString(id).c_str(), property->value()); 106 Test::RecordProperty(IdToKey(id, "string").c_str(), IdToString(id).c_str()); 107 Test::RecordProperty(IdToKey(id, "int").c_str(), id); 108 Test::RecordProperty("shared_key", IdToString(id).c_str());
|
/system/bt/service/common/bluetooth/binder/ |
IBluetoothGattServerCallback.cpp | 186 data.writeCString(device_address.c_str()); 206 data.writeCString(device_address.c_str()); 227 data.writeCString(device_address.c_str()); 250 data.writeCString(device_address.c_str()); 271 data.writeCString(device_address.c_str()); 288 data.writeCString(device_address.c_str());
|
/system/update_engine/common/ |
test_utils.h | 74 return system(cmd.c_str()); 78 return symlink(oldpath.c_str(), newpath.c_str()); 82 return chmod(path.c_str(), mode); 86 return mkdir(path.c_str(), mode); 90 return chdir(path.c_str());
|
/toolchain/binutils/binutils-2.25/gold/ |
dirsearch.cc | 238 workqueue->queue(new Dir_cache_task(p->name().c_str(), this->token_)); 258 Dir_cache* pdc = caches->lookup(p->name().c_str()); 273 p->name().c_str(), (*n).c_str()); 292 if (stat(extra_name.c_str(), &buf) == 0) 299 if (stat(full_name.c_str(), &buf) == 0)
|
/art/runtime/gc/space/ |
image_space.cc | 132 arg_vector.push_back(compiler_options[i].c_str()); 153 if (OS::FileExists(system_image_filename.c_str())) { 171 if (!GetDalvikCacheFilename(image_location, dalvik_cache.c_str(), cache_filename, &error_msg)) { 175 *has_cache = OS::FileExists(cache_filename->c_str()); 264 if (!ReadSpecificImageHeader(system_filename.c_str(), sys_hdr.get())) { 266 image_location, system_filename.c_str()); 269 if (!ReadSpecificImageHeader(cache_filename.c_str(), cache_hdr.get())) { 271 image_location, cache_filename.c_str()); 286 return ReadSpecificImageHeader(cache_filename.c_str(), error_msg); 292 std::unique_ptr<ImageHeader> system(ReadSpecificImageHeader(system_filename.c_str(), [all...] |
/external/deqp/modules/gles31/functional/ |
es31fTextureFormatTests.cpp | 222 return compareImages(log, (string("LayerFace" + de::toString(layerFaceNdx))).c_str(), (string("Layer-face " + de::toString(layerFaceNdx))).c_str(), referenceFrame, renderedFrame, threshold); 430 unsizedGroup->addChild(new TextureCubeArrayFormatCase (m_testCtx, m_context.getRenderContext(), m_context.getContextInfo(), (nameBase + "_cube_array_pot").c_str(), (descriptionBase + ", GL_TEXTURE_CUBE_MAP_ARRAY").c_str(), format, dataType, 64, 12)); 431 unsizedGroup->addChild(new TextureCubeArrayFormatCase (m_testCtx, m_context.getRenderContext(), m_context.getContextInfo(), (nameBase + "_cube_array_npot").c_str(), (descriptionBase + ", GL_TEXTURE_CUBE_MAP_ARRAY").c_str(), format, dataType, 64, 12)); 511 sizedCubeArrayGroup->addChild(new TextureCubeArrayFormatCase (m_testCtx, m_context.getRenderContext(), m_context.getContextInfo(), (nameBase + "_pot").c_str(), (descriptionBase + ", GL_TEXTURE_CUBE_MAP_ARRAY").c_str(), internalFormat, 64, 12)); 512 sizedCubeArrayGroup->addChild(new TextureCubeArrayFormatCase (m_testCtx, m_context.getRenderContext(), m_context.getContextInfo(), (nameBase + "_npot").c_str(), (descriptionBase + ", GL_TEXTURE_CUBE_MAP_ARRAY").c_str(), internalFormat, 64, 12)) [all...] |
/external/google-breakpad/src/common/mac/ |
macho_reader.cc | 69 " nor a Mach-O object file\n", filename_.c_str()); 74 filename_.c_str()); 79 " to contain\n", filename_.c_str()); 157 fprintf(stderr, "%s: file is not a Mach-O object file\n", filename_.c_str()); 166 filename_.c_str(), cpu_type, cpu_subtype, 172 filename_.c_str()); 177 " given in Mach-O header\n", filename_.c_str()); 184 filename_.c_str(), claimed, i); 192 filename_.c_str(), i, type); 198 filename_.c_str(), name.c_str()) [all...] |
/libcore/luni/src/main/native/ |
libcore_io_Posix.cpp | 481 if (interfaceName.c_str() == NULL) { 485 strncpy(req.ifr_name, interfaceName.c_str(), sizeof(req.ifr_name)); 667 if (path.c_str() == NULL) { 671 int rc = isLstat ? TEMP_FAILURE_RETRY(lstat(path.c_str(), &sb)) 672 : TEMP_FAILURE_RETRY(stat(path.c_str(), &sb)); 747 if (path.c_str() == NULL) { 750 int rc = TEMP_FAILURE_RETRY(access(path.c_str(), mode)); 777 if (path.c_str() == NULL) { [all...] |
/system/core/adb/ |
usb_windows.cpp | 224 android::base::SystemErrorCodeToString(GetLastError()).c_str()); 235 android::base::SystemErrorCodeToString(GetLastError()).c_str()); 242 android::base::SystemErrorCodeToString(GetLastError()).c_str()); 286 android::base::SystemErrorCodeToString(GetLastError()).c_str()); 297 android::base::SystemErrorCodeToString(GetLastError()).c_str()); 308 android::base::SystemErrorCodeToString(GetLastError()).c_str()); 320 android::base::SystemErrorCodeToString(GetLastError()).c_str()); 336 android::base::SystemErrorCodeToString(GetLastError()).c_str()); 371 android::base::SystemErrorCodeToString(GetLastError()).c_str()); 395 android::base::SystemErrorCodeToString(GetLastError()).c_str()); [all...] |
/system/extras/simpleperf/ |
cmd_report.cpp | 170 return strcmp(sample1.map->dso->Path().c_str(), sample2.map->dso->Path().c_str()); 198 return strcmp(sample1.branch_from.map->dso->Path().c_str(), 199 sample2.branch_from.map->dso->Path().c_str()); 415 if (!android::base::ParseInt(s.c_str(), &id, 0)) { 668 report_fp_ = fopen(report_filename_.c_str(), "w"); 698 fprintf(report_fp_, "Cmdline: %s\n", record_cmdline_.c_str()); 701 event_type_name.c_str()); 720 fprintf(report_fp_, "%-*s ", static_cast<int>(item->Width()), item->Name().c_str()); 722 fprintf(report_fp_, "%s\n", item->Name().c_str()); [all...] |
/system/vold/ |
Ext4Crypt.cpp | 166 add_key("logon", ref.c_str(), (void*)&ext4_key, sizeof(ext4_key), device_keyring); 178 return StringPrintf("%s/de/%d", user_key_dir.c_str(), user_id); 182 return StringPrintf("%s/ce/%d", user_key_dir.c_str(), user_id); 187 auto dirp = std::unique_ptr<DIR, int (*)(DIR*)>(opendir(directory_path.c_str()), closedir); 226 auto const candidate = StringPrintf("%s/cx%010u", directory_path.c_str(), i); 247 if (rename(to_fix.c_str(), current_path.c_str()) != 0) { 285 if (fs_prepare_dir(dir.c_str(), mode, uid, gid) != 0) { 294 if (rmdir(dir.c_str()) != 0 && errno != ENOENT) { 311 return access(path.c_str(), F_OK) == 0 [all...] |
/development/host/windows/usb/api/ |
adb_interface.cpp | 52 wcscpy(reinterpret_cast<wchar_t*>(buffer), interface_name().c_str());
59 interface_name().c_str(),
|
/external/bsdiff/ |
test_utils.h | 39 const char* c_str() const { return filename_.c_str(); } function in class:test_utils::ScopedTempFile
|
/external/ceres-solver/internal/ceres/ |
wall_time.cc | 68 logger_name.c_str()); 90 event_name.c_str(),
|
/external/chromium-libpac/src/ |
proxy_resolver_js_bindings.cc | 66 struct hostent* he = gethostbyname(host.c_str()); 83 struct hostent* he = gethostbyname(host.c_str());
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
asan-symbolize-sanity-test.cc | 26 printf("opening %s ... \n", path.c_str()); 27 void *lib = dlopen(path.c_str(), RTLD_NOW);
|
shared-lib-test.cc | 24 printf("opening %s ... \n", path.c_str()); 25 void *lib = dlopen(path.c_str(), RTLD_NOW);
|
/external/dbus-binding-generator/chromeos-dbus-bindings/ |
name_parser.cc | 20 text->AddLine(base::StringPrintf("namespace %s {", name.c_str())); 24 text->AddLine(base::StringPrintf("} // namespace %s", name.c_str()));
|
/external/deqp/executor/ |
xeBatchExecutor.cpp | 49 if (batchResult->hasTestCaseResult(fullPath.c_str())) 51 ConstTestCaseResultPtr data = batchResult->getTestCaseResult(fullPath.c_str()); 188 XE_FAIL((string("CommLink error: '") + stateStr + "'").c_str()); 347 m_commLink->startTestProcess(m_config.binaryName.c_str(), m_config.cmdLineArgs.c_str(), m_config.workingDir.c_str(), caseList.str().c_str()); 396 executor->onStateChanged(state, message.c_str());
|
/external/deqp/modules/gles2/stress/ |
es2sVertexArrayTests.cpp | 109 addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), name.c_str())); 178 addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), name.c_str())); 249 addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), name.c_str())); 317 addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), name.c_str()));
|
/external/deqp/modules/glshared/ |
glsAttributeLocationTests.cpp | 426 const char* const vertexShaderString = vertexShaderSource.c_str(); 427 const char* const fragmentShaderString = fragmentShaderSource.c_str(); 478 gl.bindAttribLocation(program, iter->getLocation(), iter->getAttributeName().c_str()); 610 const deInt32 location = gl.getAttribLocation(program, attrib.getName().c_str()); 808 : TestCase (testCtx, generateTestName(type, arraySize).c_str(), generateTestName(type, arraySize).c_str()) 833 : TestCase (testCtx, generateTestName(type, arraySize).c_str(), generateTestName(type, arraySize).c_str()) 868 : TestCase (testCtx, ("cond_" + generateTestName(type, arraySize) + (offset != 0 ? "_offset_" + de::toString(offset) : "")).c_str(), 869 ("cond_" + generateTestName(type, arraySize) + (offset != 0 ? "_offset_" + de::toString(offset) : "")).c_str()) [all...] |
/external/eigen/bench/btl/generic_bench/utils/ |
xy_file.hh | 32 std::ifstream input_file (filename.c_str(),std::ios::in); 66 ofstream outfile (filename.c_str(),ios::out) ;
|
/external/google-breakpad/src/common/ |
dwarf_cfi_to_module.cc | 273 file_.c_str(), section_.c_str(), offset, reg); 282 file_.c_str(), section_.c_str(), offset, reg.c_str()); 292 file_.c_str(), section_.c_str(), offset, reg.c_str());
|
/external/google-breakpad/src/common/windows/ |
http_upload.cc | 92 if (!InternetCrackUrl(url.c_str(), static_cast<DWORD>(url.size()), 141 content_type_header.c_str(), 334 file.open(filename.c_str(), ios::binary); 336 ifstream file(WideToMBCP(filename, CP_ACP).c_str(), ios::binary); 365 int charcount = MultiByteToWideChar(CP_UTF8, 0, utf8.c_str(), -1, NULL, 0); 373 MultiByteToWideChar(CP_UTF8, 0, utf8.c_str(), -1, buf, charcount); 386 int charcount = WideCharToMultiByte(cp, 0, wide.c_str(), -1, 394 WideCharToMultiByte(cp, 0, wide.c_str(), -1, buf, charcount,
|