/external/selinux/libsepol/src/ |
D | sidtab.c | 19 #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 …]
|
D | services.c | 1220 int hidden sepol_sid_to_context(sepol_security_id_t sid, in sepol_sid_to_context() argument 1227 context = sepol_sidtab_search(sidtab, sid); in sepol_sid_to_context() 1229 ERR(NULL, "unrecognized SID %d", sid); in sepol_sid_to_context() 1244 size_t scontext_len, sepol_security_id_t * sid) in sepol_context_to_sid() argument 1255 if (sid && (sepol_sidtab_context_to_sid(sidtab, context, sid) < 0)) in sepol_context_to_sid() 1529 static int clone_sid(sepol_security_id_t sid, in clone_sid() argument 1534 return sepol_sidtab_insert(s, sid, context); in clone_sid() 1790 if (!c->sid[0] || !c->sid[1]) { in sepol_fs_sid() 1793 &c->sid[0]); in sepol_fs_sid() 1798 &c->sid[1]); in sepol_fs_sid() [all …]
|
/external/selinux/secilc/docs/ |
D | cil_sid_statements.md | 4 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/chromium-trace/catapult/third_party/webapp2/webapp2_extras/appengine/ |
D | sessions_ndb.py | 57 def get_by_sid(cls, sid): argument 65 data = memcache.get(sid) 67 session = model.Key(cls, sid).get() 70 memcache.set(sid, data) 100 def _get_by_sid(self, sid): argument 102 if self._is_valid_sid(sid): 103 data = self.session_model.get_by_sid(sid) 105 self.sid = sid 108 self.sid = self._get_new_sid() 115 self.session_model(id=self.sid, data=dict(self.session))._put() [all …]
|
D | sessions_memcache.py | 34 def _get_by_sid(self, sid): argument 36 if self._is_valid_sid(sid): 37 data = memcache.get(sid) 39 self.sid = sid 42 self.sid = self._get_new_sid() 49 memcache.set(self.sid, dict(self.session)) 51 response, self.name, {'_sid': self.sid}, **self.session_args)
|
/external/libvncserver/libvncclient/ |
D | h264.c | 46 static int sid = 0; variable 184 sid = 0; in h264_cleanup_decoder() 301 …ace_id[%d]=0x%x field_order_count=%d\n", __FUNCTION__, frame_id, sid, va_surface_id[sid], field_or… in h264_decode_frame() 303 va_picture_h264.picture_id = va_surface_id[sid]; in h264_decode_frame() 310 if (va_pic_param_buf_id[sid] == VA_INVALID_ID) { in h264_decode_frame() 311 …tureParameterBufferType, sizeof(VAPictureParameterBufferH264), 1, NULL, &va_pic_param_buf_id[sid]); in h264_decode_frame() 314 CHECK_SURF(va_surface_id[sid]); in h264_decode_frame() 317 va_status = vaMapBuffer(va_dpy, va_pic_param_buf_id[sid], (void **)&pic_param_buf); in h264_decode_frame() 333 va_status = vaUnmapBuffer(va_dpy, va_pic_param_buf_id[sid]); in h264_decode_frame() 337 if (va_mat_param_buf_id[sid] == VA_INVALID_ID) { in h264_decode_frame() [all …]
|
/external/dbus/bus/ |
D | selinux.c | 59 #define BUS_SID_FROM_SELINUX(sid) ((BusSELinuxID*) (sid)) argument 60 #define SELINUX_SID_FROM_BUS(sid) ((security_id_t) (sid)) argument 387 bus_selinux_id_unref (BusSELinuxID *sid) in bus_selinux_id_unref() argument 393 _dbus_assert (sid != NULL); in bus_selinux_id_unref() 395 sidput (SELINUX_SID_FROM_BUS (sid)); in bus_selinux_id_unref() 400 bus_selinux_id_ref (BusSELinuxID *sid) in bus_selinux_id_ref() argument 406 _dbus_assert (sid != NULL); in bus_selinux_id_ref() 408 sidget (SELINUX_SID_FROM_BUS (sid)); in bus_selinux_id_ref() 655 BusSELinuxID *sid, in bus_selinux_append_context() argument 661 if (avc_sid_to_context (SELINUX_SID_FROM_BUS (sid), &context) < 0) in bus_selinux_append_context() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/ |
D | SignerInfo.java | 79 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/icu/icu4c/source/tools/genrb/ |
D | wrtxml.cpp | 550 char *sid = NULL; in printContainer() local 556 sid = getID(id, resname, sid); in printContainer() 558 sid = getID(id, NULL, sid); in printContainer() 563 printAttribute("id", sid, (int32_t) uprv_strlen(sid)); in printContainer() 585 return sid; in printContainer() 618 char *sid = NULL; in string_write_xml() local 626 sid = printContainer(res, trans_unit, NULL, NULL, id, status); in string_write_xml() 649 uprv_free(sid); in string_write_xml() 654 char *sid = NULL; in alias_write_xml() local 658 sid = printContainer(res, trans_unit, alias_restype, NULL, id, status); in alias_write_xml() [all …]
|
/external/webrtc/talk/app/webrtc/test/ |
D | fakedatachannelprovider.h | 76 void AddSctpDataStream(int sid) override { in AddSctpDataStream() argument 77 ASSERT(sid >= 0); in AddSctpDataStream() 81 send_ssrcs_.insert(sid); in AddSctpDataStream() 82 recv_ssrcs_.insert(sid); in AddSctpDataStream() 85 void RemoveSctpDataStream(int sid) override { in RemoveSctpDataStream() argument 86 ASSERT(sid >= 0); in RemoveSctpDataStream() 87 send_ssrcs_.erase(sid); in RemoveSctpDataStream() 88 recv_ssrcs_.erase(sid); in RemoveSctpDataStream()
|
/external/webrtc/talk/app/webrtc/ |
D | datachannel.cc | 47 bool SctpSidAllocator::AllocateSid(rtc::SSLRole role, int* sid) { in AllocateSid() argument 56 *sid = potential_sid; in AllocateSid() 61 bool SctpSidAllocator::ReserveSid(int sid) { in ReserveSid() argument 62 if (!IsSidAvailable(sid)) { in ReserveSid() 65 used_sids_.insert(sid); in ReserveSid() 69 void SctpSidAllocator::ReleaseSid(int sid) { in ReleaseSid() argument 70 auto it = used_sids_.find(sid); in ReleaseSid() 76 bool SctpSidAllocator::IsSidAvailable(int sid) const { in IsSidAvailable() 77 if (sid < 0 || sid > static_cast<int>(cricket::kMaxSctpSid)) { in IsSidAvailable() 80 return used_sids_.find(sid) == used_sids_.end(); in IsSidAvailable() [all …]
|
D | datachannel.h | 58 virtual void AddSctpDataStream(int sid) = 0; 60 virtual void RemoveSctpDataStream(int sid) = 0; 94 bool AllocateSid(rtc::SSLRole role, int* sid); 97 bool ReserveSid(int sid); 100 void ReleaseSid(int sid); 104 bool IsSidAvailable(int sid) const; 164 void OnStreamClosedRemotely(uint32_t sid); 173 void SetSctpSid(int sid);
|
/external/libselinux/include/selinux/ |
D | avc.h | 40 int avc_sid_to_context(security_id_t sid, char ** ctx); 41 int avc_sid_to_context_raw(security_id_t sid, char ** ctx); 54 int avc_context_to_sid(const char * ctx, security_id_t * sid); 55 int avc_context_to_sid_raw(const char * ctx, security_id_t * sid); 67 int sidget(security_id_t sid); 79 int sidput(security_id_t sid); 90 int avc_get_initial_sid(const char *name, security_id_t * sid);
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | sidtab.h | 19 sepol_security_id_t sid; /* security identifier */ member 42 sepol_security_id_t sid, 46 sepol_security_id_t sid); 49 int (*apply) (sepol_security_id_t sid, 62 sepol_security_id_t * sid); /* OUT */
|
/external/selinux/libselinux/include/selinux/ |
D | avc.h | 40 int avc_sid_to_context(security_id_t sid, char ** ctx); 41 int avc_sid_to_context_raw(security_id_t sid, char ** ctx); 54 int avc_context_to_sid(const char * ctx, security_id_t * sid); 55 int avc_context_to_sid_raw(const char * ctx, security_id_t * sid); 67 int sidget(security_id_t sid); 79 int sidput(security_id_t sid); 90 int avc_get_initial_sid(const char *name, security_id_t * sid);
|
/external/chromium-trace/catapult/third_party/Paste/paste/ |
D | session.py | 110 self.sid = cookies[self.cookie_name].value 112 session = self.session_class(self.sid, create=False, 119 self.sid = self.make_sid() 120 session = self.session_class(self.sid, create=True, 167 c[self.cookie_name] = self.sid 187 def __init__(self, sid, create=False, session_file_path=tempfile.gettempdir(), argument 194 if not sid: 198 self.sid = sid 208 return os.path.join(self.session_file_path, self.sid)
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
D | SignerInformationStore.java | 29 SignerId sid = signerInfo.getSID(); in SignerInformationStore() local 31 table.put(sid, all); in SignerInformationStore() 47 SignerId sid = signer.getSID(); in SignerInformationStore() local 49 List list = (ArrayList)table.get(sid); in SignerInformationStore() 53 table.put(sid, list); in SignerInformationStore()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wpas_kay.c | 250 const u8 *addr, u8 *sid, size_t *len) in ieee802_1x_auth_get_session_id() argument 268 os_memcpy(sid, session_id, need_len); in ieee802_1x_auth_get_session_id() 307 u8 *sid; in ieee802_1x_notify_create_actor() local 322 sid = os_zalloc(sid_len); in ieee802_1x_notify_create_actor() 325 if (!msk || !sid || !ckn || !cak) in ieee802_1x_notify_create_actor() 334 if (ieee802_1x_auth_get_session_id(wpa_s, wpa_s->bssid, sid, &sid_len)) in ieee802_1x_notify_create_actor() 354 peer_addr, sid, sid_len, in ieee802_1x_notify_create_actor() 370 os_free(sid); in ieee802_1x_notify_create_actor()
|
/external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/ |
D | sessions.py | 212 sid = None variable in CustomBackendSessionFactory 221 sid = data.get('_sid') if data else None 222 self.session = self._get_by_sid(sid) 226 def _get_by_sid(self, sid): argument 229 def _is_valid_sid(self, sid): argument 231 return sid and self._sid_re.match(sid) is not None
|
/external/selinux/libsepol/cil/test/integration_testing/ |
D | nonmls.conf | 5 sid test_sid 9 sid security 76 sid test_sid foo_u:foo_r:foo_t
|
/external/elfutils/tests/ |
D | run-readelf-mixed-corenote.sh | 31 pid: 11087, ppid: 11063, pgrp: 11087, sid: 11063 42 uid: 0, gid: 0, pid: 11087, ppid: 11063, pgrp: 11087, sid: 11063 97 pid: 805, ppid: 804, pgrp: 804, sid: 699 115 uid: 0, gid: 0, pid: 805, ppid: 804, pgrp: 804, sid: 699 162 pid: 839, ppid: 838, pgrp: 838, sid: 699 176 uid: 0, gid: 0, pid: 839, ppid: 838, pgrp: 838, sid: 699 234 pid: 9664, ppid: 2868, pgrp: 9664, sid: 2868 250 uid: 1000, gid: 1000, pid: 9664, ppid: 2868, pgrp: 9664, sid: 2868 301 pid: 16547, ppid: 3822, pgrp: 16547, sid: 3822 322 uid: 0, gid: 0, pid: 16547, ppid: 3822, pgrp: 16547, sid: 3822 [all …]
|
/external/autotest/client/cros/cellular/pseudomodem/ |
D | modem_cdma.py | 31 sid=99998, argument 36 self.sid = sid 268 sid = network.sid 278 sid = 0 284 self.SetUInt32(mm1_constants.I_MODEM_CDMA, 'Sid', sid)
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_cmd.c | 65 swc->surface_relocation(swc, &id->sid, s->handle, flags); in surface_to_surfaceid() 70 swc->surface_relocation(swc, &id->sid, NULL, flags); in surface_to_surfaceid() 268 struct svga_winsys_surface *sid, // IN in SVGA3D_BeginDefineSurface() argument 283 swc->surface_relocation(swc, &cmd->sid, sid, SVGA_RELOC_WRITE); in SVGA3D_BeginDefineSurface() 316 struct svga_winsys_surface *sid, // IN in SVGA3D_DefineSurface2D() argument 326 sid, 0, format, &faces, &mipSizes, 1); in SVGA3D_DefineSurface2D() 360 struct svga_winsys_surface *sid) // IN in SVGA3D_DestroySurface() argument 369 swc->surface_relocation(swc, &cmd->sid, sid, SVGA_RELOC_READ); in SVGA3D_DestroySurface() 456 swc->surface_relocation(swc, &cmd->host.sid, texture->handle, surface_flags); in SVGA3D_SurfaceDMA() 514 swc->surface_relocation(swc, &cmd->host.sid, host, surface_flags); in SVGA3D_BufferDMA()
|
/external/selinux/libsepol/tests/policies/test-cond/ |
D | refpolicy-base.conf | 56 sid kernel 57 sid security 58 sid unlabeled 59 sid fs 60 sid file 61 sid file_labels 62 sid init 63 sid any_socket 64 sid port 65 sid netif [all …]
|
/external/libchrome/sandbox/win/src/ |
D | sandbox_policy.h | 184 virtual ResultCode SetAppContainer(const wchar_t* sid) = 0; 187 virtual ResultCode SetCapability(const wchar_t* sid) = 0; 191 virtual ResultCode SetLowBox(const wchar_t* sid) = 0;
|