Home
last modified time | relevance | path

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

123456789

/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/interfaces/identity/support/tests/
Dcppbor_test.cpp63 Uint val(testCase.first); in TEST() local
412 Uint val(100000); in TEST() local
418 Tstr val("01234567890123456789012345"s); in TEST() local
427 Bstr val("01234567890123456789012345"s); in TEST() local
436 Array val("a", 5, -100); in TEST() local
455 Uint val(99); in TEST() local
468 Nint val(-1); in TEST() local
481 Tstr val("99"); in TEST() local
495 Bstr val("99"); in TEST() local
509 Bool val(false); in TEST() local
[all …]
/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/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/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/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/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/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DVehicleEmulator.cpp66 emulator::VehiclePropValue *val = msg.add_value(); in doSetValueFromClient() local
128 auto val = mHal->get(request, &halStatus); in doGetProperty() local
155 VehiclePropValue val = { in doSetProperty() local
275 const VehiclePropValue* val) { in populateProtoVehiclePropValue()
/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()
/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/google/pixel/pixelstats/
DUeventListener.cpp50 bool UeventListener::ReadFileToInt(const std::string &path, int *val) { in ReadFileToInt()
54 bool UeventListener::ReadFileToInt(const char *const path, int *val) { in ReadFileToInt()
148 VendorAtom::Value val; in ReportChargeStats() local
188 VendorAtom::Value val; in ReportVoltageTierStats() local
DSysfsCollector.cpp62 bool SysfsCollector::ReadFileToInt(const std::string &path, int *val) { in ReadFileToInt()
66 bool SysfsCollector::ReadFileToInt(const char *const path, int *val) { in ReadFileToInt()
86 int val; in logBatteryChargeCycles() local
/hardware/interfaces/graphics/composer/2.1/utils/command-buffer/include/composer-command-buffer/2.1/
DComposerCommandBuffer.h80 uint32_t val = (offset < mDataWritten) ? mData[offset] : 0; in getCommand() local
459 void write(uint32_t val) { mData[mDataWritten++] = val; } in write()
461 void writeSigned(int32_t val) { memcpy(&mData[mDataWritten++], &val, sizeof(val)); } in writeSigned()
463 void writeFloat(float val) { memcpy(&mData[mDataWritten++], &val, sizeof(val)); } in writeFloat()
465 void write64(uint64_t val) { in write64()
636 uint32_t val = read(); in beginCommand() local
672 int32_t val; in readSigned() local
678 float val; in readFloat() local
690 uint32_t val = read(); in readColor() local
/hardware/qcom/msm8998/json-c/
Djson_object.h71 struct json_object *val; member
346 # define json_object_object_foreach(obj,key,val) \ argument
359 # define json_object_object_foreach(obj,key,val) \ argument
/hardware/google/apf/
Dapf_interpreter.c151 uint32_t val = 0; in accept_packet() local
285 uint32_t val = 0; in accept_packet() local
301 uint32_t val = REG; in accept_packet() local
/hardware/interfaces/renderscript/1.0/default/
DContext.cpp379 …hidl_vec<Element> ids = rs_to_hidl<Element>(_ids, [](uintptr_t val) { return stat… in elementGetSubElements()
380 …hidl_vec<hidl_string> names = rs_to_hidl<hidl_string>(_names, [](const char* val) { return va… in elementGetSubElements()
381 …hidl_vec<Size> arraySizes = rs_to_hidl<Size>(_arraySizes, [](size_t val) { return static_… in elementGetSubElements()
396 …std::vector<RsElement> _eins = hidl_to_rs<RsElement>(eins, [](Element val) { retu… in elementComplexCreate()
397 …nst char*> _namesPtr = hidl_to_rs<const char*>(names, [](const hidl_string& val) { return … in elementComplexCreate()
398 …ze_t> _nameLengthsPtr = hidl_to_rs<size_t>(names, [](const hidl_string& val) { return … in elementComplexCreate()
399 …std::vector<uint32_t> _arraySizes = hidl_to_rs<uint32_t>(arraySizes, [](Size val) { return … in elementComplexCreate()
408 …hidl_vec<OpaqueHandle> metadata = rs_to_hidl<OpaqueHandle>(_metadata, [](uintptr_t val) { return s… in typeGetNativeMetadata()
513 …criptFieldID> _fieldIDS = hidl_to_rs<RsScriptFieldID>(fieldIDS, [](ScriptFieldID val) { return hid… in closureCreate()
516 … _sizes = hidl_to_rs<int>(sizes, [](int32_t val) { return static… in closureCreate()
[all …]
/hardware/qcom/msm8998/original-kernel-headers/linux/mfd/
Dmsm-adie-codec.h51 #define ADIE_CODEC_PACK_ENTRY(reg, mask, val) ((val)|(mask << 8)|(reg << 16)) argument
53 #define ADIE_CODEC_UNPACK_ENTRY(packed, reg, mask, val) \ argument
84 u8 val; member
/hardware/qcom/msm8998/kernel-headers/linux/mfd/
Dmsm-adie-codec.h39 #define ADIE_CODEC_PACK_ENTRY(reg,mask,val) ((val) | (mask << 8) | (reg << 16)) argument
40 #define ADIE_CODEC_UNPACK_ENTRY(packed,reg,mask,val) do { ((reg) = ((packed >> 16) & (0xff))); ((ma… argument
64 u8 val; member
/hardware/qcom/msm8994/original-kernel-headers/linux/mfd/
Dmsm-adie-codec.h51 #define ADIE_CODEC_PACK_ENTRY(reg, mask, val) ((val)|(mask << 8)|(reg << 16)) argument
53 #define ADIE_CODEC_UNPACK_ENTRY(packed, reg, mask, val) \ argument
84 u8 val; member
/hardware/qcom/msm8960/kernel-headers/linux/mfd/
Dmsm-adie-codec.h39 #define ADIE_CODEC_PACK_ENTRY(reg, mask, val) ((val)|(mask << 8)|(reg << 16)) argument
40 #define ADIE_CODEC_UNPACK_ENTRY(packed, reg, mask, val) do { ((reg) = ((packed >> 16) & (0xff))… argument
64 u8 val; member
/hardware/qcom/msm8960/original-kernel-headers/linux/mfd/
Dmsm-adie-codec.h51 #define ADIE_CODEC_PACK_ENTRY(reg, mask, val) ((val)|(mask << 8)|(reg << 16)) argument
53 #define ADIE_CODEC_UNPACK_ENTRY(packed, reg, mask, val) \ argument
84 u8 val; member
/hardware/qcom/msm8994/kernel-headers/linux/mfd/
Dmsm-adie-codec.h39 #define ADIE_CODEC_PACK_ENTRY(reg, mask, val) ((val)|(mask << 8)|(reg << 16)) argument
40 #define ADIE_CODEC_UNPACK_ENTRY(packed, reg, mask, val) do { ((reg) = ((packed >> 16) & (0xff))… argument
64 u8 val; member
/hardware/qcom/msm8x84/kernel-headers/linux/mfd/
Dmsm-adie-codec.h39 #define ADIE_CODEC_PACK_ENTRY(reg, mask, val) ((val)|(mask << 8)|(reg << 16)) argument
40 #define ADIE_CODEC_UNPACK_ENTRY(packed, reg, mask, val) do { ((reg) = ((packed >> 16) & (0xff))… argument
64 u8 val; member
/hardware/qcom/msm8x26/original-kernel-headers/linux/mfd/
Dmsm-adie-codec.h51 #define ADIE_CODEC_PACK_ENTRY(reg, mask, val) ((val)|(mask << 8)|(reg << 16)) argument
53 #define ADIE_CODEC_UNPACK_ENTRY(packed, reg, mask, val) \ argument
84 u8 val; member

123456789