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

12345678

/external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/appengine/
H A Dsessions_memcache.py34 def _get_by_sid(self, sid):
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)
H A Dsessions_ndb.py57 def get_by_sid(cls, sid):
60 :param sid:
65 data = memcache.get(sid)
67 session = model.Key(cls, sid).get()
70 memcache.set(sid, data)
100 def _get_by_sid(self, sid):
102 if self._is_valid_sid(sid):
103 data = self.session_model.get_by_sid(sid)
105 self.sid = sid
[all...]
/external/selinux/libsepol/src/
H A Dsidtab.c19 #define SIDTAB_HASH(sid) \
20 (sid & SIDTAB_HASH_MASK)
42 int sepol_sidtab_insert(sidtab_t * s, sepol_security_id_t sid, argument
51 hvalue = SIDTAB_HASH(sid);
54 while (cur != NULL && sid > cur->sid) {
59 if (cur && sid == cur->sid) {
67 newnode->sid = sid;
87 sepol_sidtab_remove(sidtab_t * s, sepol_security_id_t sid) argument
118 sepol_sidtab_search(sidtab_t * s, sepol_security_id_t sid) argument
145 sepol_sidtab_map(sidtab_t * s, int (*apply) (sepol_security_id_t sid, context_struct_t * context, void *args), void *args) argument
168 sepol_sidtab_map_remove_on_error(sidtab_t * s, int (*apply) (sepol_security_id_t sid, context_struct_t * context, void *args), void *args) argument
228 sepol_security_id_t sid; local
[all...]
/external/mesa3d/src/gallium/winsys/svga/drm/
H A Dvmw_surface.h52 uint32_t sid; member in struct:vmw_svga_winsys_surface
63 assert(!surf || surf->sid != SVGA3D_INVALID_ID);
H A Dvmw_surface.c51 vmw_ioctl_surface_destroy(dst->screen, dst->sid);
55 dst->sid = SVGA3D_INVALID_ID;
/external/selinux/libsepol/cil/test/integration_testing/
H A Dnonmls.conf5 sid test_sid
8 #sid decl
9 sid security
76 sid test_sid foo_u:foo_r:foo_t
/external/selinux/libsepol/include/sepol/policydb/
H A Dsidtab.h19 sepol_security_id_t sid; /* security identifier */ member in struct:sidtab_node
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/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
H A DSignerInfo.java26 * sid SignerIdentifier,
46 * sid SignerIdentifier,
79 private SignerIdentifier sid; field in class:SignerInfo
117 * @param sid
125 SignerIdentifier sid,
132 if (sid.isTagged())
141 this.sid = sid;
151 * @param sid
159 SignerIdentifier sid,
124 SignerInfo( SignerIdentifier sid, AlgorithmIdentifier digAlgorithm, ASN1Set authenticatedAttributes, AlgorithmIdentifier digEncryptionAlgorithm, ASN1OctetString encryptedDigest, ASN1Set unauthenticatedAttributes) argument
158 SignerInfo( SignerIdentifier sid, AlgorithmIdentifier digAlgorithm, Attributes authenticatedAttributes, AlgorithmIdentifier digEncryptionAlgorithm, ASN1OctetString encryptedDigest, Attributes unauthenticatedAttributes) argument
[all...]
/external/webrtc/talk/app/webrtc/test/
H A Dfakedatachannelprovider.h76 void AddSctpDataStream(int sid) override {
77 ASSERT(sid >= 0);
81 send_ssrcs_.insert(sid);
82 recv_ssrcs_.insert(sid);
85 void RemoveSctpDataStream(int sid) override {
86 ASSERT(sid >= 0);
87 send_ssrcs_.erase(sid);
88 recv_ssrcs_.erase(sid);
/external/kernel-headers/original/uapi/linux/netfilter/
H A Dxt_l2tp.h14 __u32 sid; /* session id */ member in struct:xt_l2tp_info
/external/selinux/libsepol/tests/policies/test-expander/
H A Dbase-base-only.conf4 sid kernel
42 sid kernel gen_context(myuser_u:myrole_r:mytype_t, s0)
/external/libselinux/include/selinux/
H A Davc.h31 * @sid: input SID
35 * @sid in the memory referenced by @ctx. The caller is expected to
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);
46 * @sid: pointer to SID reference
51 * to the SID structure into the memory referenced by @sid,
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);
59 * @sid: SID reference
61 * Increment the reference counter for @sid, indicatin
[all...]
/external/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 int avc_sid_to_context(security_id_t sid, char ** ctx);
41 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 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);
59 * @sid: SID reference
61 * Increment the reference counter for @sid, indicatin
[all...]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
H A DSignerInformationStore.java29 SignerId sid = signerInfo.getSID();
31 table.put(sid, all);
47 SignerId sid = signer.getSID();
49 List list = (ArrayList)table.get(sid);
53 table.put(sid, list);
/external/dbus/bus/
H A Dselinux.c59 #define BUS_SID_FROM_SELINUX(sid) ((BusSELinuxID*) (sid))
60 #define SELINUX_SID_FROM_BUS(sid) ((security_id_t) (sid))
384 * @param sid the SID to decrement
387 bus_selinux_id_unref (BusSELinuxID *sid) argument
393 _dbus_assert (sid != NULL);
395 sidput (SELINUX_SID_FROM_BUS (sid));
400 bus_selinux_id_ref (BusSELinuxID *sid) argument
406 _dbus_assert (sid !
654 bus_selinux_append_context(DBusMessage *message, BusSELinuxID *sid, DBusError *error) argument
738 security_id_t sid; local
782 bus_selinux_id_table_free_value(BusSELinuxID *sid) argument
822 security_id_t sid; local
894 security_id_t sid; local
951 security_id_t sid = _dbus_hash_iter_get_value (&iter); local
[all...]
H A Dselinux.h36 void bus_selinux_id_ref (BusSELinuxID *sid);
37 void bus_selinux_id_unref (BusSELinuxID *sid);
/external/mesa3d/src/gallium/drivers/r600/
H A Dr600_shader.h32 int sid; member in struct:r600_shader_io
/external/webrtc/talk/app/webrtc/
H A Ddatachannel.cc47 bool SctpSidAllocator::AllocateSid(rtc::SSLRole role, int* sid) { argument
56 *sid = potential_sid;
61 bool SctpSidAllocator::ReserveSid(int sid) { argument
62 if (!IsSidAvailable(sid)) {
65 used_sids_.insert(sid);
69 void SctpSidAllocator::ReleaseSid(int sid) { argument
70 auto it = used_sids_.find(sid);
76 bool SctpSidAllocator::IsSidAvailable(int sid) const {
77 if (sid < 0 || sid > static_cas
295 SetSctpSid(int sid) argument
402 OnStreamClosedRemotely(uint32_t sid) argument
[all...]
/external/icu/icu4c/source/tools/genrb/
H A Dwrtxml.cpp550 char *sid = NULL; local
556 sid = getID(id, resname, sid);
558 sid = getID(id, NULL, sid);
563 printAttribute("id", sid, (int32_t) uprv_strlen(sid));
585 return sid;
618 char *sid = NULL; local
626 sid
654 char *sid = NULL; local
685 char* sid = NULL; local
722 char* sid = NULL; local
771 char* sid = NULL; local
800 char* sid = NULL; local
923 char* sid = NULL; local
[all...]
/external/libvncserver/libvncclient/
H A Dh264.c46 static int sid = 0; variable
184 sid = 0;
301 DebugLog(("%s: frame_id=%d va_surface_id[%d]=0x%x field_order_count=%d\n", __FUNCTION__, frame_id, sid, va_surface_id[sid], field_order_count));
303 va_picture_h264.picture_id = va_surface_id[sid];
310 if (va_pic_param_buf_id[sid] == VA_INVALID_ID) {
311 va_status = vaCreateBuffer(va_dpy, va_context_id, VAPictureParameterBufferType, sizeof(VAPictureParameterBufferH264), 1, NULL, &va_pic_param_buf_id[sid]);
314 CHECK_SURF(va_surface_id[sid]);
317 va_status = vaMapBuffer(va_dpy, va_pic_param_buf_id[sid], (void **)&pic_param_buf);
333 va_status = vaUnmapBuffer(va_dpy, va_pic_param_buf_id[sid]);
[all...]
/external/libchrome/sandbox/win/src/
H A Dsandbox_policy.h184 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;
/external/libselinux/src/
H A Davc_sidtab.h31 const char * ctx, security_id_t * sid) hidden;
/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dradeonsi_shader.h34 int sid; member in struct:si_shader_io
/external/selinux/libselinux/src/
H A Davc_sidtab.h31 const char * ctx, security_id_t * sid) hidden;
/external/valgrind/include/vki/
H A Dvki-xen-xsm.h34 /* IN/OUT: sid to convert to/from string */
35 vki_uint32_t sid; member in struct:vki_xen_flask_sid_context

Completed in 979 milliseconds

12345678