/external/chromium/net/socket/ |
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...] |
/hardware/msm7k/libgralloc/ |
mapper.cpp | 54 buffer_handle_t handle, 57 private_handle_t* hnd = (private_handle_t*)handle; 66 LOGE("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/bluetooth/glib/gmodule/ |
gmodule-dld.c | 113 _g_module_close (gpointer handle, 118 if (shl_unload ((shl_t) handle) != 0) 124 _g_module_symbol (gpointer handle, 131 if (handle == PROG_HANDLE) 134 * libraries. passing NULL as a handle will also try to lookup the symbol 138 handle = NULL; 140 if (shl_findsym ((shl_t*) &handle, symbol_name, TYPE_UNDEFINED, &p) != 0 || 141 handle == NULL || p == NULL)
|
gmodule-ar.c | 107 gpointer handle; local 122 handle = dlopen (full_name, 127 if (!handle) 130 return handle; 136 gpointer handle; local 138 handle = dlopen (NULL, RTLD_GLOBAL | RTLD_LAZY); 139 if (!handle) 142 return handle; 146 _g_module_close (gpointer handle, 156 if (dlclose (handle) != 0 [all...] |
/hardware/ril/mock-ril/src/cpp/ |
node_object_wrap.h | 49 static inline T* Unwrap (v8::Handle<v8::Object> handle) 51 assert(!handle.IsEmpty()); 52 assert(handle->InternalFieldCount() > 0); 53 return static_cast<T*>(v8::Handle<v8::External>::Cast( 54 handle->GetInternalField(0))->Value()); 60 inline void Wrap (v8::Handle<v8::Object> handle) 63 assert(handle->InternalFieldCount() > 0); 64 handle_ = v8::Persistent<v8::Object>::New(handle); [all...] |
/external/bluetooth/hcidump/parser/ |
parser.c | 63 uint16_t handle; member in struct:__anon2209 69 void set_proto(uint16_t handle, uint16_t psm, uint8_t channel, uint32_t proto) 80 if (proto_table[i].handle == handle && proto_table[i].psm == psm && proto_table[i].channel == channel) { 85 if (pos < 0 && !proto_table[i].handle && !proto_table[i].psm && !proto_table[i].channel) 92 proto_table[pos].handle = handle; 98 uint32_t get_proto(uint16_t handle, uint16_t psm, uint8_t channel) 106 if (proto_table[i].handle == handle && proto_table[i].psm == psm && proto_table[i].channel == channel 121 uint16_t handle; member in struct:__anon2210 [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...] |
/external/bluetooth/bluez/test/ |
simple-service | 115 handle = service.AddRecord(xml) variable 117 print "Service record with handle 0x%04x added" % (handle) 127 service.RemoveRecord(dbus.UInt32(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/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/base/core/jni/ |
android_database_SQLiteDatabase.cpp | 105 sqlite3 * handle = NULL; local 122 err = sqlite3_open_v2(path8, &handle, sqliteFlags, NULL); 124 LOGE("sqlite3_open_v2(\"%s\", &handle, %d, NULL) failed\n", path8, sqliteFlags); 125 throw_sqlite3_exception(env, handle); 135 err = sqlite3_busy_timeout(handle, 1000 /* ms */); 137 LOGE("sqlite3_busy_timeout(handle, 1000) failed for \"%s\"\n", path8); 138 throw_sqlite3_exception(env, handle); 144 err = sqlite3_prepare_v2(handle, integritySql, -1, &statement, NULL); 146 LOGE("sqlite_prepare_v2(handle, \"%s\") failed for \"%s\"\n", integritySql, path8); 147 throw_sqlite3_exception(env, handle); 206 sqlite3 * handle = (sqlite3 *)env->GetIntField(object, offset_db_handle); local 218 sqlite3 * handle = (sqlite3 *)env->GetIntField(object, offset_db_handle); local 226 sqlite3 * handle = (sqlite3 *)env->GetIntField(object, offset_db_handle); local 255 sqlite3 * handle = (sqlite3 *)env->GetIntField(object, offset_db_handle); local 269 sqlite3 * handle = (sqlite3 *)env->GetIntField(object, offset_db_handle); local 439 sqlite3 * handle = (sqlite3 *)env->GetIntField(object, offset_db_handle); local [all...] |
/system/core/adb/ |
usb_osx.c | 250 usb_handle* handle = CheckInterface((IOUSBInterfaceInterface**)iface, local 252 if (handle == NULL) { 259 register_usb_transport(handle, (serial[0] ? serial : NULL), 1); 268 handle, 269 &handle->usbNotification); 280 usb_handle *handle = (usb_handle *)refCon; local 283 if (!handle) { 284 DBG("ERR: NULL handle\n"); 288 IOObjectRelease(handle->usbNotification); 289 usb_kick(handle); 298 usb_handle* handle = NULL; local [all...] |
/dalvik/vm/mterp/x86-atom/ |
OP_THROW.S | 35 je common_errNullObject # handle null object 37 jmp common_exceptionThrown # handle exception
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
DTMNodeList.java | 110 int handle=m_iter.item(index); local 111 if (handle == DTM.NULL) { 114 return m_iter.getDTM(handle).getNode(handle);
|
/external/chromium/webkit/glue/ |
webfileutilities_impl.cc | 118 void WebFileUtilitiesImpl::closeFile(base::PlatformFile& handle) { 119 if (handle == base::kInvalidPlatformFileValue) 121 if (base::ClosePlatformFile(handle)) 122 handle = base::kInvalidPlatformFileValue; 125 long long WebFileUtilitiesImpl::seekFile(base::PlatformFile handle, 128 if (handle == base::kInvalidPlatformFileValue) 130 net::FileStream file_stream(handle, 0); 134 bool WebFileUtilitiesImpl::truncateFile(base::PlatformFile handle, 136 if (handle == base::kInvalidPlatformFileValue || offset < 0) 138 net::FileStream file_stream(handle, base::PLATFORM_FILE_WRITE) [all...] |
/external/iptables/iptables/ |
ip6tables-standalone.c | 50 struct ip6tc_handle *handle = NULL; local 66 ret = do_command6(argc, argv, &table, &handle); 68 ret = ip6tc_commit(handle); 69 ip6tc_free(handle);
|
iptables-standalone.c | 51 struct iptc_handle *handle = NULL; local 66 ret = do_command4(argc, argv, &table, &handle); 68 ret = iptc_commit(handle); 69 iptc_free(handle);
|
/external/javasqlite/src/main/java/SQLite/ |
FunctionContext.java | 12 * Internal handle for the native SQLite API. 15 private long handle = 0; field in class:FunctionContext
|