/system/extras/perfprofd/tests/ |
perfprofd_test.cc | 62 dest_dir.c_str(), seq); 93 system(cmd.c_str()); 97 system(cmd.c_str()); 126 if (dump) { fprintf(stderr, "raw %s is %s\n", tag, str.c_str()); } 134 if (dump) { fprintf(stderr, "squeezed %s is %s\n", tag, result.c_str()); } 165 unlink(semaphore.c_str()); 172 close(open(semaphore.c_str(), O_WRONLY|O_CREAT)); 178 FILE *fp = fopen(processed.c_str(), "w"); 188 unlink(processed.c_str()); 194 argv[2] = config_path_.c_str(); [all...] |
/system/tools/aidl/ |
type_namespace.cpp | 106 filename.c_str(), raw_type.GetLine(), 107 raw_type.ToString().c_str()) 119 filename.c_str(), a.GetLine(), a.GetName().c_str(), arg_index); 133 a.GetType().ToString().c_str()); 141 a.ToString().c_str()); 146 if (is_java_keyword(a.GetName().c_str())) {
|
/system/vold/ |
PrivateVolume.cpp | 49 mRawDevPath = StringPrintf("/dev/block/vold/%s", getId().c_str()); 69 cryptfs_revert_ext_volume(getId().c_str()); 75 int res = cryptfs_setup_ext_volume(getId().c_str(), mRawDevPath.c_str(), 87 if (cryptfs_revert_ext_volume(getId().c_str())) { 99 mPath = StringPrintf("/mnt/expand/%s", mFsUuid.c_str()); 168 if (TEMP_FAILURE_RETRY(rmdir(mPath.c_str()))) {
|
/art/compiler/optimizing/ |
side_effects_test.cc | 205 SideEffects::None().ToString().c_str()); 208 SideEffects::All().ToString().c_str()); 211 SideEffects::AllWrites().ToString().c_str()); 214 SideEffects::AllReads().ToString().c_str()); 217 SideEffects::FieldWriteOfType(Primitive::kPrimNot, false).ToString().c_str()); 220 SideEffects::ArrayWriteOfType(Primitive::kPrimBoolean).ToString().c_str()); 223 SideEffects::FieldReadOfType(Primitive::kPrimByte, false).ToString().c_str()); 226 SideEffects::ArrayReadOfType(Primitive::kPrimDouble).ToString().c_str()); 236 s.ToString().c_str());
|
/external/opencv3/3rdparty/openexr/IlmImf/ |
ImfChannelList.cpp | 87 insert (name.c_str(), channel); 118 return this->operator[] (name.c_str()); 125 return this->operator[] (name.c_str()); 148 return findChannel (name.c_str()); 155 return findChannel (name.c_str()); 204 return find (name.c_str()); 211 return find (name.c_str()); 289 return channelsWithPrefix (prefix.c_str(), first, last); 298 return channelsWithPrefix (prefix.c_str(), first, last);
|
/external/webrtc/webrtc/base/ |
json.cc | 51 const char* c_str = in.asCString(); local 54 val = strtol(c_str, &end_ptr, 10); // NOLINT 55 ret = (end_ptr != c_str && *end_ptr == '\0' && !errno && 71 const char* c_str = in.asCString(); local 74 val = strtoul(c_str, &end_ptr, 10); // NOLINT 75 ret = (end_ptr != c_str && *end_ptr == '\0' && !errno && 112 const char* c_str = in.asCString(); local 115 val = strtod(c_str, &end_ptr); 116 ret = (end_ptr != c_str && *end_ptr == '\0' && !errno);
|
httprequest.cc | 56 client_(user_agent.c_str(), NULL), 74 factory.UseSSL(host_.c_str()); 112 response_redirect_ = value.c_str();
|
/prebuilts/misc/common/swig/include/2.0.11/allegrocl/ |
std_string.i | 42 charT *c_str() const; 92 %typemap(out) string "$result = (char *)(&$1)->c_str();"; 98 %typemap(out) const string * "$result = (char *)($1)->c_str();"; 104 %typemap(out) wstring "$result = (wchar_t *)(&$1)->c_str();"; 111 %typemap(out) const wstring * "$result = (char *)($1)->c_str();"; 159 // caml_list_append(swig_result,caml_val_string_len((*$1).c_str(), 169 // $result = caml_val_string_len($1.c_str(),$1.size()); 173 // $result = caml_val_string_len((*$1).c_str(),(*$1).size()); 185 // out[i] = (char *)str_v[i].c_str();
|
/system/core/adb/ |
file_sync_client.cpp | 110 Error("connect failed: %s", error.c_str()); 491 if (!sc.SendSmallFile(path_and_mode.c_str(), lpath, rpath, mtime, buf, data_length)) { 509 if (!sc.SendSmallFile(path_and_mode.c_str(), lpath, rpath, mtime, 514 if (!sc.SendLargeFile(path_and_mode.c_str(), lpath, rpath, mtime)) { 603 std::unique_ptr<DIR, int (*)(DIR*)> dir(opendir(lpath.c_str()), closedir); 605 sc.Error("cannot open '%s': %s", lpath.c_str(), strerror(errno)); 620 if (lstat(stat_path.c_str(), &st) == -1) { 621 sc.Error("cannot lstat '%s': %s", stat_path.c_str(), 631 sc.Warning("skipping special file '%s' (mode = 0o%o)", lpath.c_str(), st.st_mode); 648 sc.Warning("skipping empty directory '%s'", lpath.c_str()); [all...] |
bugreport.cpp | 79 fprintf(stderr, "\t%s\n", line.c_str()); 96 destination = android::base::StringPrintf("%s%c%s", dest_dir_.c_str(), 97 OS_PATH_SEPARATOR, dest_file_.c_str()); 99 std::vector<const char*> srcs{src_file_.c_str()}; 102 br_->DoSyncPull(srcs, destination.c_str(), true, line_message_.c_str()) ? 0 : 1; 108 destination.c_str(), src_file_.c_str()); 200 bugz_output.c_str(), bugz_version.c_str()); [all...] |
/art/cmdline/ |
cmdline.h | 47 std::string system_filename(GetSystemImageFilename(location.c_str(), isa)); 48 if (OS::FileExists(system_filename.c_str())) { 67 if (GetDalvikCacheFilename(location.c_str(), dalvik_cache.c_str(), 99 options.push_back(std::make_pair(boot_image_option.c_str(), nullptr)); 154 const char* filename = output_name_.c_str(); 170 fprintf(stderr, "%s\n", error_msg.c_str()); 182 fprintf(stderr, "%s\n", error_msg.c_str()); 258 if (GetInstructionSetFromString(parent_dir_name.c_str()) != kNone) { 268 file_name.c_str()); [all...] |
/build/tools/atree/ |
atree.cpp | 193 printf("-f \"%s\"\n", it->c_str()); 197 printf("-I \"%s\"\n", it->c_str()); 199 printf("-o \"%s\"\n", g_outputBase.c_str()); 274 debug_printf("deleting %s\n", it->c_str()); 288 debug_printf("remove %s\n", it->outPath.c_str()); 300 debug_printf("mkdir %s\n", it->c_str()); 316 it->sourcePath.c_str(), it->sourceMod, 317 it->outPath.c_str(), it->outMod); 330 debug_printf("strip %s\n", it->outPath.c_str()); 341 FILE *f = fopen(g_dependency.c_str(), "w") [all...] |
/development/host/windows/usb/api/ |
adb_api_private_defines.h | 39 Set(proto.device_name().c_str(), proto.class_id(), proto.flags());
55 Set(proto.device_name().c_str(), proto.class_id(), proto.flags());
82 wcscpy(info->device_name, device_name().c_str());
|
/external/libbrillo/brillo/ |
syslog_logging.cc | 65 str = message.c_str(); 67 str = message.c_str() + message_start; 106 openlog(s_ident.c_str(), log_pid ? LOG_PID : 0, LOG_USER);
|
/external/libcxx/test/std/re/re.submatch/re.submatch.op/ |
compare.pass.cpp | 252 assert((x.c_str() == sm2) == (x == y)); 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((sm1 == y.c_str()) == (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)) [all...] |
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ |
com.badlogic.gdx.controllers.desktop.ois.Ois.cpp | 38 env->SetObjectArrayElement(names, index++, env->NewStringUTF(i->second.c_str()));
62 return env->NewStringUTF(inputManager->getVersionName().c_str());
73 return env->NewStringUTF(inputManager->inputSystemName().c_str());
|
/external/libweave/src/ |
utils.cc | 47 LimitString(json_string, kMaxStrLen).c_str(), 48 json_string.size(), error_message.c_str()); 55 LimitString(json_string, kMaxStrLen).c_str());
|
/external/opencv3/modules/ml/test/ |
test_save_load.cpp | 68 save( fname1.c_str() ); 69 load( fname1.c_str() ); 72 save( fname2.c_str() ); 85 FILE *fs1 = fopen(fname1.c_str(), "rb"), *fs2 = fopen(fname2.c_str(), "rb"); 112 testCaseIdx, fname1.c_str(), fname2.c_str(), 129 remove( fname1.c_str() ); 130 remove( fname2.c_str() ); 268 ASSERT_THROW(svm.save(filename.c_str()), Exception) [all...] |
/external/skia/bench/ |
ShaderMaskBench.cpp | 54 return fName.c_str(); 75 canvas->drawText(fText.c_str(), fText.size(), x, y, paint); 82 canvas->drawText(fText.c_str(), fText.size(), x, y, paint);
|
/external/skia/src/core/ |
SkFontDescriptor.h | 61 const char* getFamilyName() const { return fFamilyName.c_str(); } 62 const char* getFullName() const { return fFullName.c_str(); } 63 const char* getPostscriptName() const { return fPostscriptName.c_str(); }
|
/external/webrtc/webrtc/api/objc/ |
RTCSessionDescription.mm | 35 [[self class] stringForType:_type].c_str(), 51 error.description.c_str(), 52 error.line.c_str());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.submatch/re.submatch.op/ |
compare.pass.cpp | 251 assert((x.c_str() == sm2) == (x == y)); 252 assert((x.c_str() != sm2) == (x != y)); 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((sm1 == y.c_str()) == (x == y)); 258 assert((sm1 != y.c_str()) == (x != y)); 259 assert((sm1 < y.c_str()) == (x < y)); 260 assert((sm1 > y.c_str()) == (x > y)) [all...] |
/system/extras/perfprofd/ |
cpuconfig.cc | 66 FILE *fp = fopen(possible.c_str(), "re"); 81 FILE *fp = fopen(ss.str().c_str(), "we"); 86 W_ALOGW("open failed for %s", ss.str().c_str());
|
/system/extras/simpleperf/ |
cmd_help.cpp | 68 printf(" %-20s%s\n", cmd_name.c_str(), cmd->ShortHelpString().c_str()); 73 printf("%s\n", command.LongHelpString().c_str());
|
/bootable/recovery/uncrypt/ |
uncrypt.cpp | 225 ALOGE("failed to open \"%s\": %s", uncrypt_path_file.c_str(), strerror(errno)); 238 ALOGE("failed to remove the existing map file %s: %s", map_file, err.c_str()); 242 unique_fd mapfd(open(tmp_map_file.c_str(), O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR)); 244 ALOGE("failed to open %s: %s\n", tmp_map_file.c_str(), strerror(errno)); 270 ALOGE("failed to write %s: %s", tmp_map_file.c_str(), strerror(errno)); 362 ALOGE("failed to write %s: %s", tmp_map_file.c_str(), strerror(errno)); 368 ALOGE("failed to write %s: %s", tmp_map_file.c_str(), strerror(errno)); 374 ALOGE("failed to fsync \"%s\": %s", tmp_map_file.c_str(), strerror(errno)); 378 ALOGE("failed to close %s: %s", tmp_map_file.c_str(), strerror(errno)); 395 if (rename(tmp_map_file.c_str(), map_file) == -1) [all...] |