Home
last modified time | relevance | path

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

12

/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 == 0) { 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/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/syzkaller/sys/fuchsia/
Dfutexes.txt6 # TODO: limit value_ptr space somehow to make matches more frequent.
7 zx_futex_wait(value_ptr ptr[in, int32], current_value int32, deadline zx_time)
8 zx_futex_wake(value_ptr ptr[in, int32], wake_count intptr)
9 zx_futex_requeue(value_ptr ptr[in, int32], wake_count intptr, current_value int32, requeue_ptr ptr[…
/external/linux-kselftest/tools/testing/selftests/kvm/
Ddirty_log_test.c146 uint64_t *value_ptr; in vm_dirty_log_verify() local
151 value_ptr = host_test_mem + page * host_page_size; in vm_dirty_log_verify()
169 TEST_ASSERT(*value_ptr == iteration || in vm_dirty_log_verify()
170 *value_ptr == iteration - 1, in vm_dirty_log_verify()
173 page, *value_ptr, iteration); in vm_dirty_log_verify()
195 TEST_ASSERT(*value_ptr <= iteration, in vm_dirty_log_verify()
198 page, *value_ptr, iteration); in vm_dirty_log_verify()
199 if (*value_ptr == iteration) { in vm_dirty_log_verify()
/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/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/tensorflow/tensorflow/lite/kernels/
Dembedding_lookup.cc120 const int8_t* value_ptr; in EvalHybrid() local
122 value_ptr = reinterpret_cast<int8_t*>(value->data.uint8); in EvalHybrid()
124 value_ptr = value->data.int8; in EvalHybrid()
127 value_ptr[j + idx * col_size] * scaling_factor; in EvalHybrid()
/external/swiftshader/third_party/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/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()
Dpoint_cloud_renderer.cc65 glUniformMatrix4fv(uniform_mvp_mat_, 1, GL_FALSE, glm::value_ptr(mvp_matrix)); in Draw()
/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/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/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() argument
128 value_ptr(const T* pvalue) : value(*pvalue) in value_ptr() argument
/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/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()
274 static INLINE int pthread_join(pthread_t thread, void **value_ptr) {
275 (void)value_ptr;
/external/libaom/libaom/aom_util/
Daom_thread.h92 static INLINE int pthread_join(pthread_t thread, void **value_ptr) { in pthread_join() argument
93 (void)value_ptr; in pthread_join()
267 static INLINE int pthread_join(pthread_t thread, void **value_ptr) {
268 (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 …]
/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/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Drecords.pyx.pxi29 cdef const char *value_ptr
32 value_ptr = <const char *>value
34 return grpc_slice_from_copied_buffer(value_ptr, length)

12