/third_party/ntfs-3g/ntfsprogs/ |
H A D | sd.c | 28 SID *sid; in init_system_file_sd() local 77 aa_ace->sid.revision = 1; in init_system_file_sd() 78 aa_ace->sid.sub_authority_count = 1; in init_system_file_sd() 79 aa_ace->sid.identifier_authority.value[0] = 0; in init_system_file_sd() 80 aa_ace->sid.identifier_authority.value[1] = 0; in init_system_file_sd() 81 aa_ace->sid.identifier_authority.value[2] = 0; in init_system_file_sd() 82 aa_ace->sid.identifier_authority.value[3] = 0; in init_system_file_sd() 83 aa_ace->sid.identifier_authority.value[4] = 0; in init_system_file_sd() 85 aa_ace->sid.identifier_authority.value[5] = 5; in init_system_file_sd() 86 aa_ace->sid in init_system_file_sd() 176 SID *sid; init_root_sd() local 411 SID *sid; init_secure_sds() local [all...] |
H A D | ntfsusermap.c | 187 const unsigned char *sid; member 340 static char *decodesid(const unsigned char *sid) in decodesid() argument 351 sprintf(&str[strlen(str)], "-%d", sid[0]); in decodesid() 353 auth = get6h(sid, 2); in decodesid() 359 for (i = 0; (i < 8) && (i < sid[1]); i++) { in decodesid() 361 subauth = get4l(sid, 8 + 4 * i); in decodesid() 372 static boolean isgenericgroup(const char *sid) in isgenericgroup() argument 376 yes = !strncmp(sid,"S-1-5-21-",9) in isgenericgroup() 377 && !strcmp(strrchr(sid,'-'),"-513"); in isgenericgroup() 381 static unsigned char *makegroupsid(const unsigned char *sid) in makegroupsid() argument 396 askmapping(const char *accname, const char *filename, const char *dir, const unsigned char *sid, int type, struct USERMAPPING *mapping, char *sidstr) askmapping() argument 497 domapping(const char *accname, const char *filename, const char *dir, const unsigned char *sid, int type) domapping() argument 701 unsigned char *sid; loginname() local 749 minimal(unsigned char *sid) minimal() argument [all...] |
/third_party/selinux/libsepol/src/ |
H A D | sidtab.c | 20 #define SIDTAB_HASH(sid) \ 21 (sid & SIDTAB_HASH_MASK) 39 int sepol_sidtab_insert(sidtab_t * s, sepol_security_id_t sid, in sepol_sidtab_insert() argument 48 hvalue = SIDTAB_HASH(sid); in sepol_sidtab_insert() 51 while (cur != NULL && sid > cur->sid) { in sepol_sidtab_insert() 56 if (cur && sid == cur->sid) { in sepol_sidtab_insert() 64 newnode->sid = sid; in sepol_sidtab_insert() 84 sepol_sidtab_search(sidtab_t * s, sepol_security_id_t sid) sepol_sidtab_search() argument 111 sepol_sidtab_map(sidtab_t * s, int (*apply) (sepol_security_id_t sid, context_struct_t * context, void *args), void *args) sepol_sidtab_map() argument 134 sepol_sidtab_map_remove_on_error(sidtab_t * s, int (*apply) (sepol_security_id_t sid, context_struct_t * context, void *args), void *args) sepol_sidtab_map_remove_on_error() argument 194 sepol_security_id_t sid; sepol_sidtab_context_to_sid() local [all...] |
H A D | services.c | 1245 * the context associated with `sid' into a dynamically 1250 int sepol_sid_to_context(sepol_security_id_t sid, in sepol_sid_to_context() argument 1257 context = sepol_sidtab_search(sidtab, sid); in sepol_sid_to_context() 1259 ERR(NULL, "unrecognized SID %d", sid); in sepol_sid_to_context() 1274 size_t scontext_len, sepol_security_id_t * sid) in sepol_context_to_sid() 1284 /* Obtain the new sid */ in sepol_context_to_sid() 1285 if (sid && (sepol_sidtab_context_to_sid(sidtab, context, sid) < 0)) in sepol_context_to_sid() 1297 ERR(NULL, "could not convert %s to sid", scontext); in sepol_context_to_sid() 1459 /* Obtain the sid fo in sepol_compute_sid() 1273 sepol_context_to_sid(sepol_const_security_context_t scontext, size_t scontext_len, sepol_security_id_t * sid) sepol_context_to_sid() argument 1576 clone_sid(sepol_security_id_t sid, context_struct_t * context, void *arg) clone_sid() argument 2150 sepol_security_id_t *mysids, *mysids2, sid; sepol_get_user_sids() local 2234 sepol_genfs_sid(const char *fstype, const char *path, sepol_security_class_t sclass, sepol_security_id_t * sid) sepol_genfs_sid() argument 2281 sepol_fs_use(const char *fstype, unsigned int *behavior, sepol_security_id_t * sid) sepol_fs_use() argument [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/manual/termios/ |
H A D | tcgetsid.c | 31 pid_t sid; in tcgetsid_0100() local 33 sid = tcgetsid(STDIN_FILENO); in tcgetsid_0100() 34 if (sid == -1) { in tcgetsid_0100() 50 pid_t sid; in tcgetsid_0200() local 51 sid = tcgetsid(-1); in tcgetsid_0200() 52 if (sid != -1) { in tcgetsid_0200() 53 t_error("%s tcgetsid should failed, sid is %d", __func__, sid); in tcgetsid_0200()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-cff1-table.hh | 154 void get_codes (hb_codepoint_t sid, hb_vector_t<hb_codepoint_t> &codes) const in get_codes() 157 if (sid == supps[i].glyph) in get_codes() 269 void get_supplement_codes (hb_codepoint_t sid, hb_vector_t<hb_codepoint_t> &codes) const in get_supplement_codes() 273 suppEncData().get_codes (sid, codes); in get_supplement_codes() 329 hb_codepoint_t get_glyph (hb_codepoint_t sid, unsigned int num_glyphs) const in get_glyph() 331 if (sid == 0) in get_glyph() 336 if (sids[glyph-1] == sid) in get_glyph() 398 hb_codepoint_t get_glyph (hb_codepoint_t sid, unsigned int num_glyphs) const in get_glyph() 400 if (sid == 0) return 0; in get_glyph() 406 if ((ranges[i].first <= sid) in get_glyph() 472 hb_codepoint_t sid = sid_ranges[i].code; serialize() local 1160 hb_codepoint_t sid = lookup_standard_encoding_for_sid (code); std_code_to_glyph() local 1179 hb_codepoint_t sid = glyph_to_sid (glyph); glyph_to_code() local 1203 hb_codepoint_t sid = 0; glyph_to_sid() local 1283 hb_codepoint_t sid = glyph_to_sid (gid); init() local 1359 uint16_t sid; global() member [all...] |
H A D | hb-subset-cff1.cc | 44 unsigned int add (unsigned int sid) in add() 46 if ((sid != CFF_UNDEF_SID) && !is_std_std (sid)) in add() 47 return offset_sid (hb_inc_bimap_t::add (unoffset_sid (sid))); in add() 49 return sid; in add() 52 unsigned int operator[] (unsigned int sid) const in operator []() 54 if (is_std_std (sid) || (sid == CFF_UNDEF_SID)) in operator []() 55 return sid; in operator []() 57 return offset_sid (get (unoffset_sid (sid))); in operator []() 443 hb_codepoint_t sid = acc.glyph_to_sid (old_glyph); plan_subset_encoding() local 469 hb_codepoint_t sid, last_sid = CFF_UNDEF_CODE; plan_subset_charset() local 521 unsigned int sid = acc.topDict.nameSIDs[i]; collect_sids_in_dicts() local [all...] |
H A D | hb-ot-cff1-table.cc | 40 uint16_t sid; member 45 if (a == sid) return 0; in cmp() 46 return (a < sid) ? -1 : 1; in cmp() 216 hb_codepoint_t OT::cff1::lookup_standard_encoding_for_code (hb_codepoint_t sid) in lookup_standard_encoding_for_code() argument 218 if (sid < ARRAY_LENGTH (standard_encoding_to_code)) in lookup_standard_encoding_for_code() 219 return (hb_codepoint_t)standard_encoding_to_code[sid]; in lookup_standard_encoding_for_code() 224 hb_codepoint_t OT::cff1::lookup_expert_encoding_for_code (hb_codepoint_t sid) in lookup_expert_encoding_for_code() argument 226 if (sid < ARRAY_LENGTH (expert_encoding_to_code)) in lookup_expert_encoding_for_code() 227 return (hb_codepoint_t)expert_encoding_to_code[sid]; in lookup_expert_encoding_for_code() 248 hb_codepoint_t OT::cff1::lookup_expert_charset_for_glyph (hb_codepoint_t sid) in lookup_expert_charset_for_glyph() argument 254 lookup_expert_subset_charset_for_glyph(hb_codepoint_t sid) lookup_expert_subset_charset_for_glyph() argument [all...] |
/third_party/alsa-lib/modules/mixer/simple/ |
H A D | sbase.c | 331 struct melem_sids *sid; in simple_event_add1() local 337 if (bsid->sids[ui].sid == sel->sid) { in simple_event_add1() 338 sid = &bsid->sids[ui]; in simple_event_add1() 391 snd_mixer_selem_id_set_name(id, sid->sname); in simple_event_add1() 392 snd_mixer_selem_id_set_index(id, sid->sindex); in simple_event_add1() 404 simple->sid = sel->sid; in simple_event_add1() 406 sid->weight, in simple_event_add1() 424 simple->dir[0].chanmap |= sid in simple_event_add1() 517 struct bclass_sid *sid; sbasic_cpriv_free() local 567 struct bclass_sid *sid = calloc(1, sizeof(*sid)); alsa_mixer_sbasic_sidreg() local [all...] |
/third_party/ntfs-3g/libntfs-3g/ |
H A D | acls.c | 160 int ntfs_sid_size(const SID * sid) in ntfs_sid_size() argument 162 return (sid->sub_authority_count * 4 + 8); in ntfs_sid_size() 314 * @sid: SID for which to determine if it is valid 316 * Determine if the SID pointed to by @sid is valid. 320 BOOL ntfs_valid_sid(const SID *sid) in ntfs_valid_sid() argument 322 return sid && sid->revision == SID_REVISION && in ntfs_valid_sid() 323 sid->sub_authority_count <= SID_MAX_SUB_AUTHORITIES; in ntfs_valid_sid() 336 BOOL ntfs_valid_pattern(const SID *sid) in ntfs_valid_pattern() argument 342 cnt = sid in ntfs_valid_pattern() 413 const SID *sid; ntfs_find_usid() local 457 const SID *sid; ntfs_find_gsid() local 1608 const SID *sid; build_user_denials() local 1770 const SID *sid; build_user_grants() local 1852 const SID *sid; build_group_denials_grant() local 2119 const SID *sid; buildacls_posix() local 4157 SID *sid; encodesid() local 4366 SID *sid; ntfs_do_user_mapping() local 4447 SID *sid; ntfs_do_group_mapping() local [all...] |
/third_party/libwebsockets/lib/roles/h2/ |
H A D | http2.c | 154 lws_h2_update_peer_txcredit(struct lws *wsi, unsigned int sid, int bump) in lws_h2_update_peer_txcredit() argument 164 if (sid == (unsigned int)-1) in lws_h2_update_peer_txcredit() 165 sid = wsi->mux.my_sid; in lws_h2_update_peer_txcredit() 167 lwsl_info("%s: sid %d: bump %d -> %d\n", __func__, sid, bump, in lws_h2_update_peer_txcredit() 174 pps->u.update_window.sid = (unsigned int)sid; in lws_h2_update_peer_txcredit() 186 pps->u.update_window.sid = 0; in lws_h2_update_peer_txcredit() 205 lws_h2_update_peer_txcredit_thresh(struct lws *wsi, unsigned int sid, int threshold, int bump) in lws_h2_update_peer_txcredit_thresh() argument 210 return lws_h2_update_peer_txcredit(wsi, sid, bum in lws_h2_update_peer_txcredit_thresh() 216 __lws_wsi_server_new(struct lws_vhost *vh, struct lws *parent_wsi, unsigned int sid) __lws_wsi_server_new() argument [all...] |
H A D | private-lib-roles-h2.h | 220 uint32_t sid; member 227 uint32_t sid; member 235 uint32_t sid; member 283 uint32_t sid; member 336 lws_h2_frame_write(struct lws *wsi, int type, int flags, unsigned int sid, 339 lws_wsi_mux_from_id(struct lws *wsi, unsigned int sid);
|
/third_party/musl/porting/liteos_a/user/src/unistd/ |
H A D | setxid.c | 7 int id, eid, sid; member 15 int ret = __syscall(c->nr, c->id, c->eid, c->sid); in do_setxid() 27 int __setxid(int nr, int id, int eid, int sid) in __setxid() argument 31 struct ctx c = { .nr = nr, .id = id, .eid = eid, .sid = sid, .ret = 1 }; in __setxid()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | setsid.c | 42 pid_t sid = getsid(pid); in setsid_0100() local 43 if (sid < 0) { in setsid_0100() 44 t_error("%s failed: sid = %d\n", __func__, sid); in setsid_0100() 47 if (result != sid) { in setsid_0100() 48 t_error("%s failed: result = %d, sid = %d\n", __func__, result, sid); in setsid_0100()
|
/third_party/node/deps/icu-small/source/tools/genrb/ |
H A D | wrtxml.cpp | 557 char *sid = nullptr; in printContainer() local 563 sid = getID(id, resname, sid); in printContainer() 565 sid = getID(id, nullptr, sid); in printContainer() 570 printAttribute("id", sid, (int32_t) uprv_strlen(sid)); in printContainer() 592 return sid; in printContainer() 625 char *sid = nullptr; in string_write_xml() local 633 sid in string_write_xml() 661 char *sid = nullptr; alias_write_xml() local 692 char* sid = nullptr; array_write_xml() local 729 char* sid = nullptr; intvector_write_xml() local 778 char* sid = nullptr; int_write_xml() local 807 char* sid = nullptr; bin_write_xml() local 928 char* sid = nullptr; table_write_xml() local [all...] |
/third_party/icu/icu4c/source/tools/genrb/ |
H A D | wrtxml.cpp | 557 char *sid = NULL; in printContainer() local 563 sid = getID(id, resname, sid); in printContainer() 565 sid = getID(id, NULL, sid); in printContainer() 570 printAttribute("id", sid, (int32_t) uprv_strlen(sid)); in printContainer() 592 return sid; in printContainer() 625 char *sid = NULL; in string_write_xml() local 633 sid in string_write_xml() 661 char *sid = NULL; alias_write_xml() local 692 char* sid = NULL; array_write_xml() local 729 char* sid = NULL; intvector_write_xml() local 778 char* sid = NULL; int_write_xml() local 807 char* sid = NULL; bin_write_xml() local 928 char* sid = NULL; table_write_xml() local [all...] |
/third_party/skia/third_party/externals/icu/source/tools/genrb/ |
H A D | wrtxml.cpp | 557 char *sid = NULL; in printContainer() local 563 sid = getID(id, resname, sid); in printContainer() 565 sid = getID(id, NULL, sid); in printContainer() 570 printAttribute("id", sid, (int32_t) uprv_strlen(sid)); in printContainer() 592 return sid; in printContainer() 625 char *sid = NULL; in string_write_xml() local 633 sid in string_write_xml() 661 char *sid = NULL; alias_write_xml() local 692 char* sid = NULL; array_write_xml() local 729 char* sid = NULL; intvector_write_xml() local 778 char* sid = NULL; int_write_xml() local 807 char* sid = NULL; bin_write_xml() local 930 char* sid = NULL; table_write_xml() local [all...] |
/third_party/musl/src/unistd/ |
H A D | setxid.c | 7 int id, eid, sid; member 15 int ret = __syscall(c->nr, c->id, c->eid, c->sid); in do_setxid() 27 int __setxid(int nr, int id, int eid, int sid) in __setxid() argument 31 struct ctx c = { .nr = nr, .id = id, .eid = eid, .sid = sid, .ret = 1 }; in __setxid()
|
/third_party/selinux/libselinux/include/selinux/ |
H A D | avc.h | 31 * @sid: input SID 35 * @sid in the memory referenced by @ctx. The caller is expected to 40 extern int avc_sid_to_context(security_id_t sid, char ** ctx); 41 extern int avc_sid_to_context_raw(security_id_t sid, char ** ctx); 46 * @sid: pointer to SID reference 51 * to the SID structure into the memory referenced by @sid, 54 extern int avc_context_to_sid(const char * ctx, security_id_t * sid); 55 extern int avc_context_to_sid_raw(const char * ctx, security_id_t * sid); 59 * @sid: SID reference 61 * Increment the reference counter for @sid, indicatin [all...] |
/third_party/selinux/libsepol/include/sepol/policydb/ |
H A D | sidtab.h | 20 sepol_security_id_t sid; /* security identifier */ member 43 sepol_security_id_t sid, 47 sepol_security_id_t sid); 50 int (*apply) (sepol_security_id_t sid, 63 sepol_security_id_t * sid); /* OUT */
|
/third_party/mesa3d/src/gallium/drivers/svga/include/ |
H A D | svga3d_cmd.h | 386 uint32 sid; member 414 uint32 sid; member 444 uint32 sid; member 502 uint32 sid; member 838 uint32 indexBufferSid; // Valid index buffer sid. 907 uint32 sid; member 1211 uint32 sid; member 1220 uint32 sid; member 1228 uint32 sid; member 1498 uint32 sid; member 1711 uint32 sid; global() member 1731 uint32 sid; global() member 1750 uint32 sid; global() member 1770 uint32 sid; global() member 1782 uint32 sid; global() member 1791 uint32 sid; global() member 1811 uint32 sid; global() member 1841 uint32 sid; global() member 1867 uint32 sid; global() member 1911 uint32 sid; global() member [all...] |
H A D | svga3d_dx.h | 229 SVGA3dSurfaceId sid; member 404 SVGA3dSurfaceId sid; member 423 SVGA3dSurfaceId sid; member 463 SVGA3dSurfaceId sid; member 473 SVGA3dSurfaceId sid; member 676 SVGA3dSurfaceId sid; member 926 SVGA3dSurfaceId sid; member 937 SVGA3dSurfaceId sid; member 947 SVGA3dSurfaceId sid; member 1061 SVGA3dSurfaceId sid; member 1132 SVGA3dSurfaceId sid; global() member 1146 SVGA3dSurfaceId sid; global() member 1192 SVGA3dSurfaceId sid; global() member 1206 SVGA3dSurfaceId sid; global() member 1234 SVGA3dSurfaceId sid; global() member 1253 SVGA3dSurfaceId sid; global() member 1273 SVGA3dSurfaceId sid; global() member 1335 SVGA3dSurfaceId sid; global() member 1350 SVGA3dSurfaceId sid; global() member 1938 SVGA3dSurfaceId sid; global() member 2036 uint32 sid; global() member [all...] |
/third_party/musl/src/termios/ |
H A D | tcgetsid.c | 6 int sid; in tcgetsid() local 7 if (ioctl(fd, TIOCGSID, &sid) < 0) in tcgetsid() 9 return sid; in tcgetsid()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | wpas_kay.c | 267 const u8 *addr, u8 *sid, size_t *len) in ieee802_1x_auth_get_session_id() 285 os_memcpy(sid, session_id, need_len); in ieee802_1x_auth_get_session_id() 324 u8 *sid; in ieee802_1x_notify_create_actor() local 339 sid = os_zalloc(sid_len); in ieee802_1x_notify_create_actor() 342 if (!msk || !sid || !ckn || !cak) in ieee802_1x_notify_create_actor() 351 if (ieee802_1x_auth_get_session_id(wpa_s, wpa_s->bssid, sid, &sid_len)) in ieee802_1x_notify_create_actor() 371 peer_addr, sid, sid_len, ckn->name)) { in ieee802_1x_notify_create_actor() 386 os_free(sid); in ieee802_1x_notify_create_actor() 266 ieee802_1x_auth_get_session_id(struct wpa_supplicant *wpa_s, const u8 *addr, u8 *sid, size_t *len) ieee802_1x_auth_get_session_id() argument
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | wpas_kay.c | 267 const u8 *addr, u8 *sid, size_t *len) in ieee802_1x_auth_get_session_id() 285 os_memcpy(sid, session_id, need_len); in ieee802_1x_auth_get_session_id() 324 u8 *sid; in ieee802_1x_notify_create_actor() local 339 sid = os_zalloc(sid_len); in ieee802_1x_notify_create_actor() 342 if (!msk || !sid || !ckn || !cak) in ieee802_1x_notify_create_actor() 351 if (ieee802_1x_auth_get_session_id(wpa_s, wpa_s->bssid, sid, &sid_len)) in ieee802_1x_notify_create_actor() 371 peer_addr, sid, sid_len, ckn->name)) { in ieee802_1x_notify_create_actor() 386 os_free(sid); in ieee802_1x_notify_create_actor() 266 ieee802_1x_auth_get_session_id(struct wpa_supplicant *wpa_s, const u8 *addr, u8 *sid, size_t *len) ieee802_1x_auth_get_session_id() argument
|