Home
last modified time | relevance | path

Searched refs:sid (Results 1 – 25 of 531) sorted by relevance

12345678910>>...22

/external/selinux/libsepol/src/
Dsidtab.c19 #define SIDTAB_HASH(sid) \ argument
20 (sid & SIDTAB_HASH_MASK)
42 int sepol_sidtab_insert(sidtab_t * s, sepol_security_id_t sid, in sepol_sidtab_insert() argument
51 hvalue = SIDTAB_HASH(sid); in sepol_sidtab_insert()
54 while (cur != NULL && sid > cur->sid) { in sepol_sidtab_insert()
59 if (cur && sid == cur->sid) { in sepol_sidtab_insert()
67 newnode->sid = sid; in sepol_sidtab_insert()
82 if (sid >= s->next_sid) in sepol_sidtab_insert()
83 s->next_sid = sid + 1; in sepol_sidtab_insert()
87 int sepol_sidtab_remove(sidtab_t * s, sepol_security_id_t sid) in sepol_sidtab_remove() argument
[all …]
Dservices.c1280 int hidden sepol_sid_to_context(sepol_security_id_t sid, in sepol_sid_to_context() argument
1287 context = sepol_sidtab_search(sidtab, sid); in sepol_sid_to_context()
1289 ERR(NULL, "unrecognized SID %d", sid); in sepol_sid_to_context()
1304 size_t scontext_len, sepol_security_id_t * sid) in sepol_context_to_sid() argument
1315 if (sid && (sepol_sidtab_context_to_sid(sidtab, context, sid) < 0)) in sepol_context_to_sid()
1589 static int clone_sid(sepol_security_id_t sid, in clone_sid() argument
1594 return sepol_sidtab_insert(s, sid, context); in clone_sid()
1887 if (!c->sid[0] || !c->sid[1]) { in sepol_fs_sid()
1890 &c->sid[0]); in sepol_fs_sid()
1895 &c->sid[1]); in sepol_fs_sid()
[all …]
/external/selinux/secilc/docs/
Dcil_sid_statements.md4 sid section in SID Statements
11 (sid sid_id)
22 <td align="left"><p><code>sid</code></p></td>
23 <td align="left"><p>The <code>sid</code> keyword.</p></td>
27 <td align="left"><p>The <code>sid</code> identifier.</p></td>
34 These examples show three [`sid`](cil_sid_statements.md#sid) declarations:
36 (sid kernel)
37 (sid security)
38 (sid igmp_packet)
43 Defines the order of [sid](#sid)'s. This is a mandatory statement when SIDs are defined. Multiple […
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
DSignerInfo.java79 private SignerIdentifier sid; field in SignerInfo
125 SignerIdentifier sid, in SignerInfo() argument
132 if (sid.isTagged()) in SignerInfo()
141 this.sid = sid; in SignerInfo()
159 SignerIdentifier sid, in SignerInfo() argument
166 if (sid.isTagged()) in SignerInfo()
175 this.sid = sid; in SignerInfo()
192 sid = SignerIdentifier.getInstance(e.nextElement()); in SignerInfo()
228 return sid; in getSID()
264 v.add(sid); in toASN1Primitive()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/cms/
DSignerInfo.java81 private SignerIdentifier sid; field in SignerInfo
127 SignerIdentifier sid, in SignerInfo() argument
134 if (sid.isTagged()) in SignerInfo()
143 this.sid = sid; in SignerInfo()
161 SignerIdentifier sid, in SignerInfo() argument
168 if (sid.isTagged()) in SignerInfo()
177 this.sid = sid; in SignerInfo()
194 sid = SignerIdentifier.getInstance(e.nextElement()); in SignerInfo()
230 return sid; in getSID()
266 v.add(sid); in toASN1Primitive()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/cms/
DSignerInfo.java81 private SignerIdentifier sid; field in SignerInfo
127 SignerIdentifier sid, in SignerInfo() argument
134 if (sid.isTagged()) in SignerInfo()
143 this.sid = sid; in SignerInfo()
161 SignerIdentifier sid, in SignerInfo() argument
168 if (sid.isTagged()) in SignerInfo()
177 this.sid = sid; in SignerInfo()
194 sid = SignerIdentifier.getInstance(e.nextElement()); in SignerInfo()
230 return sid; in getSID()
266 v.add(sid); in toASN1Primitive()
/external/webrtc/pc/
Dsctp_data_channel.cc94 bool SctpSidAllocator::AllocateSid(rtc::SSLRole role, int* sid) { in AllocateSid() argument
103 *sid = potential_sid; in AllocateSid()
108 bool SctpSidAllocator::ReserveSid(int sid) { in ReserveSid() argument
109 if (!IsSidAvailable(sid)) { in ReserveSid()
112 used_sids_.insert(sid); in ReserveSid()
116 void SctpSidAllocator::ReleaseSid(int sid) { in ReleaseSid() argument
117 auto it = used_sids_.find(sid); in ReleaseSid()
123 bool SctpSidAllocator::IsSidAvailable(int sid) const { in IsSidAvailable()
124 if (sid < static_cast<int>(cricket::kMinSctpSid) || in IsSidAvailable()
125 sid > static_cast<int>(cricket::kMaxSctpSid)) { in IsSidAvailable()
[all …]
Dsctp_data_channel.h45 virtual void AddSctpDataStream(int sid) = 0;
48 virtual void RemoveSctpDataStream(int sid) = 0;
73 bool AllocateSid(rtc::SSLRole role, int* sid);
76 bool ReserveSid(int sid);
79 void ReleaseSid(int sid);
83 bool IsSidAvailable(int sid) const;
191 void SetSctpSid(int sid);
194 void OnClosingProcedureStartedRemotely(int sid);
198 void OnClosingProcedureComplete(int sid);
/external/libwebsockets/plugins/generic-sessions/
Dutils.c66 lwsgw_cookie_from_session(lwsgw_hash *sid, time_t expires, char **p, char *end) in lwsgw_cookie_from_session() argument
71 *p += lws_snprintf(*p, end - *p, "id=%s;Expires=", sid->id); in lwsgw_cookie_from_session()
137 lwsgw_session_from_cookie(const char *cookie, lwsgw_hash *sid) in lwsgw_session_from_cookie() argument
154 for (n = 0; n < (int)sizeof(sid->id) - 1 && *p; n++) { in lwsgw_session_from_cookie()
158 sid->id[n] = *p++; in lwsgw_session_from_cookie()
165 if (n < (int)sizeof(sid->id) - 1) { in lwsgw_session_from_cookie()
170 sid->id[sizeof(sid->id) - 1] = '\0'; in lwsgw_session_from_cookie()
176 lwsgs_get_sid_from_wsi(struct lws *wsi, lwsgw_hash *sid) in lwsgs_get_sid_from_wsi() argument
190 if (lwsgw_session_from_cookie(cookie, sid)) { in lwsgs_get_sid_from_wsi()
223 const lwsgw_hash *sid, char *username, int len) in lwsgs_lookup_session() argument
[all …]
Dprotocol_generic_sessions.c69 lwsgw_hash sid; in lwsgs_subst() local
75 if (!lwsgs_get_sid_from_wsi(a->wsi, &sid)) { in lwsgs_subst()
76 if (lwsgs_lookup_session(a->vhd, &sid, a->pss->result, 31)) { in lwsgs_subst()
77 lwsl_notice("sid lookup for %s failed\n", sid.id); in lwsgs_subst()
78 a->pss->delete_session = sid; in lwsgs_subst()
88 a->pss->delete_session = sid; in lwsgs_subst()
145 lwsgw_hash sid; in callback_generic_sessions() local
408 sid.id[0] = '\0'; in callback_generic_sessions()
412 if (!lwsgs_get_sid_from_wsi(wsi, &sid)) { in callback_generic_sessions()
413 if (lwsgs_lookup_session(vhd, &sid, username, in callback_generic_sessions()
[all …]
/external/libwebsockets/lib/roles/h2/
Dhttp2.c154 lws_h2_update_peer_txcredit(struct lws *wsi, int sid, int bump) in lws_h2_update_peer_txcredit() argument
164 if (sid == -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 = 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, int sid, int threshold, int bump) in lws_h2_update_peer_txcredit_thresh() argument
210 return lws_h2_update_peer_txcredit(wsi, sid, bump); in lws_h2_update_peer_txcredit_thresh()
215 unsigned int sid) in lws_wsi_server_new() argument
229 if (sid <= h2n->highest_sid_opened) { in lws_wsi_server_new()
[all …]
/external/webrtc/pc/test/
Dfake_data_channel_provider.h66 void AddSctpDataStream(int sid) override { in AddSctpDataStream() argument
67 RTC_CHECK(sid >= 0); in AddSctpDataStream()
71 send_ssrcs_.insert(sid); in AddSctpDataStream()
72 recv_ssrcs_.insert(sid); in AddSctpDataStream()
75 void RemoveSctpDataStream(int sid) override { in RemoveSctpDataStream() argument
76 RTC_CHECK(sid >= 0); in RemoveSctpDataStream()
77 send_ssrcs_.erase(sid); in RemoveSctpDataStream()
78 recv_ssrcs_.erase(sid); in RemoveSctpDataStream()
84 ch->OnClosingProcedureComplete(sid); in RemoveSctpDataStream()
/external/icu/icu4c/source/tools/genrb/
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 = printContainer(res, trans_unit, NULL, NULL, id, status); in string_write_xml()
656 uprv_free(sid); in string_write_xml()
661 char *sid = NULL; in alias_write_xml() local
665 sid = printContainer(res, trans_unit, alias_restype, NULL, id, status); in alias_write_xml()
[all …]
/external/libcups/templates/ru/
Djobs.tmpl20 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
22 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
25 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
28 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
30 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
/external/libcups/templates/ja/
Djobs.tmpl20 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
22 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
25 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
28 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
30 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
/external/libcups/templates/pt_BR/
Djobs.tmpl20 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
22 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
25 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
28 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
30 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
/external/libcups/templates/da/
Djobs.tmpl20 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
22 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
25 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
28 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
30 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
/external/libcups/templates/
Djobs.tmpl20 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
22 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
25 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
28 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
30 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
/external/libcups/templates/es/
Djobs.tmpl20 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
23 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
26 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
29 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
31 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
/external/libcups/templates/de/
Djobs.tmpl20 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
23 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
26 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
29 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
31 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
/external/ltp/testcases/kernel/containers/pidns/
Dpidns02.c67 pid_t pgid, sid; in child_fn1() local
72 sid = getsid(0); in child_fn1()
75 if (pgid == PGID && sid == SID) { in child_fn1()
77 pgid, sid); in child_fn1()
81 "%d\n", pgid, sid); in child_fn1()
/external/libcups/templates/fr/
Djobs.tmpl20 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
22 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
25 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
28 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
30 <FORM ACTION="/jobs/" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="org.cups.sid" VALUE="{$org.cups.sid}…
/external/selinux/libsepol/include/sepol/policydb/
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 */
/external/selinux/libselinux/include/selinux/
Davc.h40 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);
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);
67 extern int sidget(security_id_t sid);
79 extern int sidput(security_id_t sid);
90 extern int avc_get_initial_sid(const char *name, security_id_t * sid);
/external/webrtc/modules/video_coding/codecs/av1/
Dlibaom_av1_encoder.cc323 for (int sid = 0; sid < svc_config.num_spatial_layers; ++sid) { in SetSvcParams() local
324 svc_params.scaling_factor_num[sid] = svc_config.scaling_factor_num[sid]; in SetSvcParams()
325 svc_params.scaling_factor_den[sid] = svc_config.scaling_factor_den[sid]; in SetSvcParams()
519 for (int sid = 0; sid < svc_params_->number_spatial_layers; ++sid) { in Encode() local
520 int n = svc_params_->scaling_factor_num[sid]; in Encode()
521 int d = svc_params_->scaling_factor_den[sid]; in Encode()
522 resolutions[sid] = in Encode()
564 for (int sid = 0; sid < svc_params_->number_spatial_layers; ++sid) { in SetRates() local
571 int layer_index = sid * svc_params_->number_temporal_layers + tid; in SetRates()
572 accumulated_bitrate_bps += parameters.bitrate.GetBitrate(sid, tid); in SetRates()

12345678910>>...22