Home
last modified time | relevance | path

Searched refs:sid (Results 1 - 25 of 304) sorted by relevance

12345678910>>...13

/third_party/ntfs-3g/ntfsprogs/
H A Dsd.c28 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 Dntfsusermap.c187 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...]
/foundation/communication/ipc/ipc/test/rpc/samgr/
H A Drpc_samgr.c29 SvcIdentity *sid; member
41 static int32_t AddSystemAbility(int32_t saId, SvcIdentity *sid) in AddSystemAbility() argument
43 RPC_LOG_INFO("AddSystemAbility called.... handle = %d", sid->handle); in AddSystemAbility()
44 RPC_LOG_INFO("AddSystemAbility called.... cookie = %u", sid->cookie); in AddSystemAbility()
55 node->sid = sid; in AddSystemAbility()
60 static int32_t GetSystemAbility(int32_t saId, const char* deviceId, SvcIdentity *sid) in GetSystemAbility() argument
67 sid->handle = node->sid->handle; in GetSystemAbility()
68 sid in GetSystemAbility()
77 AddRemoteSystemAbility(int32_t saId, SvcIdentity *sid) AddRemoteSystemAbility() argument
93 GetRemoteSystemAbility(IpcIo *data, SvcIdentity *sid) GetRemoteSystemAbility() argument
122 SvcIdentity sid; RemoteRequest() local
130 SvcIdentity *sid = (SvcIdentity *)malloc(sizeof(SvcIdentity)); RemoteRequest() local
140 SvcIdentity sid; RemoteRequest() local
148 SvcIdentity *sid = (SvcIdentity *)malloc(sizeof(SvcIdentity)); RemoteRequest() local
[all...]
H A Drpc_mini_samgr.c32 SvcIdentity *sid; member
47 int32_t AddSystemAbility(int32_t saId, SvcIdentity *sid) in AddSystemAbility() argument
49 RPC_LOG_INFO("AddSystemAbility called.... handle = %d", sid->handle); in AddSystemAbility()
50 RPC_LOG_INFO("AddSystemAbility called.... cookie = %u, said = %d", sid->cookie, saId); in AddSystemAbility()
61 node->sid = (SvcIdentity *)calloc(1, sizeof(SvcIdentity)); in AddSystemAbility()
62 if (memcpy_s(node->sid, sizeof(SvcIdentity), sid, sizeof(SvcIdentity)) != EOK) { in AddSystemAbility()
64 free(node->sid); in AddSystemAbility()
69 node->sid->handle = GetNextHandle(); in AddSystemAbility()
82 WriteRemoteObject(reply, node->sid); in GetSystemAbilityById()
95 SvcIdentity sid; AddRemoteSystemAbility() local
118 SvcIdentity sid; GetRemoteSystemAbility() local
[all...]
/foundation/communication/ipc/ipc/test/unittest/rpc/samgr/
H A DRpcSamgrTest.cpp31 SvcIdentity *sid; member
37 int32_t AddSystemAbility(int32_t saId, SvcIdentity *sid) in AddSystemAbility() argument
42 RPC_LOG_INFO("AddSystemAbility called.... handle = %d", sid->handle); in AddSystemAbility()
43 RPC_LOG_INFO("AddSystemAbility called.... cookie = %u", sid->cookie); in AddSystemAbility()
54 node->sid = sid; in AddSystemAbility()
59 int32_t GetSystemAbility(int32_t saId, const char* deviceId, SvcIdentity *sid) in GetSystemAbility() argument
66 sid->handle = node->sid->handle; in GetSystemAbility()
67 sid in GetSystemAbility()
76 AddRemoteSystemAbility(int32_t saId, SvcIdentity *sid) AddRemoteSystemAbility() argument
92 GetRemoteSystemAbility(IpcIo *data, SvcIdentity *sid) GetRemoteSystemAbility() argument
119 SvcIdentity sid; GetSystemAbilityTransaction() local
129 SvcIdentity *sid = (SvcIdentity *)malloc(sizeof(SvcIdentity)); AddRemoteSystemAbilityTransaction() local
153 SvcIdentity *sid = (SvcIdentity *)malloc(sizeof(SvcIdentity)); RemoteRequest() local
163 SvcIdentity sid; RemoteRequest() local
[all...]
/third_party/selinux/libsepol/src/
H A Dsidtab.c20 #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...]
/foundation/communication/ipc/ipc/test/ipc/samgr/
H A Dsamgr.c29 SvcIdentity *sid; member
34 static int32_t AddSystemAbility(int32_t saId, SvcIdentity *sid) in AddSystemAbility() argument
45 node->sid = sid; in AddSystemAbility()
50 static int32_t GetSystemAbility(int32_t saId, const char* deviceId, SvcIdentity *sid) in GetSystemAbility() argument
58 sid->handle = node->sid->handle; in GetSystemAbility()
59 sid->token = node->sid->token; in GetSystemAbility()
60 sid in GetSystemAbility()
75 SvcIdentity *sid = (SvcIdentity *)malloc(sizeof(SvcIdentity)); RemoteRequest() local
87 SvcIdentity sid; RemoteRequest() local
[all...]
/foundation/communication/ipc/ipc/test/unittest/ipc/samgr/
H A DIpcSamgrTest.cpp28 SvcIdentity *sid; member
35 int32_t AddSystemAbility(int32_t saId, SvcIdentity *sid) in AddSystemAbility() argument
46 node->sid = sid; in AddSystemAbility()
53 int32_t GetSystemAbility(int32_t saId, const char* deviceId, SvcIdentity *sid) in GetSystemAbility() argument
60 sid->handle = node->sid->handle; in GetSystemAbility()
61 sid->token = node->sid->token; in GetSystemAbility()
62 sid in GetSystemAbility()
79 SvcIdentity *sid = (SvcIdentity *)malloc(sizeof(SvcIdentity)); RemoteRequest() local
91 SvcIdentity sid; RemoteRequest() local
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/manual/termios/
H A Dtcgetsid.c31 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()
/foundation/communication/ipc/ipc/test/rpc/client/
H A Drpc_client.c53 static void RpcClientTestOne(SvcIdentity sid, MessageOption option) in RpcClientTestOne() argument
63 int32_t ret = SendRequest(sid, OP_ADD, &data2, &reply2, option, &ptr2); in RpcClientTestOne()
76 static void RpcClientTestTwo(SvcIdentity sid, MessageOption option) in RpcClientTestTwo() argument
86 int32_t ret = SendRequest(sid, OP_MULTI, &data3, &reply3, option, &ptr3); in RpcClientTestTwo()
128 SvcIdentity sid; in main() local
129 ReadRemoteObject(&reply1, &sid); in main()
130 RPC_LOG_INFO("call server add func server handle = %d.", sid.handle); in main()
134 ret = AddDeathRecipient(sid, ServerDead1, NULL, &cbId1); in main()
137 RpcClientTestOne(sid, option); in main()
138 RpcClientTestTwo(sid, optio in main()
[all...]
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-cff1-table.hh154 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 Dhb-subset-cff1.cc44 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...]
/foundation/ability/ability_lite/frameworks/abilitymgr_lite/src/
H A Dability_service_manager.cpp41 if (storeArgs->sid != nullptr) { in ~AbilityServiceManager()
42 delete storeArgs->sid; in ~AbilityServiceManager()
66 storeArgs->sid->handle = IPC_INVALID_HANDLE; in ConnectAbility()
67 storeArgs->sid->token = SERVICE_TYPE_ANONYMOUS; in ConnectAbility()
68 storeArgs->sid->cookie = reinterpret_cast<uintptr_t>(&objectStub_); in ConnectAbility()
70 int32_t result = AbilityMsClient::GetInstance().ScheduleAms(&want, token, storeArgs->sid, CONNECT_ABILITY); in ConnectAbility()
73 delete storeArgs->sid; in ConnectAbility()
86 int result = AbilityMsClient::GetInstance().ScheduleAms(nullptr, token, storeArgs->sid, DISCONNECT_ABILITY); in DisconnectAbility()
106 storeArgs->sid = new SvcIdentity(); in AddStoreArgs()
150 // parse service sid in ConnectAbilityCallBack()
[all...]
/foundation/communication/ipc/ipc/test/unittest/rpc/client/
H A DRpcClientTest.cpp42 SvcIdentity sid; member
119 ReadRemoteObject(&reply1, &sid); in HWTEST_F()
120 RPC_LOG_INFO("call server add func server handle = %d.", sid.handle); in HWTEST_F()
121 EXPECT_NE(sid.handle, INVALID_HANDLE); in HWTEST_F()
141 int32_t oldHandle = sid.handle; in HWTEST_F()
142 sid.handle = INVALID_HANDLE; in HWTEST_F()
143 int32_t ret = SendRequest(sid, OP_ADD, &data2, &reply2, option, &ptr2); in HWTEST_F()
148 sid.handle = oldHandle; in HWTEST_F()
149 EXPECT_EQ(sid.handle, oldHandle); in HWTEST_F()
168 int32_t ret = SendRequest(sid, OP_AD in HWTEST_F()
[all...]
/foundation/distributedhardware/device_manager/services/service/src/ipc/lite/
H A Dipc_server_stub.cpp64 SvcIdentity sid = {0}; in DeathCb() local
65 sid.handle = svcId.handle; in DeathCb()
66 sid.token = svcId.token; in DeathCb()
67 sid.cookie = svcId.cookie; in DeathCb()
68 ReleaseSvc(sid); in DeathCb()
125 SvcIdentity sid; in UnRegisterDeviceManagerListener() local
126 sid.handle = svcId.handle; in UnRegisterDeviceManagerListener()
127 sid.token = svcId.token; in UnRegisterDeviceManagerListener()
128 sid.cookie = svcId.cookie; in UnRegisterDeviceManagerListener()
129 ReleaseSvc(sid); in UnRegisterDeviceManagerListener()
[all...]
/third_party/alsa-lib/modules/mixer/simple/
H A Dsbase.c331 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/musl/porting/liteos_a/user/src/unistd/
H A Dsetxid.c7 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 Dsetsid.c42 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/ntfs-3g/libntfs-3g/
H A Dacls.c160 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 Dhttp2.c154 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...]
/third_party/musl/src/unistd/
H A Dsetxid.c7 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 Davc.h31 * @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 Dsidtab.h20 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/node/deps/icu-small/source/tools/genrb/
H A Dwrtxml.cpp557 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 Dwrtxml.cpp557 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...]

Completed in 14 milliseconds

12345678910>>...13