/external/chromium_org/net/socket/ |
H A D | ssl_client_socket_pool_unittest.cc | 43 // Make sure |handle|'s load times are set correctly. DNS and connect start 46 void TestLoadTimingInfo(const ClientSocketHandle& handle) { argument 48 EXPECT_TRUE(handle.GetLoadTimingInfo(false, &load_timing_info)); 62 void TestLoadTimingInfoNoDns(const ClientSocketHandle& handle) { argument 64 EXPECT_TRUE(handle.GetLoadTimingInfo(false, &load_timing_info)); 241 ClientSocketHandle handle; local 242 int rv = handle.Init("a", params, MEDIUM, CompletionCallback(), pool_.get(), 245 EXPECT_FALSE(handle.is_initialized()); 246 EXPECT_FALSE(handle.socket()); 247 EXPECT_FALSE(handle 259 ClientSocketHandle handle; local 284 ClientSocketHandle handle; local 309 ClientSocketHandle handle; local 328 ClientSocketHandle handle; local 352 ClientSocketHandle handle; local 376 ClientSocketHandle handle; local 401 ClientSocketHandle handle; local 428 ClientSocketHandle handle; local 453 ClientSocketHandle handle; local 485 ClientSocketHandle handle; local 515 ClientSocketHandle handle; local 534 ClientSocketHandle handle; local 559 ClientSocketHandle handle; local 584 ClientSocketHandle handle; local 601 ClientSocketHandle handle; local 626 ClientSocketHandle handle; local 645 ClientSocketHandle handle; local 682 ClientSocketHandle handle; local 717 ClientSocketHandle handle; local 745 ClientSocketHandle handle; local 781 ClientSocketHandle handle; local [all...] |
/external/chromium_org/mojo/common/ |
H A D | handle_watcher.cc | 30 const char kWatcherThreadName[] = "handle-watcher-thread"; 53 Handle handle; member in struct:mojo::common::__anon8174::WatchData 76 // Invoked when a handle needs to be removed and notified. 77 void RemoveAndNotify(const Handle& handle, MojoResult result); 80 // and sets |handle| to the Handle. Returns false if not a known id. 81 bool GetMojoHandleByWatcherID(WatcherID watcher_id, Handle* handle) const; 84 virtual void OnHandleReady(const Handle& handle) OVERRIDE; 85 virtual void OnHandleError(const Handle& handle, MojoResult result) OVERRIDE; 100 RemoveAndNotify(data.handle, MOJO_RESULT_CANCELLED); 102 DCHECK_EQ(0u, handle_to_data_.count(data.handle)); 113 Handle handle; local 121 RemoveAndNotify(const Handle& handle, MojoResult result) argument 144 OnHandleReady(const Handle& handle) argument 148 OnHandleError(const Handle& handle, MojoResult result) argument 197 StartWatching( const Handle& handle, MojoHandleSignals handle_signals, base::TimeTicks deadline, const base::Callback<void(MojoResult)>& callback) argument 245 State(HandleWatcher* watcher, const Handle& handle, MojoHandleSignals handle_signals, MojoDeadline deadline, const base::Callback<void(MojoResult)>& callback) argument 297 Start(const Handle& handle, MojoHandleSignals handle_signals, MojoDeadline deadline, const base::Callback<void(MojoResult)>& callback) argument [all...] |
H A D | message_pump_mojo_handler.h | 14 // Used by MessagePumpMojo to notify when a handle is either ready or has become 18 virtual void OnHandleReady(const Handle& handle) = 0; 20 virtual void OnHandleError(const Handle& handle, MojoResult result) = 0;
|
/external/chromium_org/crypto/ |
H A D | scoped_capi_types.h | 21 void operator()(CAPIHandle handle) const { 22 if (handle) { 23 BOOL ok = Destroyer(handle); 35 void operator()(CAPIHandle handle) const { 36 if (handle) { 37 BOOL ok = Destroyer(handle, flags); 50 explicit ScopedCAPIHandle(CAPIHandle handle = NULL) : handle_(handle) {} 56 void reset(CAPIHandle handle = NULL) { 57 if (handle_ != handle) { [all...] |
/external/chromium_org/media/audio/alsa/ |
H A D | alsa_wrapper.h | 29 virtual int PcmOpen(snd_pcm_t** handle, const char* name, 31 virtual int PcmClose(snd_pcm_t* handle); 32 virtual int PcmPrepare(snd_pcm_t* handle); 33 virtual int PcmDrop(snd_pcm_t* handle); 34 virtual int PcmDelay(snd_pcm_t* handle, snd_pcm_sframes_t* delay); 35 virtual snd_pcm_sframes_t PcmWritei(snd_pcm_t* handle, 38 virtual snd_pcm_sframes_t PcmReadi(snd_pcm_t* handle, 41 virtual int PcmRecover(snd_pcm_t* handle, int err, int silent); 42 virtual int PcmSetParams(snd_pcm_t* handle, snd_pcm_format_t format, 46 virtual int PcmGetParams(snd_pcm_t* handle, snd_pcm_uframes_ [all...] |
/external/chromium_org/mojo/public/cpp/bindings/lib/ |
H A D | bindings_serialization.cc | 64 void EncodeHandle(Handle* handle, std::vector<Handle>* handles) { argument 65 if (handle->is_valid()) { 66 handles->push_back(*handle); 67 handle->set_value(static_cast<MojoHandle>(handles->size() - 1)); 69 handle->set_value(kEncodedInvalidHandleValue); 73 void DecodeHandle(Handle* handle, std::vector<Handle>* handles) { argument 74 if (handle->value() == kEncodedInvalidHandleValue) { 75 *handle = Handle(); 78 assert(handle->value() < handles->size()); 80 *handle [all...] |
/external/deqp/framework/delibs/dethread/win32/ |
H A D | deMutexWin32.c | 92 HANDLE handle = DE_NULL; local 97 handle = CreateMutex(DE_NULL, FALSE, DE_NULL); 98 return (deMutex)handle; 103 HANDLE handle = (HANDLE)mutex; local 104 CloseHandle(handle); 109 HANDLE handle = (HANDLE)mutex; local 110 DWORD ret = WaitForSingleObject(handle, INFINITE); 116 HANDLE handle = (HANDLE)mutex; local 117 BOOL ret = ReleaseMutex(handle); 123 HANDLE handle local [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/ |
H A D | ResourceManager.cpp | 83 GLuint handle = mBufferHandleAllocator.allocate(); local 85 mBufferMap[handle] = NULL; 87 return handle; 93 GLuint handle = mProgramShaderHandleAllocator.allocate(); local 97 mShaderMap[handle] = new VertexShader(this, mRenderer, handle); 101 mShaderMap[handle] = new FragmentShader(this, mRenderer, handle); 105 return handle; 111 GLuint handle local 121 GLuint handle = mTextureHandleAllocator.allocate(); local 131 GLuint handle = mRenderbufferHandleAllocator.allocate(); local 141 GLuint handle = mSamplerHandleAllocator.allocate(); local 151 GLuint handle = mFenceSyncHandleAllocator.allocate(); local 256 getBuffer(unsigned int handle) argument 270 getShader(unsigned int handle) argument 284 getTexture(unsigned int handle) argument 300 getProgram(unsigned int handle) argument 314 getRenderbuffer(unsigned int handle) argument 328 getSampler(unsigned int handle) argument 342 getFenceSync(unsigned int handle) argument 356 setRenderbuffer(GLuint handle, FramebufferAttachment *buffer) argument [all...] |
/external/chromium_org/net/base/ |
H A D | prioritized_dispatcher.cc | 50 void PrioritizedDispatcher::Cancel(const Handle& handle) { argument 51 queue_.Erase(handle); 55 Handle handle = queue_.FirstMin(); local 56 if (handle.is_null()) 58 Job* job = handle.value(); 59 Cancel(handle); 64 const Handle& handle, Priority priority) { 65 DCHECK(!handle.is_null()); 67 DCHECK_GE(num_running_jobs_, max_running_jobs_[handle.priority()]) << 70 if (handle 63 ChangePriority( const Handle& handle, Priority priority) argument 124 MaybeDispatchJob(const Handle& handle, Priority job_priority) argument 137 Handle handle = queue_.FirstMax(); local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_handle_table.c | 30 * Generic handle table implementation. 51 /** Number of objects the handle can currently hold */ 156 unsigned handle; local 163 /* linear search for an empty handle */ 171 handle = index + 1; 174 if(!handle) 185 return handle; 191 unsigned handle, 197 assert(handle); 198 if(!handle || !h 190 handle_table_set(struct handle_table *ht, unsigned handle, void *object) argument 220 handle_table_get(struct handle_table *ht, unsigned handle) argument 237 handle_table_remove(struct handle_table *ht, unsigned handle) argument 261 handle_table_get_next_handle(struct handle_table *ht, unsigned handle) argument [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_processing/ |
H A D | noise_suppression_impl.cc | 68 Handle* my_handle = static_cast<Handle*>(handle(i)); 70 err = WebRtcNs_Process(static_cast<Handle*>(handle(i)), 76 err = WebRtcNsx_Process(static_cast<Handle*>(handle(i)), 118 Handle* my_handle = static_cast<Handle*>(handle(i)); 129 Handle* handle = NULL; local 131 if (WebRtcNs_Create(&handle) != apm_->kNoError) 133 if (WebRtcNsx_Create(&handle) != apm_->kNoError) 136 handle = NULL; 138 assert(handle != NULL); 141 return handle; [all...] |
/external/libsepol/src/ |
H A D | iface_record.c | 27 int sepol_iface_key_create(sepol_handle_t * handle, argument 35 ERR(handle, "out of memory, could not create interface key"); 55 int sepol_iface_key_extract(sepol_handle_t * handle, 60 if (sepol_iface_key_create(handle, iface->name, key_ptr) < 0) { 61 ERR(handle, "could not extract key from " 89 int sepol_iface_create(sepol_handle_t * handle, sepol_iface_t ** iface) argument 96 ERR(handle, "out of memory, could not create " 120 int sepol_iface_set_name(sepol_handle_t * handle, 126 ERR(handle, "out of memory, " "could not set interface name"); 145 int sepol_iface_set_ifcon(sepol_handle_t * handle, [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_handle_table.c | 30 * Generic handle table implementation. 51 /** Number of objects the handle can currently hold */ 156 unsigned handle; local 163 /* linear search for an empty handle */ 171 handle = index + 1; 174 if(!handle) 185 return handle; 191 unsigned handle, 197 assert(handle); 198 if(!handle || !h 190 handle_table_set(struct handle_table *ht, unsigned handle, void *object) argument 220 handle_table_get(struct handle_table *ht, unsigned handle) argument 237 handle_table_remove(struct handle_table *ht, unsigned handle) argument 261 handle_table_get_next_handle(struct handle_table *ht, unsigned handle) argument [all...] |
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/ |
H A D | glapi_gentable.c | 107 _glapi_create_table_from_handle(void *handle, const char *symbol_prefix) { argument 121 *procp = dlsym(handle, symboln); 128 *procp = dlsym(handle, symboln); 135 *procp = dlsym(handle, symboln); 142 *procp = dlsym(handle, symboln); 149 *procp = dlsym(handle, symboln); 156 *procp = dlsym(handle, symboln); 163 *procp = dlsym(handle, symboln); 170 *procp = dlsym(handle, symboln); 177 *procp = dlsym(handle, symbol [all...] |
/external/chromium_org/chrome/browser/printing/cloud_print/test/ |
H A D | cloud_print_policy_browsertest.cc | 48 base::ProcessHandle handle; local 51 &handle); 58 base::WaitForExitCodeWithTimeout(handle, &exit_code, 63 base::CloseProcessHandle(handle); 71 base::ProcessHandle handle; local 74 &handle); 79 base::WaitForExitCodeWithTimeout(handle, &exit_code, 84 base::CloseProcessHandle(handle);
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
H A D | CursorController.java | 25 * Called when the handle is about to start updating its position. 26 * @param handle 28 void beforeStartUpdatingPosition(HandleView handle); argument 33 void updatePosition(HandleView handle, int x, int y); argument
|
/external/chromium_org/content/public/browser/ |
H A D | child_process_data.h | 28 // The handle to the process. May have value kNullProcessHandle if no process 31 base::ProcessHandle handle; member in struct:content::ChildProcessData 34 : process_type(process_type), id(0), handle(base::kNullProcessHandle) {
|
/external/chromium_org/mojo/embedder/ |
H A D | platform_handle.cc | 31 bool success = !!CloseHandle(handle); 33 handle = INVALID_HANDLE_VALUE;
|
/external/chromium_org/mojo/public/c/system/ |
H A D | functions.h | 33 // Closes the given |handle|. 37 // |MOJO_RESULT_INVALID_ARGUMENT| if |handle| is not a valid handle. 39 // Concurrent operations on |handle| may succeed (or fail as usual) if they 43 MOJO_SYSTEM_EXPORT MojoResult MojoClose(MojoHandle handle); 45 // Waits on the given handle until a signal indicated by |signals| is satisfied 51 // |MOJO_RESULT_INVALID_ARGUMENT| if |handle| is not a valid handle (e.g., if 59 // the same handle and signal, and that signal becomes is satisfied, all waiters 61 MOJO_SYSTEM_EXPORT MojoResult MojoWait(MojoHandle handle, [all...] |
/external/chromium_org/mojo/public/cpp/test_support/lib/ |
H A D | test_utils.cc | 13 bool WriteTextMessage(const MessagePipeHandle& handle, argument 15 MojoResult rv = WriteMessageRaw(handle, 24 bool ReadTextMessage(const MessagePipeHandle& handle, std::string* text) { argument 30 rv = ReadMessageRaw(handle, 41 rv = Wait(handle, MOJO_HANDLE_SIGNAL_READABLE, MOJO_DEADLINE_INDEFINITE); 52 rv = ReadMessageRaw(handle, 61 bool DiscardMessage(const MessagePipeHandle& handle) { argument 62 MojoResult rv = ReadMessageRaw(handle, NULL, NULL, NULL, NULL,
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/ |
H A D | fake_core_interface.h | 16 virtual void AddRefResource(PP_Resource handle); 17 virtual void ReleaseResource(PP_Resource handle);
|
/external/chromium_org/sync/notifier/ |
H A D | ack_handler.h | 29 // Record the local acknowledgement of an invalidation identified by |handle|. 32 const AckHandle& handle) = 0; 34 // Record the drop of an invalidation identified by |handle|. 37 const AckHandle& handle) = 0;
|
/external/chromium_org/third_party/WebKit/Source/platform/exported/ |
H A D | WebCryptoKey.cpp | 44 WebCryptoKeyPrivate(PassOwnPtr<WebCryptoKeyHandle> handle, WebCryptoKeyType type, bool extractable, const WebCryptoKeyAlgorithm& algorithm, WebCryptoKeyUsageMask usages) argument 45 : handle(handle) 54 const OwnPtr<WebCryptoKeyHandle> handle; member in class:blink::WebCryptoKeyPrivate 61 WebCryptoKey WebCryptoKey::create(WebCryptoKeyHandle* handle, WebCryptoKeyType type, bool extractable, const WebCryptoKeyAlgorithm& algorithm, WebCryptoKeyUsageMask usages) argument 64 key.m_private = adoptRef(new WebCryptoKeyPrivate(adoptPtr(handle), type, extractable, algorithm, usages)); 73 WebCryptoKeyHandle* WebCryptoKey::handle() const function in class:blink::WebCryptoKey 76 return m_private->handle.get();
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
H A D | win32window_unittest.cc | 60 EXPECT_TRUE(wnd.handle() == NULL); 63 EXPECT_TRUE(wnd.handle() != NULL); 64 EXPECT_EQ(kDummyResult, ::SendMessage(wnd.handle(), WM_USER, 1, 2)); 69 EXPECT_TRUE(wnd.handle() == NULL); 77 EXPECT_TRUE(wnd1.handle() != NULL); 78 EXPECT_TRUE(wnd2.handle() != NULL); 81 EXPECT_TRUE(wnd2.handle() == NULL); 82 EXPECT_TRUE(wnd1.handle() == NULL);
|
/external/chromium_org/third_party/webrtc/base/ |
H A D | win32window_unittest.cc | 43 EXPECT_TRUE(wnd.handle() == NULL); 46 EXPECT_TRUE(wnd.handle() != NULL); 47 EXPECT_EQ(kDummyResult, ::SendMessage(wnd.handle(), WM_USER, 1, 2)); 52 EXPECT_TRUE(wnd.handle() == NULL); 60 EXPECT_TRUE(wnd1.handle() != NULL); 61 EXPECT_TRUE(wnd2.handle() != NULL); 64 EXPECT_TRUE(wnd2.handle() == NULL); 65 EXPECT_TRUE(wnd1.handle() == NULL);
|