Home
last modified time | relevance | path

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

123

/external/selinux/policycoreutils/setsebool/
Dsetsebool.c221 char *name, *value_ptr; in setbool() local
232 value_ptr = strchr(list[i], '='); in setbool()
233 if (value_ptr == NULL) { in setbool()
239 *value_ptr = '\0'; in setbool()
240 value_ptr++; in setbool()
241 if (strcmp(value_ptr, "1") == 0 || in setbool()
242 strcasecmp(value_ptr, "true") == 0 || in setbool()
243 strcasecmp(value_ptr, "on") == 0) in setbool()
245 else if (strcmp(value_ptr, "0") == 0 || in setbool()
246 strcasecmp(value_ptr, "false") == 0 || in setbool()
[all …]
/external/arm-trusted-firmware/common/
Dfdt_wrappers.c25 const uint32_t *value_ptr; in fdtw_read_cells() local
38 value_ptr = fdt_getprop_namelen(dtb, node, prop, (int)strlen(prop), in fdtw_read_cells()
40 if (value_ptr == NULL) { in fdtw_read_cells()
52 hi = fdt32_to_cpu(*value_ptr); in fdtw_read_cells()
53 value_ptr++; in fdtw_read_cells()
56 lo = fdt32_to_cpu(*value_ptr); in fdtw_read_cells()
74 const uint32_t *value_ptr; in fdtw_read_array() local
83 value_ptr = fdt_getprop_namelen(dtb, node, prop, (int)strlen(prop), in fdtw_read_array()
85 if (value_ptr == NULL) { in fdtw_read_array()
99 dst[i] = fdt32_to_cpu(value_ptr[i]); in fdtw_read_array()
/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/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()
140 v_h.value_ptr() = ptr; in construct()
155 v_h.value_ptr() = new Cpp<Class>(std::move(result)); in construct()
165 v_h.value_ptr() = new Alias<Class>(std::move(result)); in construct()
174 v_h.value_ptr() = construct_or_initialize<Cpp<Class>>(std::forward<Args>(args)...); in execute()
184 v_h.value_ptr() = construct_or_initialize<Cpp<Class>>(std::forward<Args>(args)...); in execute()
186 … 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/linux-kselftest/tools/testing/selftests/kvm/
Ddirty_log_test.c184 uint64_t *value_ptr; in vm_dirty_log_verify() local
189 value_ptr = host_test_mem + page * host_page_size; in vm_dirty_log_verify()
207 TEST_ASSERT(*value_ptr == iteration || in vm_dirty_log_verify()
208 *value_ptr == iteration - 1, in vm_dirty_log_verify()
211 page, *value_ptr, iteration); in vm_dirty_log_verify()
233 TEST_ASSERT(*value_ptr <= iteration, in vm_dirty_log_verify()
236 page, *value_ptr, iteration); in vm_dirty_log_verify()
237 if (*value_ptr == iteration) { in vm_dirty_log_verify()
/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/protobuf/php/ext/google/protobuf/
Dencode_decode.c300 static void *empty_php_string(zval** value_ptr) { in DEFINE_SINGULAR_HANDLER()
301 SEPARATE_ZVAL_IF_NOT_REF(value_ptr); in DEFINE_SINGULAR_HANDLER()
302 if (Z_TYPE_PP(value_ptr) == IS_STRING && in DEFINE_SINGULAR_HANDLER()
303 !IS_INTERNED(Z_STRVAL_PP(value_ptr))) { in DEFINE_SINGULAR_HANDLER()
304 FREE(Z_STRVAL_PP(value_ptr)); in DEFINE_SINGULAR_HANDLER()
306 ZVAL_EMPTY_STRING(*value_ptr); in DEFINE_SINGULAR_HANDLER()
307 return (void*)(*value_ptr); in DEFINE_SINGULAR_HANDLER()
310 static void *empty_php_string(zval* value_ptr) {
311 if (Z_TYPE_P(value_ptr) == IS_STRING) {
312 zend_string_release(Z_STR_P(value_ptr));
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Dmodel.h264 Value<TensorT>* value_ptr = v->value.get(); in SetProducer() local
282 Erase(&nodes_[v->producer->id].outputs, value_ptr); in SetProducer()
285 n->outputs.push_back(value_ptr); in SetProducer()
292 Value<TensorT>* value_ptr = v->value.get(); in RemoveProducer() local
296 Erase(&nodes_[v->producer->id].outputs, value_ptr); in RemoveProducer()
341 Value<TensorT>* value_ptr = v->value.get(); in AddConsumer() local
356 n->inputs.push_back(value_ptr); in AddConsumer()
364 Value<TensorT>* value_ptr = v->value.get(); in RemoveConsumer() local
371 Erase(&n->inputs, value_ptr); in RemoveConsumer()
395 Value<TensorT>* value_ptr = v->value.get(); in DeleteValue() local
[all …]
/external/skia/platform_tools/android/apps/arcore/src/main/cpp/
Dplane_renderer.cc118 glm::value_ptr(projection_mat * view_mat * model_mat_)); in Draw()
121 glm::value_ptr(model_mat_)); in Draw()
165 glm::value_ptr(raw_vertices.front())); in UpdateForPlane()
177 glm::value_ptr(model_mat_)); in UpdateForPlane()
/external/skqp/platform_tools/android/apps/arcore/src/main/cpp/
Dplane_renderer.cc118 glm::value_ptr(projection_mat * view_mat * model_mat_)); in Draw()
121 glm::value_ptr(model_mat_)); in Draw()
165 glm::value_ptr(raw_vertices.front())); in UpdateForPlane()
177 glm::value_ptr(model_mat_)); in UpdateForPlane()
/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/swiftshader/third_party/llvm-7.0/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/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/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/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/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()
/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/Reactive-Extensions/RxCpp/Ix/CPP/src/cpplinq/
Dlinq_iterators.hpp88 util::value_ptr<T> deref_iterator(const Iter& it, util::identity<T>) { in deref_iterator()
89 return util::value_ptr<T>(*it); in deref_iterator()
122 util::value_ptr<typename Cursor::element_type>>::type,
Dutil.hpp123 struct value_ptr struct
126 value_ptr(const T& value) : value(value) in value_ptr() function
128 value_ptr(const T* pvalue) : value(*pvalue) in value_ptr() argument
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/
D1-1.c102 void *value_ptr; in main() local
138 if (pthread_join(child_thread, &value_ptr) != 0) { in main()
/external/libvpx/libvpx/vpx_util/
Dvpx_thread.h94 static INLINE int pthread_join(pthread_t thread, void **value_ptr) { in pthread_join() argument
95 (void)value_ptr; in pthread_join()
275 static INLINE int pthread_join(pthread_t thread, void **value_ptr) {
276 (void)value_ptr;
/external/oj-libjdwp/src/share/javavm/export/
Djvmti.h1111 jobject* value_ptr);
1118 jint* value_ptr);
1125 jlong* value_ptr);
1132 jfloat* value_ptr);
1139 jdouble* value_ptr);
1673 char** value_ptr);
1782 jobject* value_ptr);
2037 jobject* value_ptr) { in GetLocalObject()
2038 return functions->GetLocalObject(this, thread, depth, slot, value_ptr); in GetLocalObject()
2043 jobject* value_ptr) { in GetLocalInstance()
[all …]

123