/third_party/skia/src/ports/ |
H A D | SkOSFile_stdio.cpp | 40 static FILE* fopen_win(const char* utf8path, const char* perm) { in fopen_win() argument 42 return fopen(utf8path, perm); in fopen_win() 63 wchar_t wperms[4] = {(wchar_t)perm[0], (wchar_t)perm[1], (wchar_t)perm[2], (wchar_t)perm[3]}; in fopen_win() 69 char perm[4] = {0, 0, 0, 0}; in sk_fopen() local 70 char* p = perm; in sk_fopen() 82 file = fopen_win(path, perm); in sk_fopen() 84 file = fopen(path, perm); in sk_fopen() [all...] |
/third_party/ffmpeg/libavcodec/ppc/ |
H A D | pixblockdsp.c | 40 vector unsigned char perm = in get_pixels_altivec() local 53 //vector signed short shorts = (vector signed short) vec_perm(zero, bytes, perm); in get_pixels_altivec() 54 vector signed short shorts = (vector signed short) vec_perm(bytes, zero, perm); in get_pixels_altivec() 70 vec_u8 perm = vec_lvsl(0, pixels); in get_pixels_altivec() local 76 vec_u8 bytes = vec_perm(pixl, pixr, perm); in get_pixels_altivec() 157 vec_u8 perm; in diff_pixels_altivec() local 165 perm = vec_lvsl(0, s1); in diff_pixels_altivec() 168 vec_u8 bytes = vec_perm(pixl, pixr, perm); in diff_pixels_altivec() 174 perm = vec_lvsl(0, s2); in diff_pixels_altivec() 177 bytes = vec_perm(pixl, pixr, perm); in diff_pixels_altivec() [all...] |
H A D | mpegvideoencdsp.c | 45 //vector unsigned char pixv = vec_perm(pixl, pixr, perm); in pix_norm1_altivec() 65 vector unsigned char perm = vec_lvsl(0, pix); in pix_norm1_altivec() local 73 vector unsigned char pixv = vec_perm(pixl, pixr, perm); in pix_norm1_altivec() 102 //vector unsigned char t1 = vec_perm(pixl, pixr, perm); in pix_sum_altivec() 123 vector unsigned char perm = vec_lvsl(0, pix); in pix_sum_altivec() local 131 vector unsigned char t1 = vec_perm(pixl, pixr, perm); in pix_sum_altivec()
|
H A D | vp8dsp_altivec.c | 189 #define LOAD_HL(off, s, perm) load_with_perm_vec(off, s, perm) 191 #define LOAD_HL(off, s, perm) vec_mergeh(vec_vsx_ld(off,s), vec_vsx_ld(off+8,s)) 304 register vector unsigned char perm; in put_vp8_pixels16_altivec() local 311 perm = vec_lvsl(0, src); in put_vp8_pixels16_altivec() 319 vec_st(load_with_perm_vec(0, src, perm), 0, dst); in put_vp8_pixels16_altivec() 320 vec_st(load_with_perm_vec(sstride, src, perm), dstride, dst); in put_vp8_pixels16_altivec() 321 vec_st(load_with_perm_vec(sstride2, src, perm), dstride2, dst); in put_vp8_pixels16_altivec() 322 vec_st(load_with_perm_vec(sstride3, src, perm), dstride3, dst); in put_vp8_pixels16_altivec()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/ |
H A D | semctl04.c | 33 struct semid_ds perm; in do_child() local 37 arg.buf = &perm; in do_child() 38 memset(&perm, 0, sizeof(perm)); in do_child() 39 perm.sem_perm.uid = getuid() + 1; in do_child() 40 perm.sem_perm.gid = getgid() + 1; in do_child() 41 perm.sem_perm.mode = 0666; in do_child()
|
/third_party/ffmpeg/libavcodec/ |
H A D | eatgq.c | 67 uint8_t *perm = s->scantable.permutated; in tgq_decode_block() local 75 block[perm[i++]] = 0; in tgq_decode_block() 77 block[perm[i++]] = 0; in tgq_decode_block() 87 block[perm[i++]] = 0; in tgq_decode_block() 91 block[perm[i]] = -s->qtable[perm[i]]; in tgq_decode_block() 96 block[perm[i]] = s->qtable[perm[i]]; in tgq_decode_block() 104 block[perm[i]] = get_sbits(gb, 8) * s->qtable[perm[ in tgq_decode_block() [all...] |
/third_party/mksh/ |
H A D | check.pl | 505 local($type, $perm, $rest, $c, $len, $name); 510 # format is: type perm "name" 511 ($type, $perm, $rest) = 517 $perm = oct($perm) if $perm =~ /^\d+$/; 520 if (!chmod($perm, $name)) { 522 "$prog:$test{':long-name'}: can't chmod $perm $name - $!\n"; 526 if (!mkdir($name, $perm)) { 528 "$prog:$test{':long-name'}: can't mkdir $perm [all...] |
/third_party/ntfs-3g/libntfs-3g/ |
H A D | security.c | 1384 * - from uid, gid and perm to securid (CACHED_SECURID) 1385 * - from a securid to uid, gid and perm (CACHED_PERMISSIONS) 1689 wanted.perm.uid = uid; in enter_cache() 1690 wanted.perm.gid = gid; in enter_cache() 1692 wanted.perm.mode = pxdesc->mode & 07777; in enter_cache() 1693 wanted.perm.inh_fileid = const_cpu_to_le32(0); in enter_cache() 1694 wanted.perm.inh_dirid = const_cpu_to_le32(0); in enter_cache() 1700 wanted.perm.mode = mode & 07777; in enter_cache() 1701 wanted.perm.inh_fileid = const_cpu_to_le32(0); in enter_cache() 1702 wanted.perm in enter_cache() 2078 int perm; ntfs_get_perm() local 2312 int perm; ntfs_get_perm() local 2446 int perm; ntfs_get_owner_mode() local 3443 int perm; ntfs_allowed_access() local 3523 int perm; ntfs_allowed_create() local 3639 int perm; ntfs_set_owner() local [all...] |
/third_party/libunwind/libunwind/src/ |
H A D | os-linux.h | 207 char perm[16], dash = 0, colon = 0, *cp; in maps_next() local 267 cp = scan_string (cp, perm, sizeof (perm)); in maps_next() 282 if (perm[0] == 'r') in maps_next() 286 if (perm[1] == 'w') in maps_next() 290 if (perm[2] == 'x') in maps_next()
|
/third_party/selinux/libsepol/src/ |
H A D | avrule_block.c | 198 perm_datum_t *perm; in is_perm_enabled() local 207 perm = hashtab_search(cladatum->permissions.table, perm_id); in is_perm_enabled() 208 if (perm == NULL && cladatum->comdatum != 0) { in is_perm_enabled() 211 perm = in is_perm_enabled() 215 if (perm == NULL) { in is_perm_enabled()
|
H A D | util.c | 91 char *perm = NULL, *p; in sepol_av_to_string() local 110 perm = v.name; in sepol_av_to_string() 111 if (perm) { in sepol_av_to_string() 114 perm); in sepol_av_to_string()
|
/third_party/python/Lib/ |
H A D | stat.py | 158 perm = [] 162 perm.append(char) 165 perm.append("-") 166 return "".join(perm)
|
/third_party/selinux/libsepol/utils/ |
H A D | sepol_check_access.c | 57 const char *perm; in main() local 68 perm = tmp ? tmp : permlist; in main() 70 if (sepol_string_to_av_perm(tclass, perm, &av) < 0) { in main() 71 fprintf(stderr, "Invalid permission %s for security class %s: %s\n", perm, argv[4], strerror(errno)); in main()
|
/third_party/node/src/permission/ |
H A D | permission.h | 42 static PermissionScope StringToPermission(const std::string& perm); 43 static const char* PermissionToString(PermissionScope perm); 45 PermissionScope perm,
|
H A D | fs_permission.cc | 135 void FSPermission::GrantAccess(PermissionScope perm, const std::string& res) { in GrantAccess() argument 137 if (perm == PermissionScope::kFileSystemRead) { in GrantAccess() 140 } else if (perm == PermissionScope::kFileSystemWrite) { in GrantAccess() 146 bool FSPermission::is_granted(PermissionScope perm, in is_granted() argument 148 switch (perm) { in is_granted()
|
/third_party/curl/tests/libtest/ |
H A D | lib576.c | 43 if(finfo->strings.perm) { in chunk_bgn() 44 printf("Permissions: %s", finfo->strings.perm); in chunk_bgn() 46 printf(" (parsed => %o)", finfo->perm); in chunk_bgn()
|
/third_party/selinux/libselinux/src/ |
H A D | checkAccess.c | 22 int selinux_check_access(const char *scon, const char *tcon, const char *class, const char *perm, void *aux) { in selinux_check_access() argument 54 av = string_to_av_perm(sclass, perm); in selinux_check_access() 57 avc_log(SELINUX_ERROR, "Unknown permission %s for class %s", perm, class); in selinux_check_access()
|
/third_party/alsa-utils/seq/aconnect/ |
H A D | aconnect.c | 97 static int check_permission(snd_seq_port_info_t *pinfo, int perm) in check_permission() argument 104 if (!perm) in check_permission() 106 if (perm & LIST_INPUT) { in check_permission() 111 if (perm & LIST_OUTPUT) { in check_permission() 164 static void do_search_port(snd_seq_t *seq, int perm, action_func_t do_action) in do_search_port() argument 183 if (check_permission(pinfo, perm)) { in do_search_port()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/ |
H A D | 6-1-buildonly.c | 28 struct ipc_perm perm = { 0 }; in dummyfcn() local 34 t.shm_perm = perm; in dummyfcn()
|
/third_party/ffmpeg/libavfilter/ |
H A D | f_perms.c | 74 enum perm { RO, RW }; enum 83 enum perm in_perm = av_frame_is_writable(frame) ? RW : RO; in filter_frame() 84 enum perm out_perm; in filter_frame()
|
/third_party/ltp/testcases/kernel/syscalls/keyctl/ |
H A D | keyctl05.c | 168 uint32_t perm = KEY_POS_ALL; in test_update_setperm_race() local 171 perm ^= KEY_POS_WRITE; in test_update_setperm_race() 172 TEST(keyctl(KEYCTL_SETPERM, keyid, perm)); in test_update_setperm_race()
|
/third_party/ltp/testcases/kernel/syscalls/openat/ |
H A D | openat03.c | 192 mode_t mask = umask(0), perm; in test03() local 204 perm = test_perms[i % ARRAY_SIZE(test_perms)]; in test03() 206 fd[i] = openat_tmp(perm); in test03() 217 mode_t exp_mode = perm & ~mask; in test03()
|
/third_party/ltp/testcases/kernel/syscalls/open/ |
H A D | open14.c | 181 mode_t mask = umask(0), perm; in test03() local 193 perm = test_perms[i % ARRAY_SIZE(test_perms)]; in test03() 195 fd[i] = SAFE_OPEN(cleanup, ".", O_TMPFILE | O_RDWR, perm); in test03() 206 mode_t exp_mode = perm & ~mask; in test03()
|
/third_party/icu/icu4c/source/io/ |
H A D | ufile.cpp | 135 const char *perm, in u_fopen() 140 FILE *systemFile = fopen(filename, perm); in u_fopen() 172 const char *perm, in u_fopen_u() 191 result = u_fopen(filenameBuffer, perm, locale, codepage); in u_fopen_u() 198 mbstowcs_s(&retVal, wperm, UPRV_LENGTHOF(wperm), perm, _TRUNCATE); in u_fopen_u() 134 u_fopen(const char *filename, const char *perm, const char *locale, const char *codepage) u_fopen() argument 171 u_fopen_u(const UChar *filename, const char *perm, const char *locale, const char *codepage) u_fopen_u() argument
|
/third_party/skia/third_party/externals/icu/source/io/ |
H A D | ufile.cpp | 125 const char *perm, in u_fopen() 130 FILE *systemFile = fopen(filename, perm); in u_fopen() 162 const char *perm, in u_fopen_u() 181 result = u_fopen(filenameBuffer, perm, locale, codepage); in u_fopen_u() 188 mbstowcs_s(&retVal, wperm, UPRV_LENGTHOF(wperm), perm, _TRUNCATE); in u_fopen_u() 124 u_fopen(const char *filename, const char *perm, const char *locale, const char *codepage) u_fopen() argument 161 u_fopen_u(const UChar *filename, const char *perm, const char *locale, const char *codepage) u_fopen_u() argument
|