/hardware/msm7k/librpc/ |
ops.c | 16 int handle = open(router, O_RDWR, 0); local 18 if(handle < 0) 20 return handle; 23 void r_close(int handle) 25 if(close(handle) < 0) E("error: %s\n", strerror(errno)); 28 int r_read(int handle, char *buf, uint32 size) 30 int rc = read((int) handle, (void *)buf, size); 46 int r_write (int handle, const char *buf, uint32 size) 48 int rc = write(handle, (void *)buf, size); 64 int r_control(int handle, const uint32 cmd, void *arg [all...] |
/hardware/samsung_slsi/exynos5/libcsc/ |
csc.h | 125 * Init CSC handle 128 * csc handle 134 * Deinit CSC handle 136 * @param handle 137 * CSC handle[in] 143 void *handle); 148 * @param handle 149 * CSC handle[in] 158 void *handle, 164 * @param handle [all...] |
/external/bluetooth/bluedroid/bta/include/ |
bta_pan_ci.h | 50 BTA_API extern void bta_pan_ci_tx_ready(UINT16 handle); 65 BTA_API extern void bta_pan_ci_rx_ready(UINT16 handle); 73 ** disable data flow when it is congested and cannot handle 82 BTA_API extern void bta_pan_ci_tx_flow(UINT16 handle, BOOLEAN enable); 99 BTA_API extern void bta_pan_ci_rx_writebuf(UINT16 handle, BD_ADDR src, BD_ADDR dst, UINT16 protocol, BT_HDR *p_buf, BOOLEAN ext); 114 BTA_API extern BT_HDR * bta_pan_ci_readbuf(UINT16 handle, BD_ADDR src, BD_ADDR dst, UINT16 *p_protocol, 127 BTA_API extern void bta_pan_ci_set_pfilters(UINT16 handle, UINT16 num_filters, UINT16 *p_start_array, UINT16 *p_end_array); 140 BTA_API extern void bta_pan_ci_set_mfilters(UINT16 handle, UINT16 num_mcast_filters, UINT8 *p_start_array,
|
/external/libsepol/include/sepol/ |
node_record.h | 6 #include <sepol/handle.h> 23 extern int sepol_node_key_create(sepol_handle_t * handle, 32 extern int sepol_node_key_extract(sepol_handle_t * handle, 39 extern int sepol_node_get_addr(sepol_handle_t * handle, 42 extern int sepol_node_get_addr_bytes(sepol_handle_t * handle, 46 extern int sepol_node_set_addr(sepol_handle_t * handle, 50 extern int sepol_node_set_addr_bytes(sepol_handle_t * handle, 55 extern int sepol_node_get_mask(sepol_handle_t * handle, 58 extern int sepol_node_get_mask_bytes(sepol_handle_t * handle, 62 extern int sepol_node_set_mask(sepol_handle_t * handle, [all...] |
boolean_record.h | 5 #include <sepol/handle.h> 13 extern int sepol_bool_key_create(sepol_handle_t * handle, 19 extern int sepol_bool_key_extract(sepol_handle_t * handle, 34 extern int sepol_bool_set_name(sepol_handle_t * handle, 43 extern int sepol_bool_create(sepol_handle_t * handle, sepol_bool_t ** bool_ptr); 45 extern int sepol_bool_clone(sepol_handle_t * handle,
|
booleans.h | 7 #include <sepol/handle.h> 28 extern int sepol_bool_set(sepol_handle_t * handle, 34 extern int sepol_bool_count(sepol_handle_t * handle, 38 extern int sepol_bool_exists(sepol_handle_t * handle, 43 extern int sepol_bool_query(sepol_handle_t * handle, 54 extern int sepol_bool_iterate(sepol_handle_t * handle,
|
users.h | 6 #include <sepol/handle.h> 27 extern int sepol_user_modify(sepol_handle_t * handle, 33 extern int sepol_user_count(sepol_handle_t * handle, 37 extern int sepol_user_exists(sepol_handle_t * handle, 42 extern int sepol_user_query(sepol_handle_t * handle, 52 extern int sepol_user_iterate(sepol_handle_t * handle,
|
/hardware/samsung_slsi/exynos5/include/ |
exynos_gscaler.h | 86 * Create libgscaler handle. 92 * libgscaler handle 98 * Create exclusive libgscaler handle. 112 * libgscaler handle 121 * Destroy libgscaler handle 125 * \param handle 126 * libgscaler handle[in] 129 void *handle); 136 * \param handle 137 * libgscaler handle[in [all...] |
/system/core/libion/ |
ion.c | 58 unsigned int flags, struct ion_handle **handle) 71 *handle = data.handle; 75 int ion_free(int fd, struct ion_handle *handle) 78 .handle = handle, 83 int ion_map(int fd, struct ion_handle *handle, size_t length, int prot, 87 .handle = handle, 106 int ion_share(int fd, struct ion_handle *handle, int *share_fd 126 struct ion_handle *handle; local [all...] |
/external/webkit/Source/WebKit2/Platform/win/ |
SharedMemoryWin.cpp | 35 SharedMemory::Handle::Handle() 41 SharedMemory::Handle::~Handle() 49 bool SharedMemory::Handle::isNull() const 54 void SharedMemory::Handle::encode(CoreIPC::ArgumentEncoder* encoder) const 58 // Hand off ownership of our HANDLE to the receiving process. It will close it for us. 64 // Send along our PID so that the receiving process can duplicate the HANDLE for its own use. 68 static bool getDuplicatedHandle(HANDLE sourceHandle, DWORD sourcePID, HANDLE& duplicatedHandle 115 HANDLE handle = ::CreateFileMappingW(INVALID_HANDLE_VALUE, 0, PAGE_READWRITE, 0, size, 0); local [all...] |
/hardware/ti/omap4xxx/ion/ |
ion.c | 59 struct ion_handle **handle) 71 *handle = data.handle; 76 struct ion_handle **handle, size_t *stride) 95 *handle = alloc_data.handle; 99 int ion_free(int fd, struct ion_handle *handle) 102 .handle = handle, 107 int ion_map(int fd, struct ion_handle *handle, size_t length, int prot [all...] |
/external/e2fsprogs/lib/ss/ |
get_readline.c | 44 void *handle = NULL; local 69 if ((handle = dlopen(cp, RTLD_NOW))) { 75 if (!handle) 78 info->readline_handle = handle; 80 dlsym(handle, "readline"); 82 dlsym(handle, "add_history"); 84 dlsym(handle, "rl_forced_update_display"); 87 dlsym(handle, "rl_completion_matches"); 88 if ((t = dlsym(handle, "rl_readline_name")) != NULL) 91 dlsym(handle, "rl_attempted_completion_function")) != NULL [all...] |
/external/webkit/Source/WebCore/loader/mac/ |
DocumentLoaderMac.cpp | 44 if (ResourceHandle* handle = (*it)->handle()) 45 handle->schedule(pair); 53 if (ResourceHandle* handle = (*it)->handle()) 54 handle->unschedule(pair); 61 if (m_mainResourceLoader && m_mainResourceLoader->handle()) 62 m_mainResourceLoader->handle()->schedule(pair); 74 if (m_mainResourceLoader && m_mainResourceLoader->handle()) 75 m_mainResourceLoader->handle()->unschedule(pair) [all...] |
/hardware/qcom/keymaster/ |
QSEEComAPI.h | 71 * @brief Open a handle to the QSEECom device. 89 * @param[in/out] handle The device handle 99 * @brief Close the application associated with the handle. 103 * the "handle" is tied. 106 * @param[in] handle The device handle 110 int QSEECom_shutdown_app(struct QSEECom_handle **handle); 113 * @brief Open a handle to the QSEECom device. 121 * @param[in/out] handle The device handl [all...] |
/external/libsepol/src/ |
policydb_convert.c | 10 int policydb_from_image(sepol_handle_t * handle, 20 pf.handle = handle; 24 ERR(handle, "policy image is invalid"); 34 int policydb_to_image(sepol_handle_t * handle, 46 pf.handle = handle; 48 ERR(handle, "could not compute policy length"); 57 ERR(handle, "out of memory"); 67 ERR(handle, "could not write policy") [all...] |
booleans.c | 4 #include "handle.h" 14 static int bool_update(sepol_handle_t * handle, 33 ERR(handle, "boolean %s no longer in policy", name); 37 ERR(handle, "illegal value %d for boolean %s", value, name); 46 ERR(handle, "out of memory"); 50 ERR(handle, "could not update boolean %s", cname); 54 static int bool_to_record(sepol_handle_t * handle, 65 if (sepol_bool_create(handle, &tmp_record) < 0) 68 if (sepol_bool_set_name(handle, tmp_record, name) < 0) 77 ERR(handle, "could not convert boolean %s to record", name) [all...] |
debug.h | 25 #include "handle.h" 50 #define ERR(handle, ...) \ 51 msg_write(handle, SEPOL_MSG_ERR, "libsepol", \ 54 #define INFO(handle, ...) \ 55 msg_write(handle, SEPOL_MSG_INFO, "libsepol", \ 58 #define WARN(handle, ...) \ 59 msg_write(handle, SEPOL_MSG_WARN, "libsepol", \
|
/hardware/qcom/audio/legacy/alsa_sound/ |
alsa_default.cpp | 197 static void switchDevice(alsa_handle_t *handle, uint32_t devices, uint32_t mode); 199 static void disableDevice(alsa_handle_t *handle); 216 int deviceName(alsa_handle_t *handle, unsigned flags, char **value) 226 strlcat(ident, handle->useCase, sizeof(ident)); 227 ret = snd_use_case_get(handle->ucMgr, ident, (const char **)value); 262 status_t setHardwareParams(alsa_handle_t *handle) 267 unsigned int requestedRate = handle->sampleRate; 269 int channels = handle->channels; 278 reqBuffSize = handle->bufferSize; 280 (int) reqBuffSize, handle->channels, handle->sampleRate) [all...] |
/hardware/libhardware/modules/gralloc/ |
mapper.cpp | 47 buffer_handle_t handle, 50 private_handle_t* hnd = (private_handle_t*)handle; 68 buffer_handle_t handle) 70 private_handle_t* hnd = (private_handle_t*)handle; 90 buffer_handle_t handle) 92 if (private_handle_t::validate(handle) < 0) 97 // If a buffer handle is passed from the process that allocated it to a 110 // allocations happen in its process. After returning the buffer handle to 111 // the IGraphicBufferAlloc client, SurfaceFlinger free's its handle to the 114 // buffer belongs to, it will get a new handle to the buffer in respons [all...] |
/external/e2fsprogs/lib/ext2fs/ |
extent.c | 159 * Begin functions to handle an inode's extent information 161 extern void ext2fs_extent_free(ext2_extent_handle_t handle) 165 if (!handle) 168 if (handle->inode) 169 ext2fs_free_mem(&handle->inode); 170 if (handle->path) { 171 for (i=1; i <= handle->max_depth; i++) { 172 if (handle->path[i].buf) 173 ext2fs_free_mem(&handle->path[i].buf); 175 ext2fs_free_mem(&handle->path) 190 struct ext2_extent_handle *handle; local [all...] |
/external/qemu/android/utils/ |
mapfile.h | 35 /* Checks if file handle is a valid one. 37 * boolean: 1 if handle is valid, or 0 if it's not valid. 40 mapfile_is_valid(MapFile* handle) 42 return handle != (void*)(ptrdiff_t)-1; 53 * A valid handle to the opened file on success, or an invalid value on 58 /* Closes a file handle opened with mapfile_open routine. 60 * handle - A handle to a file previously obtained via successful call to 65 extern int mapfile_close(MapFile* handle); 68 * Except for handle parameter, semantics of this call are the same as fo [all...] |
/external/webkit/Source/WebCore/bindings/v8/ |
OwnHandle.h | 42 explicit OwnHandle(v8::Handle<T> handle) : m_handle(v8::Persistent<T>::New(handle)) { } 45 v8::Handle<T> get() const { return m_handle; } 46 void set(v8::Handle<T> handle) { clear(); m_handle = v8::Persistent<T>::New(handle); } 48 // Note: This is clear in the OwnPtr sense, not the v8::Handle sense. 59 // Make the underlying handle weak. The client doesn't get a callback, 60 // we just make the handle empty 71 OwnHandle<T>* handle = static_cast<OwnHandle<T>*>(ownHandle); local [all...] |
/external/webkit/Source/WebKit2/Shared/ |
WebCoreArgumentCoders.cpp | 42 ShareableBitmap::Handle handle; local 43 bitmap->createHandle(handle); 45 encoder->encode(handle); 50 ShareableBitmap::Handle handle; local 51 if (!decoder->decode(handle)) 54 RefPtr<ShareableBitmap> bitmap = ShareableBitmap::create(handle);
|
/frameworks/base/media/java/android/mtp/ |
MtpServer.java | 46 public void sendObjectAdded(int handle) { 47 native_send_object_added(handle); 50 public void sendObjectRemoved(int handle) { 51 native_send_object_removed(handle); 65 private native final void native_send_object_added(int handle); 66 private native final void native_send_object_removed(int handle);
|
/frameworks/native/include/ui/ |
GraphicBufferMapper.h | 41 status_t registerBuffer(buffer_handle_t handle); 43 status_t unregisterBuffer(buffer_handle_t handle); 45 status_t lock(buffer_handle_t handle, 48 status_t lockYCbCr(buffer_handle_t handle, 51 status_t unlock(buffer_handle_t handle); 53 // dumps information about the mapping of this handle 54 void dump(buffer_handle_t handle);
|