Home
last modified time | relevance | path

Searched refs:path_str (Results 1 – 25 of 29) sorted by relevance

12

/external/selinux/libsepol/cil/test/unit/
Dtest_cil_post.c47 afilecon->path_str = "foo"; in test_cil_post_filecon_compare_meta_a_not_b()
50 bfilecon->path_str = "foo"; in test_cil_post_filecon_compare_meta_a_not_b()
65 afilecon->path_str = "foo"; in test_cil_post_filecon_compare_meta_b_not_a()
68 bfilecon->path_str = "foo"; in test_cil_post_filecon_compare_meta_b_not_a()
83 afilecon->path_str = ".$({"; in test_cil_post_filecon_compare_meta_a_and_b_strlen_a_greater_b()
86 bfilecon->path_str = "."; in test_cil_post_filecon_compare_meta_a_and_b_strlen_a_greater_b()
101 afilecon->path_str = ".$({"; in test_cil_post_filecon_compare_type_atype_greater_btype()
105 bfilecon->path_str = ".$({"; in test_cil_post_filecon_compare_type_atype_greater_btype()
120 afilecon->path_str = ".$({"; in test_cil_post_filecon_compare_type_btype_greater_atype()
124 bfilecon->path_str = ".$({"; in test_cil_post_filecon_compare_type_btype_greater_atype()
[all …]
/external/toolchain-utils/crosperf/
Dsettings.py73 def GetXbuddyPath(self, path_str, autotest_path, debug_path, board, argument
77 if (path_str.find('trybot') < 0 and path_str.find('toolchain') < 0 and
78 path_str.find(board) < 0):
79 xbuddy_path = '%s/%s/%s' % (prefix, board, path_str)
81 xbuddy_path = '%s/%s' % (prefix, path_str)
/external/grpc-grpc/src/core/lib/transport/
Dservice_config.h231 char* path_str = grpc_slice_to_c_string(path); in MethodConfigTableLookup() local
232 const char* sep = strrchr(path_str, '/') + 1; in MethodConfigTableLookup()
233 const size_t len = (size_t)(sep - path_str); in MethodConfigTableLookup()
235 memcpy(buf, path_str, len); in MethodConfigTableLookup()
242 gpr_free(path_str); in MethodConfigTableLookup()
/external/autotest/server/site_tests/bluetooth_SDP_ServiceSearchRequestBasic/
Dbluetooth_SDP_ServiceSearchRequestBasic.py89 path_str = self.FAKE_SERVICES_PATH + str(num)
93 self.device.register_profile(path_str, uuid_str, {})
/external/skia/infra/bots/recipe_modules/flavor/
Dandroid.py544 path_str = str(path)
545 assert path_str.startswith(host_str), (
546 'expected %s to have %s as a prefix' % (path_str, host_str))
547 relpath = path_str[len(host_str):]
/external/strace/tests-m32/
Dfanotify_mark.c62 const char *dirfd_str, kernel_ulong_t path, const char *path_str) in do_call() argument
82 (int) fd, flags_str, mask_str, dirfd_str, path_str, in do_call()
/external/strace/tests-mx32/
Dfanotify_mark.c62 const char *dirfd_str, kernel_ulong_t path, const char *path_str) in do_call() argument
82 (int) fd, flags_str, mask_str, dirfd_str, path_str, in do_call()
/external/strace/tests/
Dfanotify_mark.c62 const char *dirfd_str, kernel_ulong_t path, const char *path_str) in do_call() argument
82 (int) fd, flags_str, mask_str, dirfd_str, path_str, in do_call()
/external/webrtc/talk/media/devices/
Dwin32devicemanager.cc210 std::string name_str, path_str; in GetDevices() local
217 path_str = rtc::ToUtf8(path.bstrVal); in GetDevices()
220 devices->push_back(Device(name_str, path_str)); in GetDevices()
/external/libtextclassifier/native/lang_id/
Dlang-id_jni.cc87 TC3_ASSIGN_OR_RETURN_0(const std::string path_str, ToStlString(env, path)); in TC3_JNI_METHOD()
88 std::unique_ptr<LangId> lang_id = GetLangIdFromFlatbufferFile(path_str); in TC3_JNI_METHOD()
/external/strace/
Dsocketutils.c338 const char *path_str; in unix_parse_response() local
351 path_str = outstr; in unix_parse_response()
353 path_str = ""; in unix_parse_response()
358 peer_str, path_str) < 0) in unix_parse_response()
/external/libchrome/base/files/
Dfile_path.cc548 StringType path_str; in AsEndingWithSeparator() local
549 path_str.reserve(path_.length() + 1); // Only allocate string once. in AsEndingWithSeparator()
551 path_str = path_; in AsEndingWithSeparator()
552 path_str.append(&kSeparators[0], 1); in AsEndingWithSeparator()
553 return FilePath(path_str); in AsEndingWithSeparator()
Dfile_util_posix.cc351 const char* path_str = path.value().c_str(); in DeleteFile() local
353 if (CallLstat(path_str, &file_info) != 0) { in DeleteFile()
358 return (unlink(path_str) == 0); in DeleteFile()
360 return (rmdir(path_str) == 0); in DeleteFile()
/external/tensorflow/tensorflow/python/framework/
Dtest_util.py2408 path_str = (("[" + "][".join(str(p) for p in path) + "]") if path else "")
2419 (path_str, path_str, msg))
2425 (path_str, a.keys(), path_str, b.keys(), msg))
2443 (path_str, path_str, msg))
2448 (path_str, len(a), path_str, len(b), msg))
2463 (path_str, path_str, msg)))
2466 (path_str, type(a), path_str, type(b), msg))
/external/libtextclassifier/native/actions/
Dactions_jni.cc384 TC3_ASSIGN_OR_RETURN_0(const std::string path_str, ToStlString(env, path)); in TC3_JNI_METHOD()
395 path_str, std::unique_ptr<UniLib>(new UniLib(jni_cache)), in TC3_JNI_METHOD()
399 jni_cache, ActionsSuggestions::FromPath(path_str, /*unilib=*/nullptr, in TC3_JNI_METHOD()
/external/selinux/libsepol/cil/src/
Dcil_post.c201 char *a_path = cil_malloc(strlen(a_filecon->path_str) + 1); in cil_post_filecon_compare()
203 char *b_path = cil_malloc(strlen(b_filecon->path_str) + 1); in cil_post_filecon_compare()
205 strcat(a_path, a_filecon->path_str); in cil_post_filecon_compare()
206 strcat(b_path, b_filecon->path_str); in cil_post_filecon_compare()
226 rc = strcmp(a_filecon->path_str, b_filecon->path_str); in cil_post_filecon_compare()
290 rc = strcmp(agenfscon->path_str, bgenfscon->path_str); in cil_post_genfscon_compare()
Dcil_internal.h736 char *path_str; member
785 char *path_str; member
Dcil_copy_ast.c1138 new->path_str = orig->path_str; in cil_copy_genfscon()
1159 new->path_str = orig->path_str; in cil_copy_filecon()
Dcil.c1697 str_len += strlen(filecon->path_str); in cil_filecons_to_string()
1736 buf_pos = sprintf(str_tmp, "%s", filecon->path_str); in cil_filecons_to_string()
2448 (*filecon)->path_str = NULL; in cil_filecon_init()
2492 (*genfscon)->path_str = NULL; in cil_genfscon_init()
Dcil_tree.c1404 cil_log(CIL_INFO, " %s %d", filecon->path_str, filecon->type); in cil_tree_print_node()
1485 cil_log(CIL_INFO, " %s %s", genfscon->fs_str, genfscon->path_str); in cil_tree_print_node()
Dcil_write_ast.c948 genfscon->path_str, ctx_str); in cil_write_genfscon()
/external/libtextclassifier/native/annotator/
Dannotator_jni.cc479 TC3_ASSIGN_OR_RETURN_0(const std::string path_str, ToStlString(env, path)); in TC3_JNI_METHOD()
486 path_str, std::unique_ptr<UniLib>(new UniLib(jni_cache)), in TC3_JNI_METHOD()
490 AnnotatorJniContext::Create(jni_cache, Annotator::FromPath(path_str))); in TC3_JNI_METHOD()
/external/mesa3d/src/mesa/main/
Dshaderapi.c3299 char *path_str = strtok_r(full_path, "/", &save_ptr); in validate_and_tokenise_sh_incl() local
3305 while (path_str != NULL) { in validate_and_tokenise_sh_incl()
3306 if (strlen(path_str) == 0) { in validate_and_tokenise_sh_incl()
3315 if (strcmp(path_str, ".") == 0) { in validate_and_tokenise_sh_incl()
3317 } else if (strcmp(path_str, "..") == 0) { in validate_and_tokenise_sh_incl()
3324 path->path = strdup(path_str); in validate_and_tokenise_sh_incl()
3328 path_str = strtok_r(NULL, "/", &save_ptr); in validate_and_tokenise_sh_incl()
/external/tensorflow/tensorflow/compiler/jit/
Dmark_for_compilation_pass.cc513 std::vector<string> path_str; in DescribePotentialCycle() local
516 std::back_inserter(path_str), [&](int node_id) { in DescribePotentialCycle()
521 absl::StrJoin(path_str, ","), "]"); in DescribePotentialCycle()
/external/python/cpython3/Modules/
Dposixmodule.c13214 const char *path_str; in os_scandir_impl() local
13274 path_str = iterator->path.narrow; in os_scandir_impl()
13276 path_str = "."; in os_scandir_impl()
13279 iterator->dirp = opendir(path_str); in os_scandir_impl()

12