/external/chromium_org/ipc/ |
H A D | ipc_channel_handle.h | 21 // handle is provided for convenience. 22 // NOTE: A ChannelHandle with a pipe handle Will NOT be marshalled over IPC. 30 // in both Windows and Posix. When passing a handle to a channel over IPC, 55 // A simple container to automatically initialize pipe handle 57 PipeHandle() : handle(NULL) {} 58 PipeHandle(HANDLE h) : handle(h) {} 59 HANDLE handle; member in struct:IPC::ChannelHandle::PipeHandle
|
/external/chromium_org/mojo/common/test/ |
H A D | test_utils.h | 23 bool BlockingWrite(const embedder::PlatformHandle& handle, 30 bool BlockingRead(const embedder::PlatformHandle& handle, 38 // |handle| must already be in non-blocking mode. 39 bool NonBlockingRead(const embedder::PlatformHandle& handle,
|
/external/chromium_org/third_party/leveldatabase/src/db/ |
H A D | table_cache.cc | 46 Cache::Handle** handle) { 51 *handle = cache_->Lookup(key); 52 if (*handle == NULL) { 76 *handle = cache_->Insert(key, tf, 1, &DeleteEntry); 90 Cache::Handle* handle = NULL; local 91 Status s = FindTable(file_number, file_size, &handle); 96 Table* table = reinterpret_cast<TableAndFile*>(cache_->Value(handle))->table; 98 result->RegisterCleanup(&UnrefEntry, cache_, handle); 111 Cache::Handle* handle = NULL; local 112 Status s = FindTable(file_number, file_size, &handle); 45 FindTable(uint64_t file_number, uint64_t file_size, Cache::Handle** handle) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/ |
H A D | quad-tex.c | 44 void *handle; local 53 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve); 54 info.ctx->bind_vertex_elements_state(info.ctx, handle); 70 void *handle; local 81 handle = graw_parse_vertex_shader(info.ctx, text); 82 info.ctx->bind_vs_state(info.ctx, handle); 87 void *handle; local 98 handle = graw_parse_fragment_shader(info.ctx, text); 99 info.ctx->bind_fs_state(info.ctx, handle); 187 void *handle; local [all...] |
H A D | tri.c | 43 void *handle; local 52 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve); 53 info.ctx->bind_vertex_elements_state(info.ctx, handle); 70 void *handle; local 81 handle = graw_parse_vertex_shader(info.ctx, text); 82 info.ctx->bind_vs_state(info.ctx, handle); 88 void *handle; local 96 handle = graw_parse_fragment_shader(info.ctx, text); 97 info.ctx->bind_fs_state(info.ctx, handle); 124 void *handle; local [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/test/ |
H A D | lock_test.cc | 64 PlatformThreadHandle handle = kNullThreadHandle; local 66 EXPECT_TRUE(PlatformThread::Create(&thread, &handle)); 94 PlatformThread::Join(handle); 132 PlatformThreadHandle handle = kNullThreadHandle; local 134 EXPECT_TRUE(PlatformThread::Create(&thread, &handle)); 136 PlatformThread::Join(handle); 146 PlatformThreadHandle handle = kNullThreadHandle; local 148 EXPECT_TRUE(PlatformThread::Create(&thread, &handle)); 150 PlatformThread::Join(handle); 194 PlatformThreadHandle handle local [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_processing/ns/ |
H A D | noise_suppression.c | 55 float WebRtcNs_prior_speech_probability(NsHandle* handle) { argument 56 NSinst_t* self = (NSinst_t*) handle; 57 if (handle == NULL) {
|
/external/chromium_org/tools/android/run_pie/ |
H A D | run_pie.c | 47 void* handle = dlopen(argv[0], RTLD_NOW); local 48 if (handle == NULL) { 53 main_t pie_main = (main_t) dlsym(handle, "main");
|
/external/iproute2/tc/ |
H A D | f_fw.c | 34 static int fw_parse_opt(struct filter_util *qu, char *handle, int argc, char **argv, struct nlmsghdr *n) argument 44 if (handle) { 46 if ((slash = strchr(handle, '/')) != NULL) 48 if (get_u32(&t->tcm_handle, handle, 0)) { 49 fprintf(stderr, "Illegal \"handle\"\n"); 54 fprintf(stderr, "Illegal \"handle\" mask\n"); 73 unsigned handle; local 75 if (get_tc_classid(&handle, *argv)) { 79 addattr_l(n, 4096, TCA_FW_CLASSID, &handle, 4); 119 static int fw_print_opt(struct filter_util *qu, FILE *f, struct rtattr *opt, __u32 handle) argument [all...] |
/external/kernel-headers/original/uapi/drm/ |
H A D | armada_drm.h | 20 uint32_t handle; member in struct:drm_armada_gem_create 27 uint32_t handle; member in struct:drm_armada_gem_mmap 38 uint32_t handle; member in struct:drm_armada_gem_pwrite
|
/external/kernel-headers/original/uapi/linux/ |
H A D | ion.h | 81 * @handle: pointer that will be populated with a cookie to use to 91 ion_user_handle_t handle; member in struct:ion_allocation_data 95 * struct ion_fd_data - metadata passed to/from userspace for a handle/fd pair 96 * @handle: a handle 97 * @fd: a file descriptor representing that handle 99 * For ION_IOC_SHARE or ION_IOC_MAP userspace populates the handle field with 100 * the handle returned from ion alloc, and the kernel returns the file 102 * provides the file descriptor and the kernel returns the handle. 105 ion_user_handle_t handle; member in struct:ion_fd_data 114 ion_user_handle_t handle; member in struct:ion_handle_data [all...] |
/external/libnl/src/lib/ |
H A D | qdisc.c | 49 nl_cli_fatal(err, "Unable to parse handle \"%s\": %s", 57 uint32_t handle; local 60 if ((err = rtnl_tc_str2handle(arg, &handle)) < 0) 61 nl_cli_fatal(err, "Unable to parse handle \"%s\": %s", 64 rtnl_qdisc_set_handle(qdisc, handle);
|
/external/libsepol/src/ |
H A D | assertion.c | 30 static void report_failure(sepol_handle_t *handle, policydb_t *p, argument 37 ERR(handle, "neverallow on line %lu of %s (or line %lu of policy.conf) violated by allow %s %s:%s {%s };", 45 ERR(handle, "neverallow on line %lu violated by allow %s %s:%s {%s };", 52 ERR(handle, "neverallow violated by allow %s %s:%s {%s };", 61 static unsigned long check_assertion_helper(sepol_handle_t * handle, argument 81 report_failure(handle, p, avrule, stype, ttype, curperm, node); 89 report_failure(handle, p, avrule, stype, ttype, curperm, node); 98 int check_assertions(sepol_handle_t * handle, policydb_t * p, argument 141 (handle, p, &te_avtab, &te_cond_avtab, i, i, 148 (handle, [all...] |
/external/mesa3d/src/gallium/tests/graw/ |
H A D | quad-tex.c | 44 void *handle; local 53 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve); 54 info.ctx->bind_vertex_elements_state(info.ctx, handle); 70 void *handle; local 81 handle = graw_parse_vertex_shader(info.ctx, text); 82 info.ctx->bind_vs_state(info.ctx, handle); 87 void *handle; local 98 handle = graw_parse_fragment_shader(info.ctx, text); 99 info.ctx->bind_fs_state(info.ctx, handle); 187 void *handle; local [all...] |
H A D | tri.c | 43 void *handle; local 52 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve); 53 info.ctx->bind_vertex_elements_state(info.ctx, handle); 70 void *handle; local 81 handle = graw_parse_vertex_shader(info.ctx, text); 82 info.ctx->bind_vs_state(info.ctx, handle); 88 void *handle; local 96 handle = graw_parse_fragment_shader(info.ctx, text); 97 info.ctx->bind_fs_state(info.ctx, handle); 124 void *handle; local [all...] |
/external/qemu/audio/ |
H A D | alsaaudio.c | 109 snd_pcm_t *handle; member in struct:pollhlp 120 snd_pcm_t *handle; member in struct:ALSAVoiceOut 126 snd_pcm_t *handle; member in struct:ALSAVoiceIn 215 hlp->handle = NULL; 222 alsa_logerr (err, "Failed to close PCM handle %p\n", *handlep); 233 static int alsa_recover (snd_pcm_t *handle) argument 235 int err = FF(snd_pcm_prepare) (handle); 237 alsa_logerr (err, "Failed to prepare handle %p\n", handle); 243 static int alsa_resume (snd_pcm_t *handle) argument 313 alsa_poll_helper(snd_pcm_t *handle, struct pollhlp *hlp, int mask) argument 500 alsa_set_threshold(snd_pcm_t *handle, snd_pcm_uframes_t threshold) argument 533 snd_pcm_t *handle; local 760 alsa_get_avail(snd_pcm_t *handle) argument 882 snd_pcm_t *handle; local 930 alsa_voice_ctl(snd_pcm_t *handle, const char *typ, int pause) argument 987 snd_pcm_t *handle; local [all...] |
/external/sfntly/cpp/src/test/ |
H A D | lock_test.cc | 64 PlatformThreadHandle handle = kNullThreadHandle; local 66 EXPECT_TRUE(PlatformThread::Create(&thread, &handle)); 94 PlatformThread::Join(handle); 132 PlatformThreadHandle handle = kNullThreadHandle; local 134 EXPECT_TRUE(PlatformThread::Create(&thread, &handle)); 136 PlatformThread::Join(handle); 146 PlatformThreadHandle handle = kNullThreadHandle; local 148 EXPECT_TRUE(PlatformThread::Create(&thread, &handle)); 150 PlatformThread::Join(handle); 194 PlatformThreadHandle handle local [all...] |
/external/chromium_org/base/process/ |
H A D | process_handle_win.cc | 23 bool OpenProcessHandle(ProcessId pid, ProcessHandle* handle) { argument 24 // We try to limit privileges granted to the handle. If you need this 35 *handle = result; 39 bool OpenPrivilegedProcessHandle(ProcessId pid, ProcessHandle* handle) { argument 50 *handle = result; 56 ProcessHandle* handle) { 62 *handle = result; 71 // This returns 0 if we have insufficient rights to query the process handle. 54 OpenProcessHandleWithAccess(ProcessId pid, uint32 access_flags, ProcessHandle* handle) argument
|
/external/chromium_org/extensions/renderer/ |
H A D | scoped_persistent.h | 13 // A v8::Persistent handle to a V8 value which destroys and clears the 14 // underlying handle on destruction. 20 explicit ScopedPersistent(v8::Handle<T> handle) { reset(handle); } argument 24 void reset(v8::Handle<T> handle) { argument 25 if (!handle.IsEmpty()) 26 handle_.Reset(GetIsolate(handle), handle); local
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/ |
H A D | fake_resource_manager.h | 28 void AddRef(PP_Resource handle); 29 void Release(PP_Resource handle); 31 T* Get(PP_Resource handle, bool not_found_ok=false); 34 FakeResourceTracker* Get(PP_Resource handle, bool not_found_ok); 106 inline T* FakeResourceManager::Get(PP_Resource handle, bool not_found_ok) { argument 107 FakeResourceTracker* tracker = Get(handle, not_found_ok);
|
/external/chromium_org/net/base/ |
H A D | net_util_win.h | 36 DWORD OpenHandle(DWORD client_version, DWORD* cur_version, T* handle) const { 42 handle->Set(temp_handle); 59 static bool CloseHandle(HANDLE handle) { argument 60 return WlanApi::GetInstance().close_handle_func(handle, NULL) == 63 static bool IsHandleValid(HANDLE handle) { argument 64 return base::win::HandleTraits::IsHandleValid(handle);
|
/external/chromium_org/net/http/ |
H A D | http_basic_state_unittest.cc | 17 ClientSocketHandle* const handle = new ClientSocketHandle; local 18 // Ownership of handle is passed to |state|. 19 const HttpBasicState state(handle, true); 20 EXPECT_EQ(handle, state.connection()); 30 ClientSocketHandle* const handle = new ClientSocketHandle; local 31 HttpBasicState state(handle, false); 35 EXPECT_EQ(handle, released_connection.get());
|
/external/chromium_org/third_party/webrtc/modules/audio_processing/ |
H A D | echo_cancellation_impl.cc | 89 Handle* my_handle = static_cast<Handle*>(handle(handle_index)); 129 Handle* my_handle = handle(handle_index); 240 Handle* my_handle = static_cast<Handle*>(handle(0)); 283 // TODO(bjornv): How should we handle the multi-channel case? 297 Handle* my_handle = static_cast<Handle*>(handle(0)); 311 Handle* my_handle = static_cast<Handle*>(handle(0)); 331 Handle* handle = NULL; local 332 if (WebRtcAec_Create(&handle) != apm_->kNoError) { 333 handle = NULL; 335 assert(handle ! [all...] |
/external/chromium_org/v8/test/mjsunit/ |
H A D | mirror-unresolved-function.js | 35 this.refs_[tmp[i].handle] = tmp[i]; 39 MirrorRefCache.prototype.lookup = function(handle) { 40 return this.refs_[handle]; 72 assertEquals(mirror.constructorFunction().handle(), fromJSON.constructorFunction.ref, 'Unexpected constructor function handle in JSON'); 74 assertEquals(mirror.protoObject().handle(), fromJSON.protoObject.ref, 'Unexpected proto object handle in JSON'); 76 assertEquals(mirror.prototypeObject().handle(), fromJSON.prototypeObject.ref, 'Unexpected prototype object handle in JSON');
|
/external/qemu/distrib/sdl-1.2.15/src/thread/win32/ |
H A D | SDL_systhread.c | 125 thread->handle = (SYS_ThreadHandle) 130 thread->handle = CreateThread(NULL, 0, RunThreadViaCreateThread, pThreadParms, 0, &threadid); 132 if (thread->handle == NULL) { 151 WaitForSingleObject(thread->handle, INFINITE); 152 CloseHandle(thread->handle); 161 TerminateThread(thread->handle, FALSE);
|