HomeSort by relevance Sort by last modified time
    Searched refs:handle (Results 101 - 125 of 6298) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/selinux/libsemanage/src/
interfaces_policy.c 10 #include "handle.h"
13 int semanage_iface_query(semanage_handle_t * handle,
18 dbase_config_t *dconfig = semanage_iface_dbase_policy(handle);
19 return dbase_query(handle, dconfig, key, response);
22 int semanage_iface_exists(semanage_handle_t * handle,
26 dbase_config_t *dconfig = semanage_iface_dbase_policy(handle);
27 return dbase_exists(handle, dconfig, key, response);
30 int semanage_iface_count(semanage_handle_t * handle, unsigned int *response)
33 dbase_config_t *dconfig = semanage_iface_dbase_policy(handle);
34 return dbase_count(handle, dconfig, response)
    [all...]
nodes_policy.c 10 #include "handle.h"
13 int semanage_node_query(semanage_handle_t * handle,
18 dbase_config_t *dconfig = semanage_node_dbase_policy(handle);
19 return dbase_query(handle, dconfig, key, response);
22 int semanage_node_exists(semanage_handle_t * handle,
26 dbase_config_t *dconfig = semanage_node_dbase_policy(handle);
27 return dbase_exists(handle, dconfig, key, response);
30 int semanage_node_count(semanage_handle_t * handle, unsigned int *response)
33 dbase_config_t *dconfig = semanage_node_dbase_policy(handle);
34 return dbase_count(handle, dconfig, response)
    [all...]
ports_policy.c 10 #include "handle.h"
13 int semanage_port_query(semanage_handle_t * handle,
18 dbase_config_t *dconfig = semanage_port_dbase_policy(handle);
19 return dbase_query(handle, dconfig, key, response);
22 int semanage_port_exists(semanage_handle_t * handle,
26 dbase_config_t *dconfig = semanage_port_dbase_policy(handle);
27 return dbase_exists(handle, dconfig, key, response);
30 int semanage_port_count(semanage_handle_t * handle, unsigned int *response)
33 dbase_config_t *dconfig = semanage_port_dbase_policy(handle);
34 return dbase_count(handle, dconfig, response)
    [all...]
seusers_policy.c 13 #include "handle.h"
17 int semanage_seuser_query(semanage_handle_t * handle,
22 dbase_config_t *dconfig = semanage_seuser_dbase_policy(handle);
23 return dbase_query(handle, dconfig, key, response);
26 int semanage_seuser_exists(semanage_handle_t * handle,
30 dbase_config_t *dconfig = semanage_seuser_dbase_policy(handle);
31 return dbase_exists(handle, dconfig, key, response);
34 int semanage_seuser_count(semanage_handle_t * handle, unsigned int *response)
37 dbase_config_t *dconfig = semanage_seuser_dbase_policy(handle);
38 return dbase_count(handle, dconfig, response)
    [all...]
users_policy.c 10 #include "handle.h"
13 int semanage_user_query(semanage_handle_t * handle,
18 dbase_config_t *dconfig = semanage_user_dbase_policy(handle);
19 return dbase_query(handle, dconfig, key, response);
24 int semanage_user_exists(semanage_handle_t * handle,
28 dbase_config_t *dconfig = semanage_user_dbase_policy(handle);
29 return dbase_exists(handle, dconfig, key, response);
34 int semanage_user_count(semanage_handle_t * handle, unsigned int *response)
37 dbase_config_t *dconfig = semanage_user_dbase_policy(handle);
38 return dbase_count(handle, dconfig, response)
    [all...]
users_local.c 13 #include "handle.h"
18 int semanage_user_modify_local(semanage_handle_t * handle,
23 dbase_config_t *dconfig = semanage_user_dbase_local(handle);
24 return dbase_modify(handle, dconfig, key, data);
27 static int lookup_seuser(semanage_handle_t * handle, const semanage_user_key_t *k) {
35 if (semanage_user_query(handle, k, &user) < 0)
38 semanage_seuser_list_local(handle,
45 ERR(handle, "%s is being used by %s login record",
59 int semanage_user_del_local(semanage_handle_t * handle,
62 if (lookup_seuser(handle, key)
    [all...]
ports_local.c 12 #include "handle.h"
15 int semanage_port_modify_local(semanage_handle_t * handle,
20 dbase_config_t *dconfig = semanage_port_dbase_local(handle);
21 return dbase_modify(handle, dconfig, key, data);
24 int semanage_port_del_local(semanage_handle_t * handle,
28 dbase_config_t *dconfig = semanage_port_dbase_local(handle);
29 return dbase_del(handle, dconfig, key);
32 int semanage_port_query_local(semanage_handle_t * handle,
37 dbase_config_t *dconfig = semanage_port_dbase_local(handle);
38 return dbase_query(handle, dconfig, key, response)
    [all...]
users_extra_file.c 21 #include "handle.h"
23 static int user_extra_print(semanage_handle_t * handle,
36 ERR(handle, "could not print user extra data "
41 static int user_extra_parse(semanage_handle_t * handle,
48 if (parse_skip_space(handle, info) < 0)
54 if (parse_assert_str(handle, info, "user") < 0)
56 if (parse_assert_space(handle, info) < 0)
60 if (parse_fetch_string(handle, info, &str, ' ') < 0)
62 if (semanage_user_extra_set_name(handle, user_extra, str) < 0)
68 if (parse_assert_space(handle, info) < 0
    [all...]
  /frameworks/native/services/sensorservice/
BatteryService.h 33 void enableSensorImpl(uid_t uid, int handle);
34 void disableSensorImpl(uid_t uid, int handle);
39 int handle; member in struct:android::BatteryService::Info
41 Info() : uid(0), handle(0), count(0) { }
42 Info(uid_t uid, int handle) : uid(uid), handle(handle), count(0) { }
44 return (uid == rhs.uid) ? (handle < rhs.handle) : (uid < rhs.uid);
50 bool addSensor(uid_t uid, int handle);
    [all...]
  /bionic/libc/dns/nameser/
ns_parse.c 77 int ns_msg_getflag(ns_msg handle, int flag) {
78 return((u_int32_t)((handle)._flags & _ns_flagdata[flag].mask) >> _ns_flagdata[flag].shift);
107 ns_initparse(const u_char *msg, int msglen, ns_msg *handle) {
111 handle->_msg = msg;
112 handle->_eom = eom;
115 NS_GET16(handle->_id, msg);
118 NS_GET16(handle->_flags, msg);
122 NS_GET16(handle->_counts[i], msg);
125 if (handle->_counts[i] == 0)
126 handle->_sections[i] = NULL
    [all...]
  /external/iproute2/include/libiptc/
libip6tc.h 24 int ip6tc_is_chain(const char *chain, struct xtc_handle *const handle);
33 const char *ip6tc_first_chain(struct xtc_handle *handle);
34 const char *ip6tc_next_chain(struct xtc_handle *handle);
38 struct xtc_handle *handle);
42 struct xtc_handle *handle);
46 struct xtc_handle *handle);
49 int ip6tc_builtin(const char *chain, struct xtc_handle *const handle);
54 struct xtc_handle *handle);
64 struct xtc_handle *handle);
70 struct xtc_handle *handle);
    [all...]
libiptc.h 28 int iptc_is_chain(const char *chain, struct xtc_handle *const handle);
37 const char *iptc_first_chain(struct xtc_handle *handle);
38 const char *iptc_next_chain(struct xtc_handle *handle);
42 struct xtc_handle *handle);
46 struct xtc_handle *handle);
50 struct xtc_handle *handle);
53 int iptc_builtin(const char *chain, struct xtc_handle *const handle);
58 struct xtc_handle *handle);
68 struct xtc_handle *handle);
74 struct xtc_handle *handle);
    [all...]
  /external/iptables/include/libiptc/
libip6tc.h 24 int ip6tc_is_chain(const char *chain, struct xtc_handle *const handle);
33 const char *ip6tc_first_chain(struct xtc_handle *handle);
34 const char *ip6tc_next_chain(struct xtc_handle *handle);
38 struct xtc_handle *handle);
42 struct xtc_handle *handle);
46 struct xtc_handle *handle);
49 int ip6tc_builtin(const char *chain, struct xtc_handle *const handle);
54 struct xtc_handle *handle);
64 struct xtc_handle *handle);
70 struct xtc_handle *handle);
    [all...]
libiptc.h 28 int iptc_is_chain(const char *chain, struct xtc_handle *const handle);
37 const char *iptc_first_chain(struct xtc_handle *handle);
38 const char *iptc_next_chain(struct xtc_handle *handle);
42 struct xtc_handle *handle);
46 struct xtc_handle *handle);
50 struct xtc_handle *handle);
53 int iptc_builtin(const char *chain, struct xtc_handle *const handle);
58 struct xtc_handle *handle);
68 struct xtc_handle *handle);
74 struct xtc_handle *handle);
    [all...]
  /external/selinux/libsemanage/include/semanage/
context_record.h 6 #include <semanage/handle.h>
17 extern int semanage_context_set_user(semanage_handle_t * handle,
24 extern int semanage_context_set_role(semanage_handle_t * handle,
31 extern int semanage_context_set_type(semanage_handle_t * handle,
38 extern int semanage_context_set_mls(semanage_handle_t * handle,
43 extern int semanage_context_create(semanage_handle_t * handle,
46 extern int semanage_context_clone(semanage_handle_t * handle,
53 extern int semanage_context_from_string(semanage_handle_t * handle,
57 extern int semanage_context_to_string(semanage_handle_t * handle,
  /external/selinux/libsepol/include/sepol/
context_record.h 4 #include <sepol/handle.h>
19 extern int sepol_context_set_user(sepol_handle_t * handle,
25 extern int sepol_context_set_role(sepol_handle_t * handle,
31 extern int sepol_context_set_type(sepol_handle_t * handle,
37 extern int sepol_context_set_mls(sepol_handle_t * handle,
41 extern int sepol_context_create(sepol_handle_t * handle,
44 extern int sepol_context_clone(sepol_handle_t * handle,
51 extern int sepol_context_from_string(sepol_handle_t * handle,
54 extern int sepol_context_to_string(sepol_handle_t * handle,
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
ndfapi.h 18 NDFHANDLE handle
22 NDFHANDLE *handle
28 NDFHANDLE *handle
35 NDFHANDLE *handle
40 NDFHANDLE *handle
45 NDFHANDLE *handle
52 NDFHANDLE *handle
61 NDFHANDLE *handle
65 NDFHANDLE handle,
  /external/selinux/libsepol/src/
debug.c 4 #include "handle.h"
21 int sepol_msg_get_level(sepol_handle_t * handle)
23 return handle->msg_level;
28 const char *sepol_msg_get_channel(sepol_handle_t * handle)
30 return handle->msg_channel;
35 const char *sepol_msg_get_fname(sepol_handle_t * handle)
37 return handle->msg_fname;
45 sepol_handle_t * handle,
51 switch (sepol_msg_get_level(handle)) {
64 sepol_msg_get_channel(handle), sepol_msg_get_fname(handle))
    [all...]
  /system/media/audio_utils/
tinysndfile.c 75 SNDFILE *handle = (SNDFILE *) malloc(sizeof(SNDFILE)); local
76 handle->mode = SFM_READ;
77 handle->temp = NULL;
78 handle->stream = stream;
79 handle->info.format = SF_FORMAT_WAV;
209 handle->bytesPerFrame = bytesPerFrame;
210 handle->info.samplerate = samplerate;
211 handle->info.channels = channels;
214 handle->info.format |= SF_FORMAT_PCM_U8;
217 handle->info.format |= SF_FORMAT_PCM_16
367 SNDFILE *handle = (SNDFILE *) malloc(sizeof(SNDFILE)); local
    [all...]
  /cts/hostsidetests/security/securityPatch/CVE-2017-6262/
poc.c 65 return new_arg.info.handle;
70 uint32_t handle; local
72 handle = nouveau_gem_ioctl_new(fd);
74 return handle;
77 static void nouveau_gem_ioctl_map(int fd, uint32_t handle)
82 map_arg.handle = handle;
103 uint32_t handle = get_gem_map_handle(fd);
105 nouveau_gem_ioctl_map(fd, handle);
106 nouveau_gem_ioctl_map(fd, handle);
    [all...]
  /hardware/intel/img/hwcomposer/merrifield/include/pvr/hal/
img_gralloc.h 33 (const gralloc_module_t *g, buffer_handle_t handle)
35 return g->registerBuffer(g, handle);
39 (const gralloc_module_t *g, buffer_handle_t handle)
41 return g->unregisterBuffer(g, handle);
46 buffer_handle_t *handle, int *stride)
48 return d->alloc(d, w, h, format, usage, handle, stride);
52 (alloc_device_t *d, buffer_handle_t handle)
54 return d->free(d, handle);
58 (const gralloc_module_t *g, buffer_handle_t handle, int usage,
61 return g->lockAsync(g, handle, usage
    [all...]
  /hardware/intel/img/hwcomposer/moorefield_hdmi/include/pvr/hal/
img_gralloc.h 33 (const gralloc_module_t *g, buffer_handle_t handle)
35 return g->registerBuffer(g, handle);
39 (const gralloc_module_t *g, buffer_handle_t handle)
41 return g->unregisterBuffer(g, handle);
46 buffer_handle_t *handle, int *stride)
48 return d->alloc(d, w, h, format, usage, handle, stride);
52 (alloc_device_t *d, buffer_handle_t handle)
54 return d->free(d, handle);
58 (const gralloc_module_t *g, buffer_handle_t handle, int usage,
61 return g->lockAsync(g, handle, usage
    [all...]
  /external/flac/include/FLAC/
callback.h 57 * for the metadata interfaces to handle I/O.
86 /** This is the opaque handle type used by the callbacks. Typically
98 * \param handle The handle to the data source.
102 typedef size_t (*FLAC__IOCallback_Read) (void *ptr, size_t size, size_t nmemb, FLAC__IOHandle handle);
111 * \param handle The handle to the data source.
115 typedef size_t (*FLAC__IOCallback_Write) (const void *ptr, size_t size, size_t nmemb, FLAC__IOHandle handle);
122 * \param handle The handle to the data source
    [all...]
  /external/libxcam/capi/
xcam_handle.h 32 /*! \brief create xcam handle to process buffer
39 /*! \brief destroy xcam handle
41 * \params[in] handle handle need to destory
43 void xcam_destroy_handle (XCamHandle *handle);
45 /*! \brief xcam handle get usage how to set parameters
47 * \params[in] handle xcam handle
52 XCamReturn xcam_handle_get_usage (XCamHandle *handle, char *usage_buf, int *usage_len);
54 /*! \brief set handle parameters before ini
    [all...]
  /external/libxml2/win32/wince/
wincecompat.c 22 int read(int handle, char *buffer, unsigned int len)
24 return(fread(&buffer[0], len, 1, (FILE *) handle));
27 int write(int handle, const char *buffer, unsigned int len)
29 return(fwrite(&buffer[0], len,1,(FILE *) handle));
43 int close(int handle)
45 return ( fclose((FILE *) handle) );

Completed in 455 milliseconds

1 2 3 45 6 7 8 91011>>