Home
last modified time | relevance | path

Searched refs:path_str (Results 1 – 25 of 26) 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.py69 def GetXbuddyPath(self, path_str, autotest_path, board, chromeos_root, argument
73 if (path_str.find('trybot') < 0 and path_str.find('toolchain') < 0 and
74 path_str.find(board) < 0):
75 xbuddy_path = '%s/%s/%s' % (prefix, board, path_str)
77 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/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/
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/libtextclassifier/lang_id/
Dlang-id_jni.cc77 const std::string path_str = ToStlString(env, path); in TC3_JNI_METHOD() local
78 std::unique_ptr<LangId> lang_id = GetLangIdFromFlatbufferFile(path_str); in TC3_JNI_METHOD()
/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/tensorflow/tensorflow/python/framework/
Dtest_util.py2072 path_str = (("[" + "][".join([str(p) for p in path]) + "]") if path else "")
2083 (path_str, path_str, msg))
2089 (path_str, a.keys(), path_str, b.keys(), msg))
2107 (path_str, path_str, msg))
2112 (path_str, len(a), path_str, len(b), msg))
2127 (path_str, path_str, msg)))
2130 (path_str, type(a), path_str, type(b), msg))
/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/libtextclassifier/actions/
Dactions_jni.cc338 const std::string path_str = ToStlString(env, path); in TC3_JNI_METHOD() local
349 path_str, std::unique_ptr<UniLib>(new UniLib(jni_cache)), in TC3_JNI_METHOD()
353 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.h735 char *path_str; member
784 char *path_str; member
Dcil.c1534 str_len += strlen(filecon->path_str); in cil_filecons_to_string()
1573 buf_pos = sprintf(str_tmp, "%s", filecon->path_str); in cil_filecons_to_string()
2285 (*filecon)->path_str = NULL; in cil_filecon_init()
2329 (*genfscon)->path_str = NULL; in cil_genfscon_init()
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_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()
Dcil_policy.c1711 fprintf(out, "genfscon %s %s ", genfscon->fs_str, genfscon->path_str); in cil_genfscons_to_policy()
Dcil_build_ast.c4229 filecon->path_str = parse_current->next->data; in cil_gen_filecon()
4592 genfscon->path_str = parse_current->next->next->data; in cil_gen_genfscon()
Dcil_binary.c3459 new_ocon->u.name = cil_strdup(cil_genfscon->path_str); in cil_genfscon_to_policydb()
/external/libtextclassifier/annotator/
Dannotator_jni.cc423 const std::string path_str = ToStlString(env, path); in TC3_JNI_METHOD() local
430 path_str, std::unique_ptr<UniLib>(new UniLib(jni_cache)), in TC3_JNI_METHOD()
434 AnnotatorJniContext::Create(jni_cache, Annotator::FromPath(path_str))); in TC3_JNI_METHOD()
/external/python/cpython3/Modules/
Dposixmodule.c12420 const char *path_str; in os_scandir_impl() local
12475 path_str = iterator->path.narrow; in os_scandir_impl()
12477 path_str = "."; in os_scandir_impl()
12480 iterator->dirp = opendir(path_str); in os_scandir_impl()

12