Home
last modified time | relevance | path

Searched refs:context (Results 1 – 24 of 24) 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()
214 char* context = nullptr; in InitializePropertiesFromFile() local
[all …]
Dprop_area.cpp55 prop_area* prop_area::map_prop_area_rw(const char* filename, const char* context, in map_prop_area_rw() argument
72 if (context) { in map_prop_area_rw()
73 if (fsetxattr(fd, XATTR_NAME_SELINUX, context, strlen(context) + 1, 0) != 0) { in map_prop_area_rw()
75 "fsetxattr failed to set context (%s) for \"%s\"", context, filename); in map_prop_area_rw()
Dcontexts_serialized.cpp63 new (&context_nodes_[i]) ContextNode(property_info_area_file_->context(i), dirname_); in InitializeContextNodes()
/bionic/libc/kernel/uapi/drm/
Dtegra_drm.h43 __u64 context; member
46 __u64 context; member
49 __u64 context; member
54 __u64 context; member
87 __u64 context; member
158 __u32 context; member
164 __u32 context; member
171 __u32 context; member
177 __u32 context; member
218 __u32 context; member
Ddrm.h166 int context; member
215 int context; member
Di915_drm.h581 #define i915_execbuffer2_set_context_id(eb2,context) (eb2).rsvd1 = context & I915_EXEC_CONTEXT_ID_M… argument
Dradeon_drm.h310 drm_radeon_context_regs_t context; member
/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/malloc_debug/
Dbacktrace.cpp55 static _Unwind_Reason_Code find_current_map(__unwind_context* context, void*) { in find_current_map() argument
56 uintptr_t ip = _Unwind_GetIP(context); in find_current_map()
84 static _Unwind_Reason_Code trace_function(__unwind_context* context, void* arg) { in trace_function() argument
87 uintptr_t ip = _Unwind_GetIP(context); in trace_function()
/bionic/libdl/
Dlibdl.cpp77 int signal_number, siginfo_t* info, void* context);
151 void* context) { in android_handle_signal() argument
152 return __loader_android_handle_signal(signal_number, info, context); in android_handle_signal()
/bionic/libc/bionic/
Dbionic_netlink.cpp76 bool NetlinkConnection::ReadResponses(void callback(void*, nlmsghdr*), void* context) { in ReadResponses() argument
88 callback(context, hdr); in ReadResponses()
Dexecinfo.cpp49 static _Unwind_Reason_Code TraceFunction(_Unwind_Context* context, void* arg) { in TraceFunction() argument
53 uintptr_t ip = _Unwind_GetIP(context); in TraceFunction()
Dbionic_netlink.h46 bool ReadResponses(void callback(void*, nlmsghdr*), void* context);
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()
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/linker/
Dlinker_debuggerd.h34 extern "C" bool debuggerd_handle_signal(int signal_number, siginfo_t* info, void* context);
Ddlfcn.cpp97 void* context) __LINKER_PUBLIC__;
308 bool __loader_android_handle_signal(int signal_number, siginfo_t* info, void* context) { in __loader_android_handle_signal() argument
309 return debuggerd_handle_signal(signal_number, info, context); in __loader_android_handle_signal()
/bionic/libc/kernel/uapi/linux/
Dnfs_mount.h34 char context[NFS_MAX_CONTEXT_LEN + 1]; member
Dusbdevice_fs.h32 void * context; member
Dopenvswitch.h331 __be32 context[NSH_MD1_CONTEXT_SIZE]; member
/bionic/docs/
Dfdtrack.md17 context, but not vfork (bionic tracks whether a thread is vforked, and chooses
Dclang_fortify_anatomy.md269 In the examples above, since `diagnose_if` is evaluated with context from the
744 context of the caller of the function annotated with `pass_object_size`, and