/external/v8/src/ |
json-parser.h | 23 MUST_USE_RESULT static MaybeHandle<Object> Parse(Handle<String> source) { 30 explicit JsonParser(Handle<String> source) 44 seq_source_ = Handle<SeqOneByteString>::cast(source_); 97 Handle<String> ParseJsonString() { 101 bool ParseJsonString(Handle<String> expected) { 127 Handle<String> ParseJsonInternalizedString() { 132 Handle<String> ScanJsonString(); 137 Handle<String> SlowScanJsonString(Handle<String> prefix, int start, int end); 145 Handle<Object> ParseJsonNumber() [all...] |
/hardware/qcom/keymaster/ |
keymaster_qcom.cpp | 66 int (*QSEECom_start_app)(struct QSEECom_handle ** handle, char* path, 68 int (*QSEECom_shutdown_app)(struct QSEECom_handle **handle); 69 int (*QSEECom_send_cmd)(struct QSEECom_handle* handle, void *cbuf, 71 int (*QSEECom_send_modified_cmd)(struct QSEECom_handle* handle, void *cbuf, 74 int (*QSEECom_set_bandwidth)(struct QSEECom_handle* handle, bool high); 192 static int32_t qcom_km_ION_memalloc(struct qcom_km_ion_info_t *handle, 208 if(handle == NULL){ 209 ALOGE("Error:: null handle received"); 217 handle->ion_sbuffer = NULL; 218 handle->ifd_data_fd = 0 339 struct QSEECom_handle *handle = NULL; local 418 struct QSEECom_handle *handle = NULL; local 499 struct QSEECom_handle *handle = NULL; local 598 struct QSEECom_handle *handle = NULL; local [all...] |
/development/host/windows/usb/api/ |
adb_object_handle.h | 22 of the API through a handle.
47 outside of the API through a handle.
50 an invalid or already closed handle, we keep track of all opened handles in
52 an object that this handle represents. All objects that are exposed to the
55 1. When CreateHandle() method is called on an object, a handle (ADBAPIHANDLE
56 that is) is assigned to it, a pair <handle, object> is added to the global
57 AdbObjectHandleMap instance, object is referenced and then handle is
59 2. Every time API is called with a handle, a lookup is performed in
60 AdbObjectHandleMap to find an object that is associated with the handle.
66 3. When object handle gets closed, assuming object is found in the map, that [all...] |
/external/webrtc/src/common_audio/vad/ |
vad_unittest.cc | 82 VadInst* handle = NULL; local 113 EXPECT_EQ(-1, WebRtcVad_Assign(&handle, NULL)); 114 EXPECT_EQ(0, WebRtcVad_Assign(&handle, tmp_handle)); 115 EXPECT_EQ(handle, tmp_handle); 119 ASSERT_EQ(0, WebRtcVad_Create(&handle)); 122 EXPECT_EQ(-1, WebRtcVad_Process(handle, kRates[0], speech, kFrameLengths[0])); 123 EXPECT_EQ(-1, WebRtcVad_set_mode(handle, kModes[0])); 126 ASSERT_EQ(0, WebRtcVad_Init(handle)); 129 EXPECT_EQ(-1, WebRtcVad_set_mode(handle, kModes[0] - 1)); 130 EXPECT_EQ(-1, WebRtcVad_set_mode(handle, kModes[kModesSize - 1] + 1)) 187 VadInstT* handle = (VadInstT*) malloc(sizeof(VadInstT)); local [all...] |
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
common.cpp | 26 interface_info *getIfaceInfo(wifi_interface_handle handle) 28 return (interface_info *)handle; 31 wifi_handle getWifiHandle(wifi_interface_handle handle) 33 return getIfaceInfo(handle)->handle; 36 hal_info *getHalInfo(wifi_handle handle) 38 return (hal_info *)handle; 41 hal_info *getHalInfo(wifi_interface_handle handle) 43 return getHalInfo(getWifiHandle(handle)); 56 wifi_error wifi_register_handler(wifi_handle handle, int cmd, nl_recvmsg_msg_cb_t func, void *arg [all...] |
/system/bt/bta/jv/ |
bta_jv_int.h | 102 UINT32 handle; /* The connection handle */ member in struct:__anon69023 127 UINT32 handle; /* the handle reported to java app (same as gap handle) */ member in struct:__anon69025 142 UINT32 handle; /* the rfcomm session handle at jv */ member in struct:__anon69026 143 UINT16 port_handle;/* port handle */ 157 UINT8 handle; /* index: the handle reported to java app * member in struct:__anon69027 206 UINT32 handle; member in struct:__anon69032 214 UINT32 handle; member in struct:__anon69033 226 UINT32 handle; member in struct:__anon69034 267 UINT32 handle; member in struct:__anon69037 276 UINT32 handle; member in struct:__anon69038 288 UINT32 handle; member in struct:__anon69039 305 UINT32 handle; member in struct:__anon69041 317 UINT32 handle; member in struct:__anon69042 334 UINT32 handle; member in struct:__anon69044 [all...] |
/frameworks/native/libs/ui/ |
GraphicBuffer.cpp | 53 handle = NULL; 66 handle = NULL; 82 handle = inHandle; 95 handle = buffer->handle; 100 if (handle) { 108 mBufferMapper.unregisterBuffer(handle); 109 native_handle_close(handle); 110 native_handle_delete(const_cast<native_handle*>(handle)); 113 allocator.free(handle); [all...] |
/packages/apps/Nfc/nci/jni/ |
PeerToPeer.h | 144 ** jniHandle: Connection handle. 170 ** serverJniHandle: Server's handle. 171 ** connJniHandle: Connection handle. 186 ** jniHandle: Connection handle. 201 ** jniHandle: Connection handle. 215 ** jniHandle: Connection handle. 229 ** jniHandle: Handle of connection. 244 ** jniHandle: Handle of connection. 260 ** jniHandle: Handle of connection. 273 ** jniHandle: Handle of the connection [all...] |
/external/libdrm/exynos/ |
exynos_drm.c | 120 bo->handle = req.handle; 136 * @handle: gem handle to request gem info. 140 * with this function call, you can get flags and size to gem handle 145 drm_public int exynos_bo_get_info(struct exynos_device *dev, uint32_t handle, 150 .handle = handle, 179 if (bo->handle) { 181 .handle = bo->handle [all...] |
/external/v8/test/cctest/ |
test-weakmaps.cc | 44 static Handle<JSWeakMap> AllocateJSWeakMap(Isolate* isolate) { 46 Handle<Map> map = factory->NewMap(JS_WEAK_MAP_TYPE, JSWeakMap::kSize); 47 Handle<JSObject> weakmap_obj = factory->NewJSObjectFromMap(map); 48 Handle<JSWeakMap> weakmap(JSWeakMap::cast(*weakmap_obj)); 52 Handle<ObjectHashTable> table = ObjectHashTable::New(isolate, 1); 58 static void PutIntoWeakMap(Handle<JSWeakMap> weakmap, 59 Handle<JSObject> key, 60 Handle<Object> value) { 61 Handle<ObjectHashTable> table = ObjectHashTable::Put( 62 Handle<ObjectHashTable>(ObjectHashTable::cast(weakmap->table())) [all...] |
/external/kernel-headers/original/uapi/linux/ |
phonet.h | 117 static inline __u8 pn_obj(__u16 handle) 119 return handle & 0xff; 122 static inline __u8 pn_dev(__u16 handle) 124 return handle >> 8; 127 static inline __u16 pn_port(__u16 handle) 129 return handle & 0x3ff; 132 static inline __u8 pn_addr(__u16 handle) 134 return (handle >> 8) & 0xfc; 151 __u16 handle) 153 spn->spn_dev = pn_dev(handle); [all...] |
/external/libdrm/freedreno/msm/ |
msm_bo.c | 40 .handle = bo->handle, 74 .handle = bo->handle, 86 .handle = bo->handle, 106 /* allocate a buffer handle: */ 108 uint32_t size, uint32_t flags, uint32_t *handle) 121 *handle = req.handle; [all...] |
/external/nfacct/ |
nfacct.c | 186 struct nl_sock *handle; local 222 handle = nl_socket_alloc(); 223 if ((ret = nfnl_connect(handle))) { 224 NL_DBG(2, "Can't connect handle: %s line: %d\n", 229 if ((ret = nl_send_auto_complete(handle, msg)) < 0) { 235 nl_socket_modify_cb(handle, NL_CB_VALID, NL_CB_CUSTOM, valid_input, NULL); 236 ret = nl_recvmsgs_default(handle); 243 nl_close(handle); 244 nl_socket_free(handle); 253 struct nl_sock *handle; local 328 struct nl_sock *handle; local 396 struct nl_sock *handle; local 491 struct nl_sock *handle; local [all...] |
/external/webrtc/src/modules/audio_processing/ |
level_estimator_impl.cc | 98 Level* level = static_cast<Level*>(handle(0)); 129 Level* level = static_cast<Level*>(handle(0)); 144 int LevelEstimatorImpl::DestroyHandle(void* handle) const { 145 assert(handle != NULL); 146 Level* level = static_cast<Level*>(handle); 151 int LevelEstimatorImpl::InitializeHandle(void* handle) const { 152 assert(handle != NULL); 153 Level* level = static_cast<Level*>(handle); 159 int LevelEstimatorImpl::ConfigureHandle(void* /*handle*/) const { 167 int LevelEstimatorImpl::GetHandleError(void* handle) const [all...] |
/frameworks/native/services/sensorservice/ |
BatteryService.cpp | 41 bool BatteryService::addSensor(uid_t uid, int handle) { 43 Info key(uid, handle); 53 bool BatteryService::removeSensor(uid_t uid, int handle) { 55 ssize_t index = mActivations.indexOf(Info(uid, handle)); 63 void BatteryService::enableSensorImpl(uid_t uid, int handle) { 65 if (addSensor(uid, handle)) { 67 mBatteryStatService->noteStartSensor(uid, handle); 72 void BatteryService::disableSensorImpl(uid_t uid, int handle) { 74 if (removeSensor(uid, handle)) { 76 mBatteryStatService->noteStopSensor(uid, handle); [all...] |
/frameworks/opt/net/wifi/service/lib/ |
wifi_hal_stub.cpp | 5 wifi_error wifi_initialize_stub(wifi_handle *handle) { 9 void wifi_cleanup_stub(wifi_handle handle, wifi_cleaned_up_handler handler) { 12 void wifi_event_loop_stub(wifi_handle handle) { 20 wifi_error wifi_get_supported_feature_set_stub(wifi_interface_handle handle, feature_set *set) { 24 wifi_error wifi_get_concurrency_matrix_stub(wifi_interface_handle handle, int max_size, 29 wifi_error wifi_set_scanning_mac_oui_stub(wifi_interface_handle handle, unsigned char *oui) { 34 wifi_error wifi_get_supported_channels_stub(wifi_handle handle, int *size, wifi_channel *list) { 39 wifi_error wifi_is_epr_supported_stub(wifi_handle handle) { 44 wifi_error wifi_get_ifaces_stub(wifi_handle handle, int *num_ifaces, wifi_interface_handle **ifaces) { 93 wifi_error wifi_get_gscan_capabilities_stub(wifi_interface_handle handle, [all...] |
/hardware/intel/common/libva/va/drm/ |
va_drm_auth_x11.c | 55 void *handle; /* libva-x11.so.1 */ member in struct:drm_auth_x11 62 get_symbol(void *handle, void *func_vptr, const char *name) 68 func = (VAGenericFunc)dlsym(handle, name); 95 auth->handle = dlopen(libva_x11_name, RTLD_LAZY | RTLD_GLOBAL); 96 if (!auth->handle) { 106 if (!get_symbol(auth->handle, &vtable->va_dri2_query_extension, 109 if (!get_symbol(auth->handle, &vtable->va_dri2_query_version, 112 if (!get_symbol(auth->handle, &vtable->va_dri2_authenticate, 136 if (auth->handle) { 137 dlclose(auth->handle); [all...] |
/libcore/luni/src/main/native/ |
java_util_jar_StrictJarFile.cpp | 60 ZipArchiveHandle handle; local 61 int32_t error = OpenArchive(fileChars.c_str(), &handle); 63 CloseArchive(handle); 68 return reinterpret_cast<jlong>(handle); 97 IterationHandle* handle = new IterationHandle(); local 101 handle->CookieAddress(), NULL); 105 handle->CookieAddress(), &entry_name); 113 return reinterpret_cast<jlong>(handle); 120 IterationHandle* handle = reinterpret_cast<IterationHandle*>(iterationHandle); local 121 const int32_t error = Next(*handle->CookieAddress(), &data, &entryName) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
phonet.h | 111 static __inline__ __u8 pn_obj(__u16 handle) 113 return handle & 0xff; 116 static __inline__ __u8 pn_dev(__u16 handle) 118 return handle >> 8; 121 static __inline__ __u16 pn_port(__u16 handle) 123 return handle & 0x3ff; 126 static __inline__ __u8 pn_addr(__u16 handle) 128 return (handle >> 8) & 0xfc; 145 __u16 handle) 147 spn->spn_dev = pn_dev(handle); [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
phonet.h | 115 static __inline__ __u8 pn_obj(__u16 handle) 117 return handle & 0xff; 120 static __inline__ __u8 pn_dev(__u16 handle) 122 return handle >> 8; 125 static __inline__ __u16 pn_port(__u16 handle) 127 return handle & 0x3ff; 130 static __inline__ __u8 pn_addr(__u16 handle) 132 return (handle >> 8) & 0xfc; 149 __u16 handle) 151 spn->spn_dev = pn_dev(handle); [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
winspool.h | 865 WINBOOL WINAPI ResetPrinterA(HANDLE hPrinter,LPPRINTER_DEFAULTSA pDefault); 866 WINBOOL WINAPI ResetPrinterW(HANDLE hPrinter,LPPRINTER_DEFAULTSW pDefault); 867 WINBOOL WINAPI SetJobA(HANDLE hPrinter,DWORD JobId,DWORD Level,LPBYTE pJob,DWORD Command); 868 WINBOOL WINAPI SetJobW(HANDLE hPrinter,DWORD JobId,DWORD Level,LPBYTE pJob,DWORD Command); 869 WINBOOL WINAPI GetJobA(HANDLE hPrinter,DWORD JobId,DWORD Level,LPBYTE pJob,DWORD cbBuf,LPDWORD pcbNeeded); 870 WINBOOL WINAPI GetJobW(HANDLE hPrinter,DWORD JobId,DWORD Level,LPBYTE pJob,DWORD cbBuf,LPDWORD pcbNeeded); 871 WINBOOL WINAPI EnumJobsA(HANDLE hPrinter,DWORD FirstJob,DWORD NoJobs,DWORD Level,LPBYTE pJob,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned); 872 WINBOOL WINAPI EnumJobsW(HANDLE hPrinter,DWORD FirstJob,DWORD NoJobs,DWORD Level,LPBYTE pJob,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned); 873 HANDLE WINAPI AddPrinterA(LPSTR pName,DWORD Level,LPBYTE pPrinter); 874 HANDLE WINAPI AddPrinterW(LPWSTR pName,DWORD Level,LPBYTE pPrinter) [all...] |
userenv.h | 34 USERENVAPI WINBOOL WINAPI LoadUserProfileA(HANDLE hToken,LPPROFILEINFOA lpProfileInfo); 35 USERENVAPI WINBOOL WINAPI LoadUserProfileW(HANDLE hToken,LPPROFILEINFOW lpProfileInfo); 36 USERENVAPI WINBOOL WINAPI UnloadUserProfile(HANDLE hToken,HANDLE hProfile); 51 USERENVAPI WINBOOL WINAPI GetUserProfileDirectoryA(HANDLE hToken,LPSTR lpProfileDir,LPDWORD lpcchSize); 52 USERENVAPI WINBOOL WINAPI GetUserProfileDirectoryW(HANDLE hToken,LPWSTR lpProfileDir,LPDWORD lpcchSize); 53 USERENVAPI WINBOOL WINAPI CreateEnvironmentBlock(LPVOID *lpEnvironment,HANDLE hToken,WINBOOL bInherit); 55 USERENVAPI WINBOOL WINAPI ExpandEnvironmentStringsForUserA(HANDLE hToken,LPCSTR lpSrc,LPSTR lpDest,DWORD dwSize); 56 USERENVAPI WINBOOL WINAPI ExpandEnvironmentStringsForUserW(HANDLE hToken,LPCWSTR lpSrc,LPWSTR lpDest,DWORD dwSize); 62 USERENVAPI HANDLE WINAPI EnterCriticalPolicySection(WINBOOL bMachine) [all...] |
/external/openssh/ |
sftp-server.c | 274 /* handle handles */ 276 typedef struct Handle Handle; 277 struct Handle { 293 Handle *handles = NULL; 313 handles = xrealloc(handles, num_handles, sizeof(Handle)); 337 handle_to_string(int handle, u_char **stringp, int *hlenp) 342 put_u32(*stringp, handle); 348 handle_from_string(const u_char *handle, u_int hlen) 354 val = get_u32(handle); 472 u_char *handle; local 686 int r, handle, fd, flags, mode, status = SSH2_FX_FAILURE; local 725 int r, handle, ret, status = SSH2_FX_FAILURE; local 742 int r, handle, fd, ret, status = SSH2_FX_FAILURE; local 783 int r, handle, fd, ret, status; local 864 int fd, r, handle, status = SSH2_FX_FAILURE; local 948 int handle, fd, r; local 1014 int r, handle, status = SSH2_FX_FAILURE; local 1045 int r, handle; local 1323 int r, handle, fd; local 1362 int handle, fd, r, status = SSH2_FX_OP_UNSUPPORTED; local [all...] |
/external/libdrm/tests/radeon/ |
rbo.c | 36 struct rbo *rbo(int fd, unsigned handle, unsigned size, 49 bo->handle = handle; 53 if (handle) { 57 open_arg.name = handle; 63 bo->handle = open_arg.handle; 71 args.handle = 0; 74 bo->handle = args.handle; [all...] |
/external/pdfium/fpdfsdk/src/ |
fpdftext.cpp | 15 // extern HANDLE g_hModule; 158 DLLEXPORT FPDF_BOOL STDCALL FPDFText_FindNext(FPDF_SCHHANDLE handle) 160 if (!handle) return FALSE; 161 IPDF_TextPageFind* textpageFind=(IPDF_TextPageFind*)handle; 164 DLLEXPORT FPDF_BOOL STDCALL FPDFText_FindPrev(FPDF_SCHHANDLE handle) 166 if (!handle) return FALSE; 167 IPDF_TextPageFind* textpageFind=(IPDF_TextPageFind*)handle; 170 DLLEXPORT int STDCALL FPDFText_GetSchResultIndex(FPDF_SCHHANDLE handle) 172 if (!handle) return 0; 173 IPDF_TextPageFind* textpageFind=(IPDF_TextPageFind*)handle; [all...] |