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

1 2 3 4 5 6 7 8 91011>>

  /system/extras/perfprofd/
perfprofdmain.cc 43 if (access(config_directory.c_str(), F_OK) == -1) {
51 if (access(semaphore_filepath.c_str(), F_OK) == -1) {
  /system/libhidl/minijail/
HardwareMinijail.cpp 26 if (access(seccomp_policy_path.c_str(), R_OK) == -1) {
39 minijail_parse_seccomp_filters(jail, seccomp_policy_path.c_str());
  /device/google/cuttlefish_common/guest/hals/camera/
CameraConfiguration.cpp 109 ALOGE("%s: Invalid camera orientation: %s.", __FUNCTION__, value.c_str());
119 temp = strtol(value.c_str(), &endptr, 10);
120 if (endptr != value.c_str() + value.size()) {
122 __FUNCTION__, value.c_str());
153 resolution->width = strtol(width.c_str(), &endptr, 10);
154 if (endptr != width.c_str() + width.size()) {
156 __FUNCTION__, width.c_str());
160 resolution->height = strtol(height.c_str(), &endptr, 10);
161 if (endptr != height.c_str() + height.size()) {
163 __FUNCTION__, height.c_str());
    [all...]
  /system/core/base/
strings.cpp 91 return strncmp(s.c_str(), prefix, strlen(prefix)) == 0;
95 return strncmp(s.c_str(), prefix.c_str(), prefix.size()) == 0;
99 return strncasecmp(s.c_str(), prefix, strlen(prefix)) == 0;
103 return strncasecmp(s.c_str(), prefix.c_str(), prefix.size()) == 0;
113 return (case_sensitive ? strncmp : strncasecmp)(s.c_str() + offset, suffix, suffix_length) == 0;
121 return EndsWith(s, suffix.c_str(), suffix.size(), true);
129 return EndsWith(s, suffix.c_str(), suffix.size(), false);
133 return strcasecmp(lhs.c_str(), rhs.c_str()) == 0
    [all...]
  /system/netd/server/
NetdHwService.cpp 99 const char* nh = nexthop.c_str();
112 return toHalStatus(gCtls->netCtrl.addRoute(netId, ifname.c_str(), destination.c_str(),
122 return toHalStatus(gCtls->netCtrl.removeRoute(netId, ifname.c_str(), destination.c_str(),
131 return toHalStatus(gCtls->netCtrl.addInterfaceToNetwork(netId, ifname.c_str()));
139 return toHalStatus(gCtls->netCtrl.removeInterfaceFromNetwork(netId, ifname.c_str()));
157 int ret = enable ? RouteController::enableTethering(inputIfName.c_str(), outputIfName.c_str()) :
158 RouteController::disableTethering(inputIfName.c_str(), outputIfName.c_str())
    [all...]
  /external/perfetto/tools/ftrace_proto_gen/
ftrace_proto_gen.cc 102 printf("%sFtraceEvent %s = ;\n", ToCamelCase(event).c_str(), event.c_str());
114 event.c_str(), event.c_str(), ToCamelCase(event).c_str());
126 event_name.c_str(), event_name.c_str(), field.name.c_str(),
127 event_name.c_str(), field.name.c_str());
    [all...]
  /system/tpm/attestation/common/
print_common_proto.cc 90 base::StringPrintf("[%s] {\n", value.GetTypeName().c_str());
96 base::HexEncode(value.quote().data(), value.quote().size()).c_str());
104 .c_str());
112 .c_str());
120 .c_str());
135 base::StringPrintf("[%s] {\n", value.GetTypeName().c_str());
142 .c_str());
149 base::HexEncode(value.iv().data(), value.iv().size()).c_str());
156 base::HexEncode(value.mac().data(), value.mac().size()).c_str());
164 .c_str());
    [all...]
  /system/bt/btif/src/
