Home
last modified time | relevance | path

Searched refs:context (Results 1 – 20 of 20) sorted by relevance

/bionic/libc/system_properties/
Dcontexts_split.cpp44 ContextListNode(ContextListNode* next, const char* context, const char* filename) in ContextListNode() argument
45 : ContextNode(strdup(context), filename), next(next) { in ContextListNode()
49 free(const_cast<char*>(context())); in ~ContextListNode()
56 PrefixNode(struct PrefixNode* next, const char* prefix, ContextListNode* context) in PrefixNode()
57 : prefix(strdup(prefix)), prefix_len(strlen(prefix)), context(context), next(next) { in PrefixNode()
64 ContextListNode* context; member
73 static void ListAddAfterLen(PrefixNode** list, const char* prefix, ContextListNode* context) { in ListAddAfterLen() argument
80 ListAdd(next_list, prefix, context); in ListAddAfterLen()
85 ListAdd(next_list, prefix, context); in ListAddAfterLen()
220 char* context = nullptr; in InitializePropertiesFromFile() local
[all …]
Dprop_area.cpp51 prop_area* prop_area::map_prop_area_rw(const char* filename, const char* context, in map_prop_area_rw() argument
68 if (context) { in map_prop_area_rw()
69 if (fsetxattr(fd, XATTR_NAME_SELINUX, context, strlen(context) + 1, 0) != 0) { in map_prop_area_rw()
71 "fsetxattr failed to set context (%s) for \"%s\"", context, filename); in map_prop_area_rw()
Dcontexts_serialized.cpp62 new (&context_nodes_[i]) ContextNode(property_info_area_file_->context(i), filename_); in InitializeContextNodes()
/bionic/libc/upstream-netbsd/common/lib/libc/hash/sha1/
Dsha1.c220 void SHA1Init(SHA1_CTX *context) in SHA1Init() argument
223 _DIAGASSERT(context != 0); in SHA1Init()
226 context->state[0] = 0x67452301; in SHA1Init()
227 context->state[1] = 0xEFCDAB89; in SHA1Init()
228 context->state[2] = 0x98BADCFE; in SHA1Init()
229 context->state[3] = 0x10325476; in SHA1Init()
230 context->state[4] = 0xC3D2E1F0; in SHA1Init()
231 context->count[0] = context->count[1] = 0; in SHA1Init()
238 void SHA1Update(SHA1_CTX *context, const uint8_t *data, unsigned int len) in SHA1Update() argument
242 _DIAGASSERT(context != 0); in SHA1Update()
[all …]
/bionic/libc/system_properties/include/system_properties/
Dcontext_node.h37 ContextNode(const char* context, const char* filename) in ContextNode() argument
38 : context_(context), pa_(nullptr), no_access_(false), filename_(filename) { in ContextNode()
52 const char* context() const { in context() function
Dprop_area.h94 static prop_area* map_prop_area_rw(const char* filename, const char* context,
/bionic/libc/kernel/uapi/drm/
Dtegra_drm.h55 __u64 context; member
58 __u64 context; member
61 __u64 context; member
66 __u64 context; member
99 __u64 context; member
Dsis_drm.h40 int context; member
Dvia_drm.h92 __u32 context; member
Ddrm.h178 int context; member
227 int context; member
Di915_drm.h567 #define i915_execbuffer2_set_context_id(eb2,context) (eb2).rsvd1 = context & I915_EXEC_CONTEXT_ID_M… argument
Dradeon_drm.h322 drm_radeon_context_regs_t context; member
/bionic/libc/malloc_debug/
Dbacktrace.cpp56 static _Unwind_Reason_Code find_current_map(__unwind_context* context, void*) { in find_current_map() argument
57 uintptr_t ip = _Unwind_GetIP(context); in find_current_map()
81 static _Unwind_Reason_Code trace_function(__unwind_context* context, void* arg) { in trace_function() argument
84 uintptr_t ip = _Unwind_GetIP(context); in trace_function()
/bionic/libc/bionic/
Dbionic_netlink.cpp76 bool NetlinkConnection::ReadResponses(void callback(void*, nlmsghdr*), void* context) { in ReadResponses() argument
88 callback(context, hdr); in ReadResponses()
Dnet_if.cpp86 static void __if_nameindex_callback(void* context, nlmsghdr* hdr) { in __if_nameindex_callback() argument
87 if_list** list = reinterpret_cast<if_list**>(context); in __if_nameindex_callback()
Dbionic_netlink.h46 bool ReadResponses(void callback(void*, nlmsghdr*), void* context);
Difaddrs.cpp162 static void __getifaddrs_callback(void* context, nlmsghdr* hdr) { in __getifaddrs_callback() argument
163 ifaddrs** out = reinterpret_cast<ifaddrs**>(context); in __getifaddrs_callback()
/bionic/libc/kernel/uapi/linux/
Dnfs_mount.h46 char context[NFS_MAX_CONTEXT_LEN + 1]; member
Dusbdevice_fs.h44 void __user * context; member
Dopenvswitch.h325 __be32 context[NSH_MD1_CONTEXT_SIZE]; member