/hardware/msm7k/libgralloc/ |
mapper.cpp | 54 buffer_handle_t handle, 57 private_handle_t* hnd = (private_handle_t*)handle; 66 ALOGE("Could not mmap handle %p, fd=%d (%s)", 67 handle, hnd->fd, strerror(errno)); 80 buffer_handle_t handle) 82 private_handle_t* hnd = (private_handle_t*)handle; 106 buffer_handle_t handle) 108 if (private_handle_t::validate(handle) < 0) 111 // if this handle was created in this process, then we keep it as is. 113 private_handle_t* hnd = (private_handle_t*)handle; [all...] |
/hardware/ti/omap3/omx/system/src/openmax_il/omx_core/inc/ |
OMX_Debug.h | 48 #define OMX_LOG_PRINT(HANDLE, STR, ARG...) \ 49 (OMX_Log(HANDLE, __FILE__, __LINE__, __FUNCTION__, STR, ##ARG)) 52 #define OMX_DPRINT(HANDLE, STR, ARG...) OMX_LOG_PRINT(OMX_MASK_DEBUG | HANDLE, STR, ##ARG) 53 #define OMX_TPRINT(HANDLE, STR, ARG...) OMX_LOG_PRINT(OMX_MASK_TRACE | HANDLE, STR, ##ARG) 55 #define OMX_DPRINT(HANDLE, STR, ARG...) 56 #define OMX_TPRINT(HANDLE, STR, ARG...) 60 #define OMX_DENTER(handle) OMX_TPRINT((handle), "+++ENTERING" [all...] |
/hardware/ti/omap4xxx/domx/omx_core/inc/ |
OMX_Debug.h | 73 #define OMX_LOG_PRINT(HANDLE, STR, ARG...) \ 74 (OMX_Log(HANDLE, __FILE__, __LINE__, __FUNCTION__, STR, ##ARG)) 77 #define OMX_DPRINT(HANDLE, STR, ARG...) OMX_LOG_PRINT(OMX_MASK_DEBUG | HANDLE, STR, ##ARG) 78 #define OMX_TPRINT(HANDLE, STR, ARG...) OMX_LOG_PRINT(OMX_MASK_TRACE | HANDLE, STR, ##ARG) 80 #define OMX_DPRINT(HANDLE, STR, ARG...) 81 #define OMX_TPRINT(HANDLE, STR, ARG...) 85 #define OMX_DENTER(handle) OMX_TPRINT((handle), "+++ENTERING" [all...] |
/libcore/luni/src/main/native/ |
java_util_zip_Deflater.cpp | 24 static void Deflater_setDictionaryImpl(JNIEnv* env, jobject, jbyteArray dict, int off, int len, jlong handle) { 25 toNativeZipStream(handle)->setDictionary(env, dict, off, len, false); 28 static jlong Deflater_getTotalInImpl(JNIEnv*, jobject, jlong handle) { 29 return toNativeZipStream(handle)->stream.total_in; 32 static jlong Deflater_getTotalOutImpl(JNIEnv*, jobject, jlong handle) { 33 return toNativeZipStream(handle)->stream.total_out; 36 static jint Deflater_getAdlerImpl(JNIEnv*, jobject, jlong handle) { 37 return toNativeZipStream(handle)->stream.adler; 65 static void Deflater_setInputImpl(JNIEnv* env, jobject, jbyteArray buf, jint off, jint len, jlong handle) { 66 toNativeZipStream(handle)->setInput(env, buf, off, len) [all...] |
/external/libsepol/src/ |
context.c | 11 #include "handle.h" 87 int context_to_string(sepol_handle_t * handle, 135 ERR(handle, "out of memory, could not convert " "context to string"); 143 int context_from_record(sepol_handle_t * handle, 162 ERR(handle, "out of memory"); 171 ERR(handle, "user %s is not defined", user); 180 ERR(handle, "role %s is not defined", role); 189 ERR(handle, "type %s is not defined", type); 196 ERR(handle, "MLS is disabled, but MLS context \"%s\" found", 200 ERR(handle, "MLS is enabled, but no MLS context found") [all...] |
nodes.c | 7 #include "handle.h" 14 static int node_from_record(sepol_handle_t * handle, 30 if (sepol_node_get_addr_bytes(handle, data, &addr_buf, &addr_bsize) < 0) 32 if (sepol_node_get_mask_bytes(handle, data, &mask_buf, &mask_bsize) < 0) 47 ERR(handle, "unsupported protocol %u", proto); 56 if (context_from_record(handle, policydb, &tmp_con, 68 ERR(handle, "out of memory"); 79 ERR(handle, "could not create node structure"); 83 static int node_to_record(sepol_handle_t * handle, 93 if (sepol_node_create(handle, &tmp_record) < 0 [all...] |
users.c | 7 #include "handle.h" 15 static int user_to_record(sepol_handle_t * handle, 28 if (sepol_user_create(handle, &tmp_record) < 0) 31 if (sepol_user_set_name(handle, tmp_record, name) < 0) 38 if (sepol_user_add_role(handle, tmp_record, role) < 0) 51 ERR(handle, "could not copy MLS level"); 57 ERR(handle, "could not copy MLS level"); 61 if (mls_to_string(handle, policydb, &context, &str) < 0) { 67 if (sepol_user_set_mlslevel(handle, tmp_record, str) < 0) { 75 ERR(handle, "could not copy MLS range") [all...] |
interfaces.c | 5 #include "handle.h" 12 static int iface_from_record(sepol_handle_t * handle, 30 if (context_from_record(handle, policydb, 39 if (context_from_record(handle, policydb, 51 ERR(handle, "out of memory"); 62 ERR(handle, "error creating interface structure"); 66 static int iface_to_record(sepol_handle_t * handle, 78 if (sepol_iface_create(handle, &tmp_record) < 0) 81 if (sepol_iface_set_name(handle, tmp_record, name) < 0) 84 if (context_to_record(handle, policydb, ifcon, &tmp_con) < 0 [all...] |
user_record.c | 30 int sepol_user_key_create(sepol_handle_t * handle, 38 ERR(handle, "out of memory, " 59 int sepol_user_key_extract(sepol_handle_t * handle, 64 if (sepol_user_key_create(handle, user->name, key_ptr) < 0) { 65 ERR(handle, "could not extract key from user %s", user->name); 96 int sepol_user_set_name(sepol_handle_t * handle, 102 ERR(handle, "out of memory, could not set name"); 121 int sepol_user_set_mlslevel(sepol_handle_t * handle, 127 ERR(handle, "out of memory, " 146 int sepol_user_set_mlsrange(sepol_handle_t * handle, [all...] |
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/ |
TrustletSession.cpp | 91 if (buffers.find(pWsm->handle) != buffers.end()) { 95 buffers[pWsm->handle] = pWsm; 100 bool TrustletSession::removeBulkBuff(uint32_t handle) 102 if (buffers.find(handle) == buffers.end()) { 105 CWsm_ptr pWsm = buffers[handle]; 107 buffers.erase(handle); 120 buffers.erase(pWsm->handle);
|
/external/bluetooth/bluedroid/stack/include/ |
avdtc_api.h | 61 typedef void tAVDTC_CTRL_CBACK(UINT8 handle, BD_ADDR bd_addr, UINT8 event, tAVDTC_CTRL *p_data); 124 AVDT_API extern void AVDTC_GetConfigReq(UINT8 handle); 135 AVDT_API extern void AVDTC_GetConfigRsp(UINT8 handle, UINT8 label, tAVDT_CFG *p_cfg); 146 AVDT_API extern void AVDTC_OpenReq(UINT8 handle); 157 AVDT_API extern void AVDTC_OpenRsp(UINT8 handle, UINT8 label); 179 AVDT_API extern void AVDTC_CloseRsp(UINT8 handle, UINT8 label); 201 AVDT_API extern void AVDTC_AbortReq(UINT8 handle); 212 AVDT_API extern void AVDTC_AbortRsp(UINT8 handle, UINT8 label); 223 AVDT_API extern void AVDTC_Rej(UINT8 handle, BD_ADDR bd_addr, UINT8 cmd, UINT8 label,
|
/external/kernel-headers/original/linux/ |
ion.h | 145 * an opaque handle to it. 152 * ion_free - free a handle 154 * @handle: the handle to free 156 * Free the provided handle. 158 void ion_free(struct ion_client *client, struct ion_handle *handle); 161 * ion_phys - returns the physical address and len of a handle 163 * @handle: the handle 167 * This function queries the heap for a particular handle to get th 251 struct ion_handle *handle; member in struct:ion_allocation_data 265 struct ion_handle *handle; member in struct:ion_fd_data 274 struct ion_handle *handle; member in struct:ion_handle_data [all...] |
/external/webkit/Source/JavaScriptCore/wtf/ |
AVLTree.h | 132 typedef typename Abstractor::handle handle; 146 inline handle insert(handle h); 148 inline handle search(key k, SearchType st = EQUAL); 149 inline handle search_least(); 150 inline handle search_greatest(); 152 inline handle remove(key k); 154 inline handle subst(handle new_node) [all...] |
/device/samsung/manta/voicefx/ |
eS305VoiceProcessing.h | 57 * Sets the IO handle for the current input stream, or ADNC_IO_HANDLE_NONE when stream is 60 int eS305_SetActiveIoHandle(audio_io_handle_t handle); 62 int eS305_AddEffect(effect_descriptor_t * descr, audio_io_handle_t handle); 64 int eS305_RemoveEffect(effect_descriptor_t * descr, audio_io_handle_t handle);
|
/external/chromium/base/ |
sync_socket.h | 26 typedef HANDLE Handle; 28 typedef int Handle; 31 // Creates a SyncSocket from a Handle. Used in transport. 32 explicit SyncSocket(Handle handle) : handle_(handle) { } 44 // Note it is not safe to send messages from the same socket handle by 63 // Extracts the contained handle. Used for transferring between 65 Handle handle() const { return handle_; function in class:base::SyncSocket [all...] |
/external/chromium/base/threading/ |
platform_thread_unittest.cc | 31 PlatformThreadHandle handle = kNullThreadHandle; local 34 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle)); 35 PlatformThread::Join(handle); 41 PlatformThreadHandle handle[arraysize(thread)]; local 46 ASSERT_TRUE(PlatformThread::Create(0, &thread[n], &handle[n])); 48 PlatformThread::Join(handle[n]); 79 PlatformThreadHandle handle = kNullThreadHandle; local 82 ASSERT_TRUE(PlatformThread::Create(0, &thread, &handle)); 83 PlatformThread::Join(handle); 92 PlatformThreadHandle handle[arraysize(thread)] local [all...] |
/external/chromium/chrome/browser/webdata/ |
web_data_service_test_util.h | 20 virtual void OnWebDataServiceRequestDone(WebDataService::Handle handle, 23 handle_ = handle; 31 WebDataService::Handle handle() { return handle_; } function in class:AutofillWebDataServiceConsumer 35 WebDataService::Handle handle_;
|
/external/libvpx/libvpx/examples/includes/geshi/contrib/ |
cssgen2.php | 35 if ($handle = opendir($geshi->language_path)) { 36 while (($file = readdir($handle)) !== false) { 42 closedir($handle);
|
/external/webkit/Source/WebCore/loader/icon/ |
IconLoader.cpp | 79 // Store the handle so we can cancel the load if stopLoading is called later. 98 ResourceHandle* handle = resourceLoader->handle(); local 99 finishLoading(handle ? handle->firstRequest().url() : KURL(), 0); 122 ResourceHandle* handle = resourceLoader->handle(); local 123 finishLoading(handle ? handle->firstRequest().url() : KURL(), 0); 144 ResourceHandle* handle = resourceLoader->handle() local [all...] |
/external/webkit/Source/WebKit2/Shared/ |
ShareableBitmap.cpp | 37 ShareableBitmap::Handle::Handle() 42 void ShareableBitmap::Handle::encode(CoreIPC::ArgumentEncoder* encoder) const 49 bool ShareableBitmap::Handle::decode(CoreIPC::ArgumentDecoder* decoder, Handle& handle) 51 if (!decoder->decode(handle.m_handle)) 53 if (!decoder->decode(handle.m_size)) 55 if (!decoder->decode(handle.m_flags)) 92 PassRefPtr<ShareableBitmap> ShareableBitmap::create(const Handle& handle [all...] |
/frameworks/native/libs/ui/ |
GraphicBufferMapper.cpp | 49 status_t GraphicBufferMapper::registerBuffer(buffer_handle_t handle) 54 err = mAllocMod->registerBuffer(mAllocMod, handle); 57 handle, err, strerror(-err)); 61 status_t GraphicBufferMapper::unregisterBuffer(buffer_handle_t handle) 66 err = mAllocMod->unregisterBuffer(mAllocMod, handle); 69 handle, err, strerror(-err)); 73 status_t GraphicBufferMapper::lock(buffer_handle_t handle, 79 err = mAllocMod->lock(mAllocMod, handle, usage, 87 status_t GraphicBufferMapper::lockYCbCr(buffer_handle_t handle, 93 err = mAllocMod->lock_ycbcr(mAllocMod, handle, usage [all...] |
/system/media/audio_utils/include/audio_utils/ |
sndfile.h | 59 void sf_close(SNDFILE *handle); 62 sf_count_t sf_readf_short(SNDFILE *handle, short *ptr, sf_count_t desired); 65 sf_count_t sf_writef_short(SNDFILE *handle, const short *ptr, sf_count_t desired);
|
/external/bluetooth/bluedroid/bta/ag/ |
bta_ag_rfc.c | 88 static void bta_ag_port_cback(UINT32 code, UINT16 port_handle, UINT16 handle) 93 if ((p_scb = bta_ag_scb_by_idx(handle)) != NULL) 95 /* ignore port events for port handles other than connected handle */ 98 APPL_TRACE_DEBUG3("ag_port_cback ignoring handle:%d conn_handle = %d other handle = %d", 99 port_handle, p_scb->conn_handle, handle); 106 p_buf->layer_specific = handle; 122 static void bta_ag_mgmt_cback(UINT32 code, UINT16 port_handle, UINT16 handle) 130 APPL_TRACE_DEBUG3("ag_mgmt_cback : code = %d, port_handle = %d, handle = %d", 131 code, port_handle, handle); [all...] |
/external/bluetooth/bluedroid/stack/rfcomm/ |
port_api.c | 63 ** p_handle - OUT pointer to the handle. 205 ** Parameters: handle - Handle returned in the RFCOMM_CreateConnection 208 int RFCOMM_RemoveConnection (UINT16 handle) 212 RFCOMM_TRACE_API1 ("RFCOMM_RemoveConnection() handle:%d", handle); 214 /* Check if handle is valid to avoid crashing */ 215 if ((handle == 0) || (handle > MAX_RFC_PORTS)) 217 RFCOMM_TRACE_ERROR1 ("RFCOMM_RemoveConnection() BAD handle:%d", handle) [all...] |
/system/core/adb/ |
usb_osx.c | 258 usb_handle* handle = CheckInterface((IOUSBInterfaceInterface**)iface, local 260 if (handle == NULL) { 267 register_usb_transport(handle, (serial[0] ? serial : NULL), devpath, 1); 276 handle, 277 &handle->usbNotification); 288 usb_handle *handle = (usb_handle *)refCon; local 291 if (!handle) { 292 DBG("ERR: NULL handle\n"); 296 IOObjectRelease(handle->usbNotification); 297 usb_kick(handle); 306 usb_handle* handle = NULL; local [all...] |