btif_av.cc 397 peer_address.ToString().c_str());
416 peer->PeerAddress().ToString().c_str());
445 cp.ToString().c_str());
534 peer_address.ToString().c_str());
553 peer->PeerAddress().ToString().c_str());
827 return base::StringPrintf("0x%x(%s)", flags_, result.c_str());
953 peer_address.ToString().c_str(), bta_handle);
967 __PRETTY_FUNCTION__, peer_address.ToString().c_str());
980 __PRETTY_FUNCTION__, peer_address.ToString().c_str(), bta_handle,
    [all...]
  /external/gflags/src/
gflags_reporting.cc 108 const char* c_string = (current ? flag.current_value.c_str() :
109 flag.default_value.c_str());
110 if (strcmp(flag.type.c_str(), "string") == 0) { // add quotes for strings
111 return StringPrintf("%s: \"%s\"", text.c_str(), c_string);
113 return StringPrintf("%s: %s", text.c_str(), c_string);
122 flag.name.c_str(),
123 flag.description.c_str());
124 const char* c_string = main_part.c_str();
196 StringAppendF(r, "<%s>%s</%s>", tag, XMLText(txt).c_str(), tag);
244 if (strstr(filename.c_str(), target->c_str()) != NULL
    [all...]
  /frameworks/native/cmds/installd/
otapreopt.cpp 165 return StringPrintf("%s/%s", GetOtaDirectoryPrefix().c_str(), GetTargetSlot().c_str());
254 int result = setenv(ASEC_MOUNTPOINT_ENV_NAME, asec_mountpoint_.c_str(), 0);
260 if (!init_globals_from_data_and_root(GetAndroidData().c_str(), GetAndroidRoot().c_str())) {
267 if (access(GetOtaDirectoryPrefix().c_str(), R_OK) < 0) {
301 environ_.push_back(StringPrintf("BOOTCLASSPATH=%s", boot_classpath_.c_str()));
302 environ_.push_back(StringPrintf("ANDROID_DATA=%s", GetOTADataDirectory().c_str()));
303 environ_.push_back(StringPrintf("ANDROID_ROOT=%s", android_root_.c_str()));
306 putenv(const_cast<char*>(e.c_str()));
    [all...]
  /bionic/libc/malloc_debug/tests/
malloc_debug_unit_tests.cpp 203 ASSERT_STREQ("", getFakeLogBuf().c_str());
210 ASSERT_STREQ(expected_log.c_str(), getFakeLogPrint().c_str());
233 ASSERT_STREQ("", getFakeLogBuf().c_str());
234 ASSERT_STREQ("", getFakeLogPrint().c_str());
250 ASSERT_STREQ("", getFakeLogBuf().c_str());
251 ASSERT_STREQ("", getFakeLogPrint().c_str());
270 ASSERT_STREQ("", getFakeLogBuf().c_str());
271 ASSERT_STREQ("", getFakeLogPrint().c_str());
293 ASSERT_STREQ("", getFakeLogBuf().c_str());
    [all...]
  /frameworks/base/tools/stats_log_api_gen/
main.cpp 134 fprintf(out, " %s,\n", constant.c_str());
148 fprintf(out, " %s,\n", constant.c_str());
166 atom->code, atom->name.c_str());
168 make_constant_name(atom->name).c_str(), atom->uidField);
191 atom->code, atom->name.c_str());
199 make_constant_name(atom->name).c_str());
231 chainField.name.c_str());
235 chainField.name.c_str(), chainField.name.c_str());
257 attributionDecl.fields.front().name.c_str(), chainField.name.c_str())
    [all...]
  /frameworks/native/services/vr/performanced/
cpu_set.cpp 39 base::unique_fd root_cpuset_fd(open(path.c_str(), kDirectoryFlags));
41 ALOGE("CpuSet::Create: Failed to open \"%s\": %s", path.c_str(),
54 ALOGE("CpuSet::Create: Failed to opendir %s cpuset: %s", name.c_str(),
71 openat(base_fd.get(), directory_name.c_str(), kDirectoryFlags));
74 Create(std::move(entry_fd), directory_name.c_str(), group.get());
164 target_set.c_str());
179 task_id, task.name().c_str(), target_set.c_str(),
186 task_id, target_set.c_str(), status.GetErrorMessage().c_str());
    [all...]
  /art/compiler/optimizing/
