/external/chromium_org/ppapi/proxy/ |
ppp_content_decryptor_private_proxy.cc | 40 // TODO(dmichael): Refactor so this handle sharing code is in one place. 50 int handle; local 51 int32_t result = enter.object()->GetSharedMemory(&handle); 56 reinterpret_cast<HANDLE>(static_cast<intptr_t>(handle)); 58 handle; 88 buffer->handle = base::SharedMemoryHandle(); 100 base::SharedMemoryHandle handle; 103 &handle) == PP_FALSE) 107 buffer->handle = handle [all...] |
handle_converter.cc | 25 const ppapi::proxy::SerializedHandle& handle, 27 ppapi::proxy::SerializedHandle::WriteHeader(handle.header(), message); 29 // Now write the handle itself in POSIX style. 39 void ConvertHandlesInParam(const ppapi::proxy::SerializedHandle& handle, 43 handles->push_back(handle); 45 WriteHandle((*handle_index)++, handle, msg); 50 const ppapi::proxy::SerializedHandle& handle) { 51 WriteHandle((*handle_index)++, handle, m); 72 // ResourceMessageReplyParams, so that's the only one we need to handle. 89 // ConvertHandle will write each handle to |msg|, if necessary [all...] |
/external/libsepol/src/ |
hierarchy.c | 45 sepol_handle_t *handle; member in struct:hierarchy_args 86 ERR(a->handle, \ 143 ERR(a->handle, "type %s is a child of an attribute %s", 234 ERR(a->handle, 326 ERR(args->handle, "out of memory on conditional av list expansion"); 394 ERR(args->handle, "out of memory on conditional av list expansion"); 417 ERR(a->handle, "Role hierarchy violation, %s exceeds %s", 443 ERR(a->handle, "User hierarchy violation, %s exceeds %s", 450 int hierarchy_check_constraints(sepol_handle_t * handle, policydb_t * p) 465 args.handle = handle [all...] |
avtab.c | 387 ERR(fp->handle, "truncated entry"); 393 ERR(fp->handle, "invalid item count"); 399 ERR(fp->handle, "truncated entry"); 407 ERR(fp->handle, "truncated source type"); 413 ERR(fp->handle, "truncated target type"); 419 ERR(fp->handle, "truncated target class"); 427 ERR(fp->handle, "null entry"); 431 ERR(fp->handle, "entry has both access " 447 ERR(fp->handle, "entry only had %d items, " 456 ERR(fp->handle, "truncated entry") [all...] |
/packages/apps/Nfc/nxp/jni/ |
com_android_nfc.cpp | 406 * Utility to get a technology tree and a corresponding handle list from a detected tag. 419 // ISO handle is usually the second, and we prefer the ISO. Should implement 420 // a method to find the "preferred handle order" and use that instead, 424 int handle = devList[target].hTargetDev; local 431 MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_4, handle, type); 437 MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_4, handle, type); 439 MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_3B, handle, type); 444 index, MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_3A, handle, type); 452 index, MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_4, handle, type); 454 index, MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_3B, handle, type) [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/arpa/ |
nameser.h | 108 * This is a message handle. It is caller allocated and has no dynamic data. 126 #define ns_msg_getflag(handle, flag) ( \ 127 ((handle)._flags & _ns_flagdata[flag].mask) \ 130 #define ns_msg_id(handle) ((handle)._id + 0) 131 #define ns_msg_base(handle) ((handle)._msg + 0) 132 #define ns_msg_end(handle) ((handle)._eom + 0) 133 #define ns_msg_size(handle) ((handle)._eom - (handle)._msg [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/arpa/ |
nameser.h | 108 * This is a message handle. It is caller allocated and has no dynamic data. 126 #define ns_msg_getflag(handle, flag) ( \ 127 ((handle)._flags & _ns_flagdata[flag].mask) \ 130 #define ns_msg_id(handle) ((handle)._id + 0) 131 #define ns_msg_base(handle) ((handle)._msg + 0) 132 #define ns_msg_end(handle) ((handle)._eom + 0) 133 #define ns_msg_size(handle) ((handle)._eom - (handle)._msg [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/arpa/ |
nameser.h | 108 * This is a message handle. It is caller allocated and has no dynamic data. 126 #define ns_msg_getflag(handle, flag) ( \ 127 ((handle)._flags & _ns_flagdata[flag].mask) \ 130 #define ns_msg_id(handle) ((handle)._id + 0) 131 #define ns_msg_base(handle) ((handle)._msg + 0) 132 #define ns_msg_end(handle) ((handle)._eom + 0) 133 #define ns_msg_size(handle) ((handle)._eom - (handle)._msg [all...] |
/external/chromium_org/chrome/browser/automation/ |
testing_automation_provider.h | 82 void CloseBrowser(int handle, IPC::Message* reply_message); 83 void ActivateTab(int handle, int at_index, int* status); 84 void AppendTab(int handle, const GURL& url, IPC::Message* reply_message); 86 void GetActiveTabIndex(int handle, int* active_tab_index); 89 void GetCookies(const GURL& url, int handle, int* value_size, 91 void NavigateToURLBlockUntilNavigationsComplete(int handle, const GURL& url, 94 void NavigationAsync(int handle, const GURL& url, bool* status); 95 void Reload(int handle, IPC::Message* reply_message); 103 void GetBrowserWindow(int index, int* handle); 104 void ExecuteBrowserCommandAsync(int handle, int command, bool* success) [all...] |
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
ndapi.c | 46 static NJ_INT16 njd_check_dic(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle); 66 if (dicinfo->handle != NULL) { 76 loctset->loct.handle = dicinfo->handle; 136 if (loctset->loct.handle == NULL) { 140 dic_type = NJ_GET_DIC_TYPE_EX(loctset->loct.type, loctset->loct.handle); 209 if ((loctset->loct.handle == NULL) || 215 dic_type = NJ_GET_DIC_TYPE_EX(loctset->loct.type, loctset->loct.handle); 337 ((loctset->loct.handle != NULL) && 339 dic_type = NJ_GET_DIC_TYPE_EX(loctset->loct.type, loctset->loct.handle); [all...] |
/external/bluetooth/bluedroid/stack/mcap/ |
mca_api.c | 116 ** If the given p_reg->ctrl_psm is 0, this handle is INT only. 118 ** Returns 0, if failed. Otherwise, the MCA handle. 124 tMCA_HANDLE handle = 0; local 170 handle = mca_rcb_to_handle (p_rcb); 174 return handle; 189 void MCA_Deregister(tMCA_HANDLE handle) 191 tMCA_RCB *p_rcb = mca_rcb_by_handle(handle); 193 MCA_TRACE_API1 ("MCA_Deregister: %d", handle); 201 mca_rcb_dealloc(handle); 217 tMCA_RESULT MCA_CreateDep(tMCA_HANDLE handle, tMCA_DEP *p_dep, tMCA_CS *p_cs [all...] |
mca_csm.c | 222 tMCA_CCB *mca_ccb_by_bd(tMCA_HANDLE handle, BD_ADDR bd_addr) 225 tMCA_RCB *p_rcb = mca_rcb_by_handle(handle); 231 i = handle-1; 256 tMCA_CCB *mca_ccb_alloc(tMCA_HANDLE handle, BD_ADDR bd_addr) 259 tMCA_RCB *p_rcb = mca_rcb_by_handle(handle); 263 MCA_TRACE_DEBUG1("mca_ccb_alloc handle:0x%x", handle); 266 i = handle-1;
|
/external/chromium_org/v8/test/mjsunit/ |
mirror-unresolved-function.js | 35 this.refs_[tmp[i].handle] = tmp[i]; 39 MirrorRefCache.prototype.lookup = function(handle) { 40 return this.refs_[handle]; 72 assertEquals(mirror.constructorFunction().handle(), fromJSON.constructorFunction.ref, 'Unexpected constructor function handle in JSON'); 74 assertEquals(mirror.protoObject().handle(), fromJSON.protoObject.ref, 'Unexpected proto object handle in JSON'); 76 assertEquals(mirror.prototypeObject().handle(), fromJSON.prototypeObject.ref, 'Unexpected prototype object handle in JSON');
|
/external/opencv/cxcore/src/ |
cxswitcher.cpp | 341 HMODULE handle; member in struct:CvPluginInfo 391 if( plugins[CV_PLUGIN_OPTCV].handle != 0 ) 395 assert( plugins[i].handle == 0 ); 396 plugins[i].handle = plugins[CV_PLUGIN_OPTCV].handle; 427 if( plugins[idx].handle != 0 && name_start ) 437 addr = (uchar*)GetProcAddress( plugins[idx].handle, name ); 479 if( plugins[CV_PLUGIN_OPTCV].handle != 0 ) 482 plugins[i].handle = 0; 578 if( plugins[i].handle ) [all...] |
/external/v8/test/mjsunit/ |
mirror-unresolved-function.js | 35 this.refs_[tmp[i].handle] = tmp[i]; 39 MirrorRefCache.prototype.lookup = function(handle) { 40 return this.refs_[handle]; 72 assertEquals(mirror.constructorFunction().handle(), fromJSON.constructorFunction.ref, 'Unexpected constructor function handle in JSON'); 74 assertEquals(mirror.protoObject().handle(), fromJSON.protoObject.ref, 'Unexpected proto object handle in JSON'); 76 assertEquals(mirror.prototypeObject().handle(), fromJSON.prototypeObject.ref, 'Unexpected prototype object handle in JSON');
|
/external/chromium_org/components/nacl/loader/ |
nacl_listener.cc | 156 base::PlatformFile handle = variable 160 *fd = reinterpret_cast<uintptr_t>(handle); 162 *fd = handle; 245 IPC::ChannelHandle handle = local 248 new NaClIPCAdapter(handle, io_thread_.message_loop_proxy().get())); 255 handle.socket = base::FileDescriptor( 258 if (!Send(new NaClProcessHostMsg_PpapiChannelCreated(handle))) 259 LOG(ERROR) << "Failed to send IPC channel handle to NaClProcessHost."; 295 // Otherwise, the IRT handle is not even sent.
|
/external/chromium_org/content/renderer/pepper/ |
pepper_broker.cc | 25 base::SyncSocket::Handle DuplicateHandle(base::SyncSocket::Handle handle) { 26 base::SyncSocket::Handle out_handle = base::kInvalidPlatformFileValue; 30 handle, 41 out_handle = ::dup(handle); 88 base::SyncSocket::Handle handle) { 90 dispatcher_->ShareHandleWithRemote(handle, false); 97 // The plugin did not receive the handle, so it must be closed [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/svga/drm/ |
vmw_screen_dri.c | 167 * The vmware device specific handle is the hardware SID. 172 req->sid = whandle->handle; 180 whandle->handle, ret, strerror(-ret)); 187 whandle->handle, rep->mip_levels[0]); 195 whandle->handle, i); 207 vsrf->sid = whandle->handle; 214 vmw_ioctl_surface_destroy(vws, whandle->handle); 230 whandle->handle = vsrf->sid;
|
/external/kernel-headers/original/linux/ |
irq.h | 287 /* Handle irq action chains: */ 316 handle_irq_name(void fastcall (*handle)(unsigned int, struct irq_desc *, 327 * handle an interrupt. If the descriptor is attached to an 363 void fastcall (*handle)(unsigned int, 368 void fastcall (*handle)(unsigned int, struct irq_desc *, 377 void fastcall (*handle)(unsigned int, struct irq_desc *, 380 __set_irq_handler(irq, handle, 0); 390 void fastcall (*handle)(unsigned int, struct irq_desc *, 393 __set_irq_handler(irq, handle, 1);
|
/external/libnfc-nci/src/nfa/p2p/ |
nfa_p2p_act.c | 203 evt_data.sdp.handle = (NFA_HANDLE_GROUP_P2P | local_sap); 272 evt_data.data.handle = 0; 276 evt_data.data.handle = (NFA_HANDLE_GROUP_P2P | local_sap); 285 evt_data.data.handle = (NFA_HANDLE_GROUP_P2P | NFA_P2P_HANDLE_FLAG_CONN | xx); 416 evt_data.disc.handle = (NFA_HANDLE_GROUP_P2P | NFA_P2P_HANDLE_FLAG_CONN | xx); 430 evt_data.disc.handle = (NFA_HANDLE_GROUP_P2P | local_sap); 493 evt_data.disc.handle = (NFA_HANDLE_GROUP_P2P | NFA_P2P_HANDLE_FLAG_CONN | xx); 506 evt_data.disc.handle = (NFA_HANDLE_GROUP_P2P | local_sap); 549 evt_data.congest.handle = (NFA_HANDLE_GROUP_P2P | local_sap); 571 evt_data.congest.handle = (NFA_HANDLE_GROUP_P2P | NFA_P2P_HANDLE_FLAG_CONN | xx) [all...] |
/external/mesa3d/src/gallium/winsys/svga/drm/ |
vmw_screen_dri.c | 167 * The vmware device specific handle is the hardware SID. 172 req->sid = whandle->handle; 180 whandle->handle, ret, strerror(-ret)); 187 whandle->handle, rep->mip_levels[0]); 195 whandle->handle, i); 207 vsrf->sid = whandle->handle; 214 vmw_ioctl_surface_destroy(vws, whandle->handle); 230 whandle->handle = vsrf->sid;
|
/external/sonivox/arm-fm-22k/host_src/ |
eas_main.c | 75 EAS_HANDLE handle; local 99 if ((reportResult = EAS_OpenFile(easData, filename, &handle)) != EAS_SUCCESS) 106 if ((result = EAS_Prepare(easData, handle)) != EAS_SUCCESS) 113 if ((result = EAS_ParseMetaData(easData, handle, &playTime)) != EAS_SUCCESS) 140 if ((result = EAS_GetLocation(easData, handle, &playTime)) != EAS_SUCCESS) 171 if ((result = EAS_State(easData, handle, &state)) != EAS_SUCCESS) 195 if ((result = EAS_CloseFile(easData,handle)) != EAS_SUCCESS)
|
/external/sonivox/arm-hybrid-22k/host_src/ |
eas_main.c | 75 EAS_HANDLE handle; local 99 if ((reportResult = EAS_OpenFile(easData, filename, &handle)) != EAS_SUCCESS) 106 if ((result = EAS_Prepare(easData, handle)) != EAS_SUCCESS) 113 if ((result = EAS_ParseMetaData(easData, handle, &playTime)) != EAS_SUCCESS) 140 if ((result = EAS_GetLocation(easData, handle, &playTime)) != EAS_SUCCESS) 171 if ((result = EAS_State(easData, handle, &state)) != EAS_SUCCESS) 195 if ((result = EAS_CloseFile(easData,handle)) != EAS_SUCCESS)
|
/external/sonivox/arm-wt-22k/host_src/ |
eas_main.c | 75 EAS_HANDLE handle; local 102 if ((reportResult = EAS_OpenFile(easData, &file, &handle)) != EAS_SUCCESS) 109 if ((result = EAS_Prepare(easData, handle)) != EAS_SUCCESS) 116 if ((result = EAS_ParseMetaData(easData, handle, &playTime)) != EAS_SUCCESS) 143 if ((result = EAS_GetLocation(easData, handle, &playTime)) != EAS_SUCCESS) 174 if ((result = EAS_State(easData, handle, &state)) != EAS_SUCCESS) 198 if ((result = EAS_CloseFile(easData,handle)) != EAS_SUCCESS)
|
/hardware/libhardware/modules/gralloc/ |
gralloc.cpp | 59 buffer_handle_t handle, int usage, 64 buffer_handle_t handle); 67 buffer_handle_t handle); 70 buffer_handle_t handle); 246 buffer_handle_t handle) 248 if (private_handle_t::validate(handle) < 0) 251 private_handle_t const* hnd = reinterpret_cast<private_handle_t const*>(handle);
|