Home
last modified time | relevance | path

Searched defs:val (Results 1 – 25 of 306) sorted by relevance

12345678910>>...13

/hardware/google/gfxstream/host/apigen-codec-common/X11/
DXmd.h149 # define cvtINT8toInt(val) (((val) & 0x00000080) ? ((val) | 0xffffffffffffff00) : (val)) argument
150 # define cvtINT16toInt(val) (((val) & 0x00008000) ? ((val) | 0xffffffffffff0000) : (val)) argument
151 # define cvtINT32toInt(val) (((val) & 0x80000000) ? ((val) | 0xffffffff00000000) : (val)) argument
152 # define cvtINT8toShort(val) cvtINT8toInt(val) argument
153 # define cvtINT16toShort(val) cvtINT16toInt(val) argument
154 # define cvtINT32toShort(val) cvtINT32toInt(val) argument
155 # define cvtINT8toLong(val) cvtINT8toInt(val) argument
156 # define cvtINT16toLong(val) cvtINT16toInt(val) argument
157 # define cvtINT32toLong(val) cvtINT32toInt(val) argument
159 # define cvtINT8toInt(val) (val) argument
[all …]
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcmendian.h30 #define BCMSWAP16(val) \ argument
35 #define BCMSWAP32(val) \ argument
42 #define BCMSWAP32BY16(val) \ argument
101 #define bcmswap16(val) ({ \ argument
106 #define bcmswap32(val) ({ \ argument
111 #define bcmswap32by16(val) ({ \ argument
125 #define htol16_ua_store(val, bytes) ({ \ argument
132 #define htol32_ua_store(val, bytes) ({ \ argument
141 #define hton16_ua_store(val, bytes) ({ \ argument
148 #define hton32_ua_store(val, bytes) ({ \ argument
[all …]
/hardware/libhardware/modules/camera/3_4/metadata/
Dmetadata_common.h77 const T& val) { in UpdateMetadata()
85 const std::vector<T>& val) { in UpdateMetadata()
93 const std::array<T, N>& val) { in UpdateMetadata()
101 const ArrayVector<T, N>& val) { in UpdateMetadata()
109 const std::vector<std::array<T, N>>& val) { in UpdateMetadata()
180 T* val) { in SingleTagValue()
211 std::array<T, N>* val) { in SingleTagValue()
260 std::vector<T>* val) { in VectorTagValue()
284 std::vector<std::array<T, N>>* val) { in VectorTagValue()
/hardware/google/gfxstream/guest/mesa/src/util/
Ddouble.c29 _mesa_double_to_float(double val) in _mesa_double_to_float()
35 _mesa_double_to_float_rtz(double val) in _mesa_double_to_float_rtz()
Du_atomic.c53 __sync_add_and_fetch_8(uint64_t *ptr, uint64_t val) in __sync_add_and_fetch_8()
66 __sync_sub_and_fetch_8(uint64_t *ptr, uint64_t val) in __sync_sub_and_fetch_8()
79 __sync_fetch_and_add_8(uint64_t *ptr, uint64_t val) in __sync_fetch_and_add_8()
92 __sync_fetch_and_sub_8(uint64_t *ptr, uint64_t val) in __sync_fetch_and_sub_8()
Dhalf_float.h58 _mesa_float_to_half(float val) in _mesa_float_to_half()
74 _mesa_half_to_float(uint16_t val) in _mesa_half_to_float()
89 _mesa_float_to_float16_rtz(float val) in _mesa_float_to_float16_rtz()
105 _mesa_float_to_float16_rtne(float val) in _mesa_float_to_float16_rtne()
Dhalf_float.c57 _mesa_float_to_half_slow(float val) in _mesa_float_to_half_slow()
136 _mesa_float_to_float16_rtz_slow(float val) in _mesa_float_to_float16_rtz_slow()
147 _mesa_half_to_float_slow(uint16_t val) in _mesa_half_to_float_slow()
Dformat_r11g11b10f.h53 static inline uint32_t f32_to_uf11(float val) in f32_to_uf11()
101 static inline float uf11_to_f32(uint16_t val) in uf11_to_f32()
135 static inline uint32_t f32_to_uf10(float val) in f32_to_uf10()
183 static inline float uf10_to_f32(uint16_t val) in uf10_to_f32()
Ddouble.h44 _mesa_double_to_float_rtne(double val) in _mesa_double_to_float_rtne()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/spec_tools/
Dattributes.py14 def _split_param_ref(val): argument
18 def _human_readable_deref(val, make_param_name=None): argument
40 def __init__(self, val): argument
89 def __init__(self, val): argument
120 def _parse_optional_elt(val): argument
/hardware/google/gfxstream/host/gl/glestranslator/EGL/
DEglPbufferSurface.cpp18 bool EglPbufferSurface::setAttrib(EGLint attrib,EGLint val) { in setAttrib()
48 bool EglPbufferSurface::getAttrib(EGLint attrib,EGLint* val) { in getAttrib()
DEglSurface.cpp31 bool EglSurface::setAttrib(EGLint attrib,EGLint val) { in setAttrib()
/hardware/google/graphics/common/gralloc-headers/pixel-gralloc/
Dutils.h13 std::vector<uint8_t> encode_helper(const T& val) { in encode_helper()
22 std::vector<uint8_t> encode_helper(const Container& val) { in encode_helper()
79 std::vector<uint8_t> encode(const T& val) { in encode()
/hardware/interfaces/audio/core/all-versions/vts/functional/5.0/
DAudioPrimaryHidlHalTest.cpp41 for (float val = -1.0f; val <= 1.0; val += incr) { in TEST_P() local
46 for (float val = 1.0f + incr; val <= 10.0f; val += incr) { in TEST_P() local
/hardware/google/gchips/gralloc4/src/hidl_common/
DBufferDescriptor.h69 static void push_descriptor_uint32(frameworks_vec<vecT> *vec, size_t *pos, uint32_t val) in push_descriptor_uint32()
79 uint32_t val; in pop_descriptor_uint32() local
87 static void push_descriptor_uint64(frameworks_vec<vecT> *vec, size_t *pos, uint64_t val) in push_descriptor_uint64()
97 uint64_t val; in pop_descriptor_uint64() local
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/src/
DVehicleObjectPool.cpp70 auto val = obtain(VehiclePropertyType::INT32); in obtainInt32() local
76 auto val = obtain(VehiclePropertyType::INT64); in obtainInt64() local
82 auto val = obtain(VehiclePropertyType::FLOAT); in obtainFloat() local
88 auto val = obtain(VehiclePropertyType::STRING); in obtainString() local
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVehicleObjectPool.cpp59 auto val = obtain(VehiclePropertyType::INT32); in obtainInt32() local
66 auto val = obtain(VehiclePropertyType::INT64); in obtainInt64() local
73 auto val = obtain(VehiclePropertyType::FLOAT); in obtainFloat() local
80 auto val = obtain(VehiclePropertyType::STRING); in obtainString() local
/hardware/interfaces/renderscript/1.0/vts/functional/
DVtsCopyTests.cpp46 std::generate(dataIn.begin(), dataIn.end(), [](){ static int val = 0; return (float)val++; }); in TEST_P() local
82 std::generate(dataIn.begin(), dataIn.end(), [](){ static int val = 0; return (float)val++; }); in TEST_P() local
119 std::generate(dataIn.begin(), dataIn.end(), [](){ static int val = 0; return (float)val++; }); in TEST_P() local
150 std::generate(dataIn.begin(), dataIn.end(), [](){ static int val = 0; return (float)val++; }); in TEST_P() local
194 std::generate(dataIn.begin(), dataIn.end(), [](){ static int val = 0; return (float)val++; }); in TEST_P() local
246 std::generate(dataIn.begin(), dataIn.end(), [](){ static int val = 0; return (float)val++; }); in TEST_P() local
295 std::generate(dataIn.begin(), dataIn.end(), [](){ static int val = 0; return (float)val++; }); in TEST_P() local
353 [](){ static int val = 0; return (uint8_t)(0xFF & val++); }); in TEST_P() local
399 std::generate(dataIn.begin(), dataIn.end(), [](){ static int val = 0; return (float)val++; }); in TEST_P() local
470 std::generate(dataIn.begin(), dataIn.end(), [](){ static uint32_t val = 0; return val++; }); in TEST_P() local
/hardware/google/graphics/common/libion/test/
Dion_allocate_api_test.cpp36 off_t checkZero(int fd, size_t size, unsigned long *val) { in checkZero()
60 unsigned long val = mb(256); // This is very big enough to flush shrinker in flushShrinker() local
115 unsigned long val = 0; in TEST_F() local
/hardware/interfaces/tests/foo/1.0/default/lib/
DFooHelper.cpp17 std::string QuuxToString(const IFoo::Quux &val) { in QuuxToString()
29 std::string MultiDimensionalToString(const IFoo::MultiDimensional &val) { in MultiDimensionalToString()
/hardware/interfaces/biometrics/common/config/
DConfig.cpp50 std::int32_t val; in parseInt32() local
63 std::int64_t val = std::strtoull(value.c_str(), nullptr, 10); in parseInt64() local
134 bool Config::setInternal(const std::string& name, const ConfigValue& val) { in setInternal()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
Diio_utils.h434 inline int _write_sysfs_int(char *filename, char *basedir, int val, int verify) in _write_sysfs_int()
479 int write_sysfs_int(char *filename, char *basedir, int val) in write_sysfs_int()
484 int write_sysfs_int_and_verify(char *filename, char *basedir, int val) in write_sysfs_int_and_verify()
490 inline int write_sysfs_int64(char *filename, char *basedir, long long val) in write_sysfs_int64()
517 int _write_sysfs_string(char *filename, char *basedir, char *val, int verify) in _write_sysfs_string()
566 int write_sysfs_string_and_verify(char *filename, char *basedir, char *val) in write_sysfs_string_and_verify()
571 int write_sysfs_string(char *filename, char *basedir, char *val) in write_sysfs_string()
620 int read_sysfs_float(char *filename, char *basedir, float *val) in read_sysfs_float()
/hardware/google/gfxstream/host/
DRenderThreadInfoGl.cpp73 saveCollection(stream, m_contextSet, [](Stream* stream, HandleType val) { in onSave()
76 saveCollection(stream, m_windowSet, [](Stream* stream, HandleType val) { in onSave()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
Diio_utils.h435 inline int _write_sysfs_int(char *filename, char *basedir, int val, int verify) in _write_sysfs_int()
480 int write_sysfs_int(char *filename, char *basedir, int val) in write_sysfs_int()
485 int write_sysfs_int_and_verify(char *filename, char *basedir, int val) in write_sysfs_int_and_verify()
490 int _write_sysfs_string(char *filename, char *basedir, char *val, int verify) in _write_sysfs_string()
540 int write_sysfs_string_and_verify(char *filename, char *basedir, char *val) in write_sysfs_string_and_verify()
545 int write_sysfs_string(char *filename, char *basedir, char *val) in write_sysfs_string()
572 int read_sysfs_float(char *filename, char *basedir, float *val) in read_sysfs_float()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/
Diio_utils.h435 inline int _write_sysfs_int(char *filename, char *basedir, int val, int verify) in _write_sysfs_int()
480 int write_sysfs_int(char *filename, char *basedir, int val) in write_sysfs_int()
485 int write_sysfs_int_and_verify(char *filename, char *basedir, int val) in write_sysfs_int_and_verify()
490 int _write_sysfs_string(char *filename, char *basedir, char *val, int verify) in _write_sysfs_string()
540 int write_sysfs_string_and_verify(char *filename, char *basedir, char *val) in write_sysfs_string_and_verify()
545 int write_sysfs_string(char *filename, char *basedir, char *val) in write_sysfs_string()
572 int read_sysfs_float(char *filename, char *basedir, float *val) in read_sysfs_float()

12345678910>>...13