/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/ |
H A D | htab.c | 41 /* Make sure handle table handles match VDPAU handles. */ 70 vlHandle handle = 0; local 73 handle = handle_table_add(htab, data); 75 return handle; 81 void* vlGetDataHTAB(vlHandle handle) argument 83 assert(handle); 88 data = handle_table_get(htab, handle); 92 return (void*)handle; 96 void vlRemoveDataHTAB(vlHandle handle) argument 101 handle_table_remove(htab, handle); [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | dlopen.h | 67 _mesa_dlsym(void *handle, const char *fname) argument 81 u.v = dlsym(handle, fname2); 83 u.v = dlsym(handle, fname); 85 u.v = (void *) GetProcAddress(handle, fname); 96 _mesa_dlclose(void *handle) argument 99 (void) handle; 101 dlclose(handle); 103 FreeLibrary(handle); 105 (void) handle;
|
/external/chromium_org/third_party/webrtc/modules/audio_device/linux/ |
H A D | latebindingsymboltable_linux.cc | 54 DllHandle handle = dlopen(dll_name, RTLD_NOW); local 58 if (handle == kInvalidDllHandle) { 62 return handle; 65 void InternalUnloadDll(DllHandle handle) { argument 75 if (dlclose(handle) != 0) { 85 static bool LoadSymbol(DllHandle handle, argument 89 *symbol = dlsym(handle, symbol_name); 109 bool InternalLoadSymbols(DllHandle handle, argument 118 if (!LoadSymbol(handle, symbol_names[i], &symbols[i])) {
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
H A D | htab.c | 41 /* Make sure handle table handles match VDPAU handles. */ 70 vlHandle handle = 0; local 73 handle = handle_table_add(htab, data); 75 return handle; 81 void* vlGetDataHTAB(vlHandle handle) argument 83 assert(handle); 88 data = handle_table_get(htab, handle); 92 return (void*)handle; 96 void vlRemoveDataHTAB(vlHandle handle) argument 101 handle_table_remove(htab, handle); [all...] |
/external/mesa3d/src/mesa/main/ |
H A D | dlopen.h | 67 _mesa_dlsym(void *handle, const char *fname) argument 81 u.v = dlsym(handle, fname2); 83 u.v = dlsym(handle, fname); 85 u.v = (void *) GetProcAddress(handle, fname); 96 _mesa_dlclose(void *handle) argument 99 (void) handle; 101 dlclose(handle); 103 FreeLibrary(handle); 105 (void) handle;
|
/external/chromium_org/content/browser/renderer_host/input/ |
H A D | touch_handle_unittest.cc | 75 virtual void OnHandleDragBegin(const TouchHandle& handle) OVERRIDE { 79 virtual void OnHandleDragUpdate(const TouchHandle& handle, 85 virtual void OnHandleDragEnd(const TouchHandle& handle) OVERRIDE { 89 virtual void OnHandleTapped(const TouchHandle& handle) OVERRIDE { 106 void Animate(TouchHandle& handle) { argument 109 while (handle.Animate(now)) 148 TouchHandle handle(this, TOUCH_HANDLE_CENTER); 151 handle.SetVisible(true, TouchHandle::ANIMATION_NONE); 155 handle.SetVisible(false, TouchHandle::ANIMATION_NONE); 158 handle [all...] |
/external/chromium_org/content/common/gpu/client/ |
H A D | gpu_memory_buffer_impl_io_surface.cc | 25 const gfx::GpuMemoryBufferHandle& handle) { 26 DCHECK_EQ(gfx::IO_SURFACE_BUFFER, handle.type); 29 handle, size, internalformat, base::Bind(&Noop))); 34 const gfx::GpuMemoryBufferHandle& handle) { 35 DCHECK_EQ(gfx::IO_SURFACE_BUFFER, handle.type); 37 callback.Run(handle); 60 gfx::GpuMemoryBufferHandle handle; local 61 handle.type = gfx::IO_SURFACE_BUFFER; 62 handle.global_id.primary_id = g_next_buffer_id.GetNext(); 63 handle 21 GpuMemoryBufferCreated( const gfx::Size& size, unsigned internalformat, const GpuMemoryBufferImpl::CreationCallback& callback, const gfx::GpuMemoryBufferHandle& handle) argument 32 GpuMemoryBufferCreatedForChildProcess( const GpuMemoryBufferImpl::AllocationCallback& callback, const gfx::GpuMemoryBufferHandle& handle) argument 79 gfx::GpuMemoryBufferHandle handle; local 92 CreateFromHandle( const gfx::GpuMemoryBufferHandle& handle, const gfx::Size& size, unsigned internalformat, const DestructionCallback& callback) argument 164 gfx::GpuMemoryBufferHandle handle; local [all...] |
/external/chromium_org/base/win/ |
H A D | scoped_handle.cc | 18 size_t operator()(const HANDLE& handle) const { 19 char buffer[sizeof(handle)]; 20 memcpy(buffer, &handle, sizeof(handle)); 48 bool CloseHandleWrapper(HANDLE handle) { argument 49 if (!::CloseHandle(handle)) 77 bool HandleTraits::CloseHandle(HANDLE handle) { argument 79 return CloseHandleWrapper(handle); 83 CloseHandleWrapper(handle); 90 void VerifierTraits::StartTracking(HANDLE handle, cons argument 111 StopTracking(HANDLE handle, const void* owner, const void* pc1, const void* pc2) argument 134 OnHandleBeingClosed(HANDLE handle) argument [all...] |
/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 | 63 void EncodeHandle(Handle* handle, std::vector<Handle>* handles) { argument 64 if (handle->is_valid()) { 65 handles->push_back(*handle); 66 handle->set_value(static_cast<MojoHandle>(handles->size() - 1)); 68 handle->set_value(kEncodedInvalidHandleValue); 72 void DecodeHandle(Handle* handle, std::vector<Handle>* handles) { argument 73 if (handle->value() == kEncodedInvalidHandleValue) { 74 *handle = Handle(); 77 MOJO_DCHECK(handle->value() < handles->size()); 79 *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/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/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/third_party/webrtc/modules/audio_processing/utility/ |
H A D | delay_estimator_wrapper.c | 126 void WebRtc_FreeDelayEstimatorFarend(void* handle) { argument 127 DelayEstimatorFarend* self = (DelayEstimatorFarend*) handle; 129 if (handle == NULL) { 175 int WebRtc_InitDelayEstimatorFarend(void* handle) { argument 176 DelayEstimatorFarend* self = (DelayEstimatorFarend*) handle; 194 void WebRtc_SoftResetDelayEstimatorFarend(void* handle, int delay_shift) { argument 195 DelayEstimatorFarend* self = (DelayEstimatorFarend*) handle; 200 int WebRtc_AddFarSpectrumFix(void* handle, argument 204 DelayEstimatorFarend* self = (DelayEstimatorFarend*) handle; 231 int WebRtc_AddFarSpectrumFloat(void* handle, argument 257 WebRtc_FreeDelayEstimator(void* handle) argument 305 WebRtc_InitDelayEstimator(void* handle) argument 324 WebRtc_SoftResetDelayEstimator(void* handle, int delay_shift) argument 330 WebRtc_set_history_size(void* handle, int history_size) argument 339 WebRtc_history_size(const void* handle) argument 353 WebRtc_set_lookahead(void* handle, int lookahead) argument 365 WebRtc_lookahead(void* handle) argument 372 WebRtc_set_allowed_offset(void* handle, int allowed_offset) argument 382 WebRtc_get_allowed_offset(const void* handle) argument 391 WebRtc_enable_robust_validation(void* handle, int enable) argument 405 WebRtc_is_robust_validation_enabled(const void* handle) argument 414 WebRtc_DelayEstimatorProcessFix(void* handle, const uint16_t* near_spectrum, int spectrum_size, int near_q) argument 446 WebRtc_DelayEstimatorProcessFloat(void* handle, const float* near_spectrum, int spectrum_size) argument 471 WebRtc_last_delay(void* handle) argument 481 WebRtc_last_delay_quality(void* handle) argument [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); 78 base::ProcessHandle handle; local 81 &handle); 86 base::WaitForExitCodeWithTimeout(handle, &exit_code, 91 base::CloseProcessHandle(handle);
|
/external/chromium_org/components/invalidation/ |
H A D | ack_handler.h | 29 // Record the local acknowledgement of an invalidation identified by |handle|. 31 const AckHandle& handle) = 0; 33 // Record the drop of an invalidation identified by |handle|. 35 const AckHandle& handle) = 0;
|
/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/common/ |
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/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, 60 // |MOJO_RESULT_CANCELLED| if |handle| was closed (necessarily from another 62 // |MOJO_RESULT_INVALID_ARGUMENT| if |handle| is not a valid handle (e.g., if 71 // the same handle an [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,
|