/system/core/fastboot/ |
usb_osx.c | 67 static int try_interfaces(IOUSBDeviceInterface182 **dev, usb_handle *handle) { 171 if ((*interface)->GetInterfaceClass(interface, &handle->info.ifc_class) != 0 || 172 (*interface)->GetInterfaceSubClass(interface, &handle->info.ifc_subclass) != 0 || 173 (*interface)->GetInterfaceProtocol(interface, &handle->info.ifc_protocol) != 0) 179 handle->info.has_bulk_in = 0; 180 handle->info.has_bulk_out = 0; 201 handle->info.has_bulk_in = 1; 202 handle->bulkIn = endpoint; 204 handle->info.has_bulk_out = 1; 205 handle->bulkOut = endpoint 455 usb_handle *handle = NULL; local [all...] |
/external/chromium_org/ppapi/cpp/private/ |
pass_file_handle.h | 15 // A wrapper class for PP_FileHandle to make sure a file handle is 16 // closed. This object takes the ownership of the file handle when it 22 // This constructor takes the ownership of |handle|. 23 explicit PassFileHandle(PP_FileHandle handle); 24 // Moves the ownership of |handle| to this object. 25 PassFileHandle(PassFileHandle& handle); 28 // Releases |handle_|. The caller must close the file handle returned. 35 PP_FileHandle handle; member in struct:pp::PassFileHandle::PassFileHandleRef 37 : handle(h) { 43 : handle_(ref.handle) { [all...] |
/external/iptables/include/ |
iptables.h | 11 struct iptc_handle **handle); 13 struct iptc_handle *handle); 15 struct iptc_handle *handle); 17 int verbose, int builtinstoo, struct iptc_handle *handle); 19 struct iptc_handle *handle, const char *chain, int counters);
|
/external/libsepol/src/ |
context.h | 8 #include <sepol/handle.h> 11 extern int context_from_record(sepol_handle_t * handle, 16 extern int context_to_record(sepol_handle_t * handle, 22 extern int context_from_string(sepol_handle_t * handle, 32 extern int context_to_string(sepol_handle_t * handle,
|
boolean_record.c | 21 int sepol_bool_key_create(sepol_handle_t * handle, 29 ERR(handle, "out of memory, " "could not create boolean key"); 49 int sepol_bool_key_extract(sepol_handle_t * handle, 54 if (sepol_bool_key_create(handle, boolean->name, key_ptr) < 0) { 55 ERR(handle, "could not extract key from boolean %s", 91 int sepol_bool_set_name(sepol_handle_t * handle, 97 ERR(handle, "out of memory, could not set boolean name"); 125 int sepol_bool_create(sepol_handle_t * handle, sepol_bool_t ** bool_ptr) 131 ERR(handle, "out of memory, " 146 int sepol_bool_clone(sepol_handle_t * handle, [all...] |
context_record.c | 33 int sepol_context_set_user(sepol_handle_t * handle, 39 ERR(handle, "out of memory, could not set " 60 int sepol_context_set_role(sepol_handle_t * handle, 66 ERR(handle, "out of memory, could not set " 86 int sepol_context_set_type(sepol_handle_t * handle, 92 ERR(handle, "out of memory, could not set " 112 int sepol_context_set_mls(sepol_handle_t * handle, 118 ERR(handle, "out of memory, could not set " 130 int sepol_context_create(sepol_handle_t * handle, sepol_context_t ** con_ptr) 137 ERR(handle, "out of memory, could not " "create context\n") [all...] |
/external/webrtc/src/modules/audio_processing/ |
noise_suppression_impl.cc | 28 typedef NsHandle Handle; 30 typedef NsxHandle Handle; 67 Handle* my_handle = static_cast<Handle*>(handle(i)); 69 err = WebRtcNs_Process(static_cast<Handle*>(handle(i)), 75 err = WebRtcNsx_Process(static_cast<Handle*>(handle(i)), 128 Handle* handle = NULL local [all...] |
/hardware/akm/AK8975_FS/libsensors/ |
AkmSensor.h | 47 virtual int setDelay(int32_t handle, int64_t ns); 48 virtual int setEnable(int32_t handle, int enabled); 49 virtual int64_t getDelay(int32_t handle); 50 virtual int getEnable(int32_t handle); 62 int handle2id(int32_t handle);
|
/system/core/include/ion/ |
ion.h | 31 unsigned int flags, struct ion_handle **handle); 35 int ion_free(int fd, struct ion_handle *handle); 36 int ion_map(int fd, struct ion_handle *handle, size_t length, int prot, 38 int ion_share(int fd, struct ion_handle *handle, int *share_fd); 39 int ion_import(int fd, int share_fd, struct ion_handle **handle);
|
/system/media/audio_utils/include/audio_utils/ |
sndfile.h | 61 void sf_close(SNDFILE *handle); 64 sf_count_t sf_readf_short(SNDFILE *handle, short *ptr, sf_count_t desired); 65 sf_count_t sf_readf_float(SNDFILE *handle, float *ptr, sf_count_t desired); 68 sf_count_t sf_writef_short(SNDFILE *handle, const short *ptr, sf_count_t desired); 69 sf_count_t sf_writef_float(SNDFILE *handle, const float *ptr, sf_count_t desired);
|
/external/chromium/net/socket/ |
ssl_client_socket_pool_unittest.cc | 179 ClientSocketHandle handle; local 180 int rv = handle.Init("a", params, MEDIUM, NULL, pool_.get(), BoundNetLog()); 182 EXPECT_FALSE(handle.is_initialized()); 183 EXPECT_FALSE(handle.socket()); 184 EXPECT_FALSE(handle.is_ssl_error()); 196 ClientSocketHandle handle; local 198 int rv = handle.Init( 201 EXPECT_FALSE(handle.is_initialized()); 202 EXPECT_FALSE(handle.socket()); 205 EXPECT_FALSE(handle.is_initialized()) 221 ClientSocketHandle handle; local 240 ClientSocketHandle handle; local 263 ClientSocketHandle handle; local 286 ClientSocketHandle handle; local 312 ClientSocketHandle handle; local 339 ClientSocketHandle handle; local 365 ClientSocketHandle handle; local 397 ClientSocketHandle handle; local 426 ClientSocketHandle handle; local 445 ClientSocketHandle handle; local 470 ClientSocketHandle handle; local 489 ClientSocketHandle handle; local 511 ClientSocketHandle handle; local 530 ClientSocketHandle handle; local 567 ClientSocketHandle handle; local 597 ClientSocketHandle handle; local 632 ClientSocketHandle handle; local [all...] |
socks_client_socket_pool_unittest.cc | 103 ClientSocketHandle handle; local 104 int rv = handle.Init("a", ignored_socket_params_, LOW, NULL, &pool_, 107 EXPECT_TRUE(handle.is_initialized()); 108 EXPECT_TRUE(handle.socket()); 116 ClientSocketHandle handle; local 117 int rv = handle.Init("a", ignored_socket_params_, LOW, &callback, &pool_, 120 EXPECT_FALSE(handle.is_initialized()); 121 EXPECT_FALSE(handle.socket()); 124 EXPECT_TRUE(handle.is_initialized()); 125 EXPECT_TRUE(handle.socket()) 133 ClientSocketHandle handle; local 147 ClientSocketHandle handle; local 168 ClientSocketHandle handle; local 188 ClientSocketHandle handle; local [all...] |
/external/chromium-trace/trace-viewer/src/ui/ |
drag_handle.css | 6 x-drag-handle { 12 x-drag-handle.horizontal-drag-handle { 25 x-drag-handle.vertical-drag-handle {
|
/external/chromium_org/mojo/public/tests/ |
test_support.cc | 20 bool WriteTextMessage(MessagePipeHandle handle, const std::string& text) { 21 MojoResult rv = WriteMessageRaw(handle, 30 bool ReadTextMessage(MessagePipeHandle handle, std::string* text) { 36 rv = ReadMessageRaw(handle, 47 rv = Wait(handle, MOJO_WAIT_FLAG_READABLE, MOJO_DEADLINE_INDEFINITE); 58 rv = ReadMessageRaw(handle, 89 MojoResult WriteEmptyMessage(const MessagePipeHandle& handle) { 90 return WriteMessageRaw(handle, NULL, 0, NULL, 0, 94 MojoResult ReadEmptyMessage(const MessagePipeHandle& handle) { 95 return ReadMessageRaw(handle, NULL, NULL, NULL, NULL [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
win32toolhelp.h | 28 // - implement bool First(HANDLE, T*) normally calls a 31 // - implement bool Next(HANDLE, T*) normally calls a 34 // - implement bool CloseHandle(HANDLE) 39 ToolhelpEnumeratorBase(HANDLE snapshot) 89 // Checks the state of the snapshot handle. 98 HANDLE snapshot_; 106 static HANDLE CreateSnapshot(uint32 flags, uint32 process_id) { 110 static bool CloseHandle(HANDLE handle) { 111 return ::CloseHandle(handle) == TRUE [all...] |
/frameworks/av/media/mtp/ |
MtpDatabase.h | 44 MtpObjectHandle handle, 63 virtual MtpResponseCode getObjectPropertyValue(MtpObjectHandle handle, 67 virtual MtpResponseCode setObjectPropertyValue(MtpObjectHandle handle, 79 virtual MtpResponseCode getObjectPropertyList(MtpObjectHandle handle, 84 virtual MtpResponseCode getObjectInfo(MtpObjectHandle handle, 87 virtual void* getThumbnail(MtpObjectHandle handle, size_t& outThumbSize) = 0; 89 virtual MtpResponseCode getObjectFilePath(MtpObjectHandle handle, 94 virtual MtpResponseCode deleteFile(MtpObjectHandle handle) = 0; 96 virtual MtpObjectHandleList* getObjectReferences(MtpObjectHandle handle) = 0; 98 virtual MtpResponseCode setObjectReferences(MtpObjectHandle handle, [all...] |
/external/chromium_org/third_party/libxml/src/ |
xmlmodule.c | 24 void *handle; member in struct:_xmlModule 28 static int xmlModulePlatformClose(void *handle); 29 static int xmlModulePlatformSymbol(void *handle, const char *name, void **result); 41 * Handle an out of memory condition 66 * Returns a handle for the module or NULL in case of error 81 module->handle = xmlModulePlatformOpen(name); 83 if (module->handle == NULL) { 117 rc = xmlModulePlatformSymbol(module->handle, name, symbol); 133 * @module: the module handle 153 rc = xmlModulePlatformClose(module->handle); 402 void *handle; local [all...] |
/external/libxml2/ |
xmlmodule.c | 24 void *handle; member in struct:_xmlModule 28 static int xmlModulePlatformClose(void *handle); 29 static int xmlModulePlatformSymbol(void *handle, const char *name, void **result); 41 * Handle an out of memory condition 66 * Returns a handle for the module or NULL in case of error 81 module->handle = xmlModulePlatformOpen(name); 83 if (module->handle == NULL) { 117 rc = xmlModulePlatformSymbol(module->handle, name, symbol); 133 * @module: the module handle 153 rc = xmlModulePlatformClose(module->handle); 402 void *handle; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/loadso/win32/ |
SDL_sysloadso.c | 36 void *handle = NULL; local 46 handle = (void *)LoadLibrary(sofile_t); 49 if ( handle == NULL ) { 65 handle = (void *)LoadLibrary(sofile); 68 if ( handle == NULL ) { 78 if ( handle == NULL ) { 81 return(handle); 84 void *SDL_LoadFunction(void *handle, const char *name) 98 symbol = (void *)GetProcAddress((HMODULE)handle, name_t); 115 symbol = (void *)GetProcAddress((HMODULE)handle, name) [all...] |
/hardware/samsung_slsi/exynos5/libion_exynos/ |
libion.cpp | 30 ion_handle handle; member in struct:ion_allocation_data 34 ion_handle handle; member in struct:ion_fd_data 39 ion_handle handle; member in struct:ion_handle_data 94 arg_share.handle = arg_alloc.handle; 97 arg_free.handle = arg_alloc.handle; 131 int ion_incRef(int fd, int share_fd, unsigned long **handle) 140 *handle = (unsigned long*)(data.handle); [all...] |
/external/chromium_org/third_party/WebKit/Source/web/ |
SpeechRecognitionClientProxy.cpp | 77 void SpeechRecognitionClientProxy::didStartAudio(const WebSpeechRecognitionHandle& handle) 79 RefPtr<SpeechRecognition> recognition = PassRefPtr<SpeechRecognition>(handle); 83 void SpeechRecognitionClientProxy::didStartSound(const WebSpeechRecognitionHandle& handle) 85 RefPtr<SpeechRecognition> recognition = PassRefPtr<SpeechRecognition>(handle); 90 void SpeechRecognitionClientProxy::didEndSound(const WebSpeechRecognitionHandle& handle) 92 RefPtr<SpeechRecognition> recognition = PassRefPtr<SpeechRecognition>(handle); 97 void SpeechRecognitionClientProxy::didEndAudio(const WebSpeechRecognitionHandle& handle) 99 RefPtr<SpeechRecognition> recognition = PassRefPtr<SpeechRecognition>(handle); 103 void SpeechRecognitionClientProxy::didReceiveResults(const WebSpeechRecognitionHandle& handle, const WebVector<WebSpeechRecognitionResult>& newFinalResults, const WebVector<WebSpeechRecognitionResult>& currentInterimResults) 105 RefPtr<SpeechRecognition> recognition = PassRefPtr<SpeechRecognition>(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 | 26 static void Deflater_setDictionaryImpl(JNIEnv* env, jobject, jbyteArray dict, int off, int len, jlong handle) { 27 toNativeZipStream(handle)->setDictionary(env, dict, off, len, false); 30 static jlong Deflater_getTotalInImpl(JNIEnv*, jobject, jlong handle) { 31 return toNativeZipStream(handle)->stream.total_in; 34 static jlong Deflater_getTotalOutImpl(JNIEnv*, jobject, jlong handle) { 35 return toNativeZipStream(handle)->stream.total_out; 38 static jint Deflater_getAdlerImpl(JNIEnv*, jobject, jlong handle) { 39 return toNativeZipStream(handle)->stream.adler; 67 static void Deflater_setInputImpl(JNIEnv* env, jobject, jbyteArray buf, jint off, jint len, jlong handle) { 68 toNativeZipStream(handle)->setInput(env, buf, off, len) [all...] |
/external/chromium_org/mojo/public/utility/ |
bindings_support_impl.cc | 23 // . when the handle is ready (or errored). 27 RunLoopHandlerImpl(const Handle& handle, 29 : handle_(handle), 36 virtual void OnHandleReady(const Handle& handle) MOJO_OVERRIDE { 40 virtual void OnHandleError(const Handle& handle, 47 // Delete this to unregister the handle. That way if the callback 55 const Handle handle_ [all...] |