Home
last modified time | relevance | path

Searched refs:value_ptr (Results 1 – 25 of 65) sorted by relevance

123

/external/selinux/policycoreutils/setsebool/
Dsetsebool.c223 char *name, *value_ptr; in setbool() local
234 value_ptr = strchr(list[i], '='); in setbool()
235 if (value_ptr == NULL) { in setbool()
241 *value_ptr = '\0'; in setbool()
242 value_ptr++; in setbool()
243 if (strcmp(value_ptr, "1") == 0 || in setbool()
244 strcasecmp(value_ptr, "true") == 0 || in setbool()
245 strcasecmp(value_ptr, "on") == 0) in setbool()
247 else if (strcmp(value_ptr, "0") == 0 || in setbool()
248 strcasecmp(value_ptr, "false") == 0 || in setbool()
[all …]
/external/oboe/samples/RhythmGame/third_party/glm/gtc/
Dtype_ptr.inl14 GLM_FUNC_QUALIFIER T const * value_ptr function
25 GLM_FUNC_QUALIFIER T * value_ptr function
36 GLM_FUNC_QUALIFIER T const * value_ptr function
47 GLM_FUNC_QUALIFIER T * value_ptr function
58 GLM_FUNC_QUALIFIER T const * value_ptr function
69 GLM_FUNC_QUALIFIER T * value_ptr function
80 GLM_FUNC_QUALIFIER T const * value_ptr function
91 GLM_FUNC_QUALIFIER T * value_ptr function
102 GLM_FUNC_QUALIFIER T const * value_ptr function
113 GLM_FUNC_QUALIFIER T * value_ptr function
[all …]
/external/piex/src/tiff_directory/
Dtiff_directory.cc83 RangeCheckedBytePtr value_ptr(&directory_entry->value[0], in Get() local
91 my_value[c] = Get16u(value_ptr + c * 2, is_big_endian, &err); in Get()
93 my_value[c] = Get32u(value_ptr + c * 4, is_big_endian, &err); in Get()
122 RangeCheckedBytePtr value_ptr(&directory_entry->value[0], in Get() local
131 my_value[c].numerator = Get16u(value_ptr + c * 2, is_big_endian, &err); in Get()
136 my_value[c].numerator = Get32u(value_ptr + c * 4, is_big_endian, &err); in Get()
141 my_value[c].numerator = Get32u(value_ptr + c * 8, is_big_endian, &err); in Get()
143 Get32u(value_ptr + c * 8 + 4, is_big_endian, &err); in Get()
177 RangeCheckedBytePtr value_ptr(&directory_entry->value[0], in Get() local
186 my_value[c].numerator = Get16s(value_ptr + c * 2, is_big_endian, &err); in Get()
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/
D1-1.c44 int *value_ptr; in main() local
47 value_ptr = 0; in main()
61 if (pthread_join(new_th, (void *)&value_ptr) != 0) { in main()
68 if ((long)value_ptr != RETURN_CODE) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/
D2-1.c48 void *value_ptr; in main() local
50 value_ptr = 0; in main()
63 if (pthread_join(new_th, &value_ptr) != 0) { in main()
73 if (value_ptr != RETURN_CODE) { in main()
/external/cronet/base/threading/
Dsequence_local_storage_slot.h98 T* value_ptr = new T(std::forward<Args>(args)...); in emplace() local
99 Adopt(value_ptr); in emplace()
100 return value_ptr; in emplace()
105 void Adopt(T* value_ptr) { in Adopt() argument
117 value_destructor_pair(value_ptr, destructor); in Adopt()
/external/rust/crates/tokio/src/util/
Donce_cell.rs45 let value_ptr = self.value.get() as *mut T; in do_init() localVariable
55 std::ptr::write(value_ptr, set_to); in do_init()
64 let value_ptr = self.value.get() as *mut T; in drop() localVariable
66 std::ptr::drop_in_place(value_ptr); in drop()
/external/python/pybind11/include/pybind11/detail/
Dinit.h73 v_h.value_ptr() = new Alias<Class>(std::move(base)); in construct_alias_from_cpp()
107 v_h.value_ptr() = ptr; in construct()
117 v_h.value_ptr() = ptr; in construct()
126 v_h.value_ptr() = static_cast<Cpp<Class> *>(alias_ptr); in construct()
141 v_h.value_ptr() = ptr; in construct()
156 v_h.value_ptr() = new Cpp<Class>(std::move(result)); in construct()
166 v_h.value_ptr() = new Alias<Class>(std::move(result)); in construct()
175 v_h.value_ptr() = construct_or_initialize<Cpp<Class>>(std::forward<Args>(args)...); in execute()
185 v_h.value_ptr() = construct_or_initialize<Cpp<Class>>(std::forward<Args>(args)...); in execute()
187 … v_h.value_ptr() = construct_or_initialize<Alias<Class>>(std::forward<Args>(args)...); in execute()
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_key_create/
D1-2.c48 void *value_ptr; in main() local
68 if (pthread_join(new_th, &value_ptr) != 0) { in main()
73 if (value_ptr == (void *)PTS_FAIL) { in main()
/external/rust/crates/grpcio-sys/grpc/third_party/xxhash/tests/collisions/
Dthreading.c64 int ZSTD_pthread_join(ZSTD_pthread_t thread, void **value_ptr) in ZSTD_pthread_join() argument
73 if (value_ptr) *value_ptr = thread.arg; in ZSTD_pthread_join()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Dmodel.cc158 Value* value_ptr = v->value.get(); in SetProducer() local
176 Erase(&nodes_[v->producer->id].outputs, value_ptr); in SetProducer()
179 n->outputs.push_back(value_ptr); in SetProducer()
186 Value* value_ptr = v->value.get(); in RemoveProducer() local
190 Erase(&nodes_[v->producer->id].outputs, value_ptr); in RemoveProducer()
198 Value* value_ptr = v->value.get(); in AddConsumer() local
214 n->inputs.push_back(value_ptr); in AddConsumer()
261 Value* value_ptr = v->value.get(); in RemoveConsumer() local
268 Erase(&n->inputs, value_ptr); in RemoveConsumer()
292 Value* value_ptr = v->value.get(); in DeleteValue() local
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cleanup_push/
D1-2.c81 void *value_ptr; /* hold return value of thread from pthread_join */ in main() local
108 if (pthread_join(new_th, &value_ptr) != 0) { in main()
114 if ((long)value_ptr == PTS_UNRESOLVED) { in main()
/external/webrtc/sdk/android/src/jni/pc/
Dstats_observer.cc27 const rtc::scoped_refptr<StatsReport::Value>& value_ptr) { in NativeToJavaStatsReportValue() argument
31 env, NativeToJavaString(env, value_ptr->display_name()), in NativeToJavaStatsReportValue()
32 NativeToJavaString(env, value_ptr->ToString())); in NativeToJavaStatsReportValue()
/external/zstd/lib/common/
Dthreading.c59 int ZSTD_pthread_join(ZSTD_pthread_t thread, void **value_ptr) in ZSTD_pthread_join() argument
68 if (value_ptr) *value_ptr = thread.arg; in ZSTD_pthread_join()
/external/python/cpython3/Modules/
D_testinternalcapi.c161 const void *key_ptr, const void *value_ptr, in hashtable_cb() argument
166 int value = (int)FROM_PTR(value_ptr); in hashtable_cb()
209 void *value_ptr = _Py_hashtable_get(table, TO_PTR(key)); in test_hashtable() local
210 assert((int)FROM_PTR(value_ptr) == VALUE(key)); in test_hashtable()
215 void *value_ptr = _Py_hashtable_steal(table, TO_PTR(key)); in test_hashtable() local
216 assert((int)FROM_PTR(value_ptr) == VALUE(key)); in test_hashtable()
/external/linux-kselftest/tools/testing/selftests/kvm/
Ddirty_log_test.c560 uint64_t *value_ptr; in vm_dirty_log_verify() local
564 value_ptr = host_test_mem + page * host_page_size; in vm_dirty_log_verify()
585 matched = (*value_ptr == iteration || in vm_dirty_log_verify()
586 *value_ptr == iteration - 1); in vm_dirty_log_verify()
589 if (*value_ptr == iteration - 2 && min_iter <= iteration - 2) { in vm_dirty_log_verify()
636 page, *value_ptr, iteration); in vm_dirty_log_verify()
658 TEST_ASSERT(*value_ptr <= iteration, in vm_dirty_log_verify()
661 page, *value_ptr, iteration); in vm_dirty_log_verify()
662 if (*value_ptr == iteration) { in vm_dirty_log_verify()
/external/llvm/lib/Support/
DDataExtractor.cpp38 for (T *value_ptr = dst, *end = dst + count; value_ptr != end; in getUs() local
39 ++value_ptr, offset += sizeof(*dst)) in getUs()
40 *value_ptr = getU<T>(offset_ptr, de, isLittleEndian, Data); in getUs()
/external/cronet/base/
Dfile_version_info_win.cc157 LPVOID value_ptr = nullptr; in GetValue() local
159 BOOL r = ::VerQueryValue(data_, sub_block, &value_ptr, &size); in GetValue()
160 if (r && value_ptr && size) { in GetValue()
161 value->assign(static_cast<char16_t*>(value_ptr), size - 1); in GetValue()
/external/tensorflow/tensorflow/cc/experimental/libtf/tests/
Dvariable_test.cc104 AbstractTensorHandle* value_ptr = nullptr; in TEST_P() local
106 &value_ptr, DT_FLOAT)); in TEST_P()
107 value.reset(value_ptr); in TEST_P()
/external/libese/apps/boot/
Dese_boot_tool.cpp115 char *value_ptr = &value[0]; in collect_device_data() local
118 value_ptr = getenv(strrchr(*key, '.') + 1); in collect_device_data()
119 if (value_ptr == NULL) { in collect_device_data()
124 } else if (!get_property_helper(*key, value_ptr)) { in collect_device_data()
127 len = static_cast<uint8_t>(strlen(value_ptr)); in collect_device_data()
129 device_data->append(value_ptr); in collect_device_data()
/external/libaom/aom_util/
Daom_thread.h78 static INLINE int pthread_join(pthread_t thread, void **value_ptr) { in pthread_join() argument
79 (void)value_ptr; in pthread_join()
196 static INLINE int pthread_join(pthread_t thread, void **value_ptr) {
197 (void)value_ptr;
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_nir_soa.c804 …LLVMValueRef value_ptr = lp_build_pointer_get(builder, addr_ptr, lp_build_const_int32(gallivm, c)); in emit_load_global() local
808 temp_res = LLVMBuildInsertElement(builder, temp_res, value_ptr, loop_state.counter, ""); in emit_load_global()
836 LLVMValueRef value_ptr = LLVMBuildExtractElement(gallivm->builder, val, in emit_store_global() local
844value_ptr = LLVMBuildBitCast(builder, value_ptr, LLVMInt8TypeInContext(gallivm->context), ""); in emit_store_global()
847value_ptr = LLVMBuildBitCast(builder, value_ptr, LLVMInt16TypeInContext(gallivm->context), ""); in emit_store_global()
850value_ptr = LLVMBuildBitCast(builder, value_ptr, LLVMInt32TypeInContext(gallivm->context), ""); in emit_store_global()
853value_ptr = LLVMBuildBitCast(builder, value_ptr, LLVMInt64TypeInContext(gallivm->context), ""); in emit_store_global()
863 lp_build_pointer_set(builder, addr_ptr, lp_build_const_int32(gallivm, c), value_ptr); in emit_store_global()
887 LLVMValueRef value_ptr = LLVMBuildExtractElement(gallivm->builder, val, in emit_atomic_global() local
904 scalar = LLVMBuildAtomicCmpXchg(builder, addr_ptr, value_ptr, in emit_atomic_global()
[all …]
/external/libchrome/base/threading/
Dsequence_local_storage_slot.h86 T* value_ptr = new T(std::move(value)); in Set() local
92 value_destructor_pair(value_ptr, destructor); in Set()
/external/oboe/samples/RhythmGame/third_party/glm/gtx/
Drange.hpp63 return value_ptr(v); in begin()
75 return value_ptr(v); in begin()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_pthread_wrappers.h56 inline void PTHREAD_JOIN(pthread_t thread, void **value_ptr) { in PTHREAD_JOIN() argument
57 ASSERT_EQ(0, value_ptr) << "Nonzero value_ptr is not supported yet."; in PTHREAD_JOIN()

123