parallel_move_test.cc 191 ASSERT_STREQ("(1 -> 2) (0 -> 1)", resolver.GetMessage().c_str());
193 ASSERT_STREQ("(1 -> 2) (0 -> 1)", resolver.GetMessage().c_str());
202 ASSERT_STREQ("(2 -> 3) (1 -> 2) (1 -> 4) (0 -> 1)", resolver.GetMessage().c_str());
204 ASSERT_STREQ("(2 -> 3) (1 -> 2) (0 -> 1) (2 -> 4)", resolver.GetMessage().c_str());
218 ASSERT_STREQ("(1 <-> 0)", resolver.GetMessage().c_str());
220 ASSERT_STREQ("(1 -> T0) (0 -> 1) (T0 -> 0)", resolver.GetMessage().c_str());
229 ASSERT_STREQ("(1 -> 2) (1 <-> 0)", resolver.GetMessage().c_str());
231 ASSERT_STREQ("(1 -> 2) (0 -> 1) (2 -> 0)", resolver.GetMessage().c_str());
240 ASSERT_STREQ("(0 -> 2) (1 <-> 0)", resolver.GetMessage().c_str());
242 ASSERT_STREQ("(0 -> 2) (1 -> 0) (2 -> 1)", resolver.GetMessage().c_str());
    [all...]
  /art/libdexfile/dex/
test_dex_file_builder_test.cc 34 EXPECT_STREQ(dex_location, dex_file->GetLocation().c_str());
70 EXPECT_STREQ("[I TestClass.intField", dex_file->PrettyField(0u).c_str());
75 dex_file->PrettyMethod(0u).c_str());
77 dex_file->PrettyMethod(1u).c_str());
  /build/kati/
regen_dump.cc 73 printf("%s\n", s.c_str());
84 printf("undefined: %s\n", s.c_str());
98 printf("%s: %s\n", name.c_str(), val.c_str());
  /device/generic/goldfish/wifi/ipv6proxy/
result.h 33 const char* c_str() const { return mMessage; } function in class:Result
  /device/google/cuttlefish_common/common/vsoc/lib/
screen_region_view_test.cpp 27 auto region = ScreenRegionView::GetInstance(vsoc::GetDomain().c_str());
  /device/google/cuttlefish_common/guest/commands/vport_trigger/
main.cpp 47 int fd = TEMP_FAILURE_RETRY(open(path.c_str(), flags));
65 if (stat(sysfs.c_str(), &st)) {
79 property_set(propname.c_str(), dev.c_str());
  /device/google/cuttlefish_common/host/libs/ivserver/
ivserver.cc 31 LOG_IF(WARNING, unlink(options.qemu_socket_path.c_str()) == 0)
35 options.qemu_socket_path.c_str(), false, SOCK_STREAM, 0666);
39 LOG_IF(WARNING, unlink(options.client_socket_path.c_str()) == 0)
43 options.client_socket_path.c_str(), false, SOCK_STREAM, 0666);
  /external/compiler-rt/lib/asan/tests/
asan_exceptions_test.cc 9 fprintf(stderr, "%s\n", msg.c_str());
  /external/compiler-rt/lib/sanitizer_common/tests/
sanitizer_nolibc_test.cc 27 int status = system(NolibcTestPath.c_str());
  /external/deqp/modules/glshared/
glsShaderLibrary.cpp 47 return new tcu::TestCaseGroup(m_testCtx, name.c_str(), description.c_str(), children);
52 return new ShaderLibraryCase(m_testCtx, m_renderCtx, m_contextInfo, name.c_str(), description.c_str(), spec);
  /external/eigen/bench/spbench/
spbenchsolver.cpp 50 statbuf.open(statFile.c_str(), std::ios::out);
65 tol = atof(inval.c_str());
67 maxiters = atoi(inval.c_str());
78 statbuf.open(statFile.c_str(), std::ios::app);
  /external/flatbuffers/tests/fuzzer/
flatbuffers_parser_fuzzer.cc 14 parser.Parse(s.c_str());

Completed in 1346 milliseconds

1 2 3 4 5 6 7 8 91011>>