Home
last modified time | relevance | path

Searched refs:SIZE (Results 1 – 24 of 24) sorted by relevance

/hardware/libhardware_legacy/audio/
DAudioHardwareStub.cpp101 const size_t SIZE = 256; in dumpInternals() local
102 char buffer[SIZE]; in dumpInternals()
105 snprintf(buffer, SIZE, "\tmMicMute: %s\n", mMicMute? "true": "false"); in dumpInternals()
143 const size_t SIZE = 256; in dump() local
144 char buffer[SIZE]; in dump()
146 snprintf(buffer, SIZE, "AudioStreamOutStub::dump\n"); in dump()
147 snprintf(buffer, SIZE, "\tsample rate: %d\n", sampleRate()); in dump()
148 snprintf(buffer, SIZE, "\tbuffer size: %d\n", bufferSize()); in dump()
149 snprintf(buffer, SIZE, "\tchannels: %d\n", channels()); in dump()
150 snprintf(buffer, SIZE, "\tformat: %d\n", format()); in dump()
[all …]
DAudioHardwareGeneric.cpp168 const size_t SIZE = 256; in dumpInternals() local
169 char buffer[SIZE]; in dumpInternals()
172 snprintf(buffer, SIZE, "\tmFd: %d mMicMute: %s\n", mFd, mMicMute? "true": "false"); in dumpInternals()
247 const size_t SIZE = 256; in dump() local
248 char buffer[SIZE]; in dump()
250 snprintf(buffer, SIZE, "AudioStreamOutGeneric::dump\n"); in dump()
252 snprintf(buffer, SIZE, "\tsample rate: %d\n", sampleRate()); in dump()
254 snprintf(buffer, SIZE, "\tbuffer size: %d\n", bufferSize()); in dump()
256 snprintf(buffer, SIZE, "\tchannels: %d\n", channels()); in dump()
258 snprintf(buffer, SIZE, "\tformat: %d\n", format()); in dump()
[all …]
DAudioHardwareInterface.cpp139 const size_t SIZE = 256; in dumpState() local
140 char buffer[SIZE]; in dumpState()
142 snprintf(buffer, SIZE, "AudioHardwareBase::dumpState\n"); in dumpState()
144 snprintf(buffer, SIZE, "\tmMode: %d\n", mMode); in dumpState()
/hardware/google/gfxstream/guest/mesa/src/util/tests/hash_table/
Ddelete_management.c35 #define SIZE 10000 macro
54 uint32_t keys[SIZE]; in main()
62 for (i = 0; i < SIZE; i++) { in main()
75 for (i = SIZE - 100; i < SIZE; i++) { in main()
85 assert(key_value(entry->key) >= SIZE - 100 && in main()
86 key_value(entry->key) < SIZE); in main()
Dclear.c28 #define SIZE 1000 macro
60 bool flags[SIZE]; in main()
65 for (i = 0; i < SIZE; ++i) { in main()
75 for (i = 0; i < SIZE; ++i) { in main()
82 for (i = 0; i < SIZE; ++i) { in main()
87 assert(key_id(entry->key) < SIZE); in main()
96 for (i = 0; i < SIZE; ++i) { in main()
101 assert(key_id(entry->key) < SIZE); in main()
Dinsert_many.c35 #define SIZE 10000 macro
54 uint32_t keys[SIZE]; in main()
62 for (i = 0; i < SIZE; i++) { in main()
68 for (i = 0; i < SIZE; i++) { in main()
73 assert(ht->entries == SIZE); in main()
Drandom_entry.c35 #define SIZE 10000 macro
60 uint32_t keys[SIZE]; in main()
68 for (i = 0; i < SIZE; i++) { in main()
/hardware/google/graphics/common/libhwc2.1/libvrr/
DRingBuffer.h24 template <class T, size_t SIZE>
33 constexpr size_t capacity() const { return SIZE; } in capacity()
38 mHead = static_cast<size_t>(mHead + 1) % SIZE; in next()
39 if (mCount < SIZE) { in next()
59 std::array<T, SIZE> mBuffer;
/hardware/interfaces/drm/1.0/default/
DTypeConvert.h56 template<typename T, size_t SIZE> const Vector<T> toVector( in toVector()
57 const hidl_array<T, SIZE> &array) { in toVector()
63 template<typename T, size_t SIZE> Vector<T> toVector( in toVector()
64 hidl_array<T, SIZE> &array) { in toVector()
/hardware/google/av/media/eco/
DECOData.cpp375 const size_t SIZE = 100; in debugString() local
376 char keyValue[SIZE]; in debugString()
380 snprintf(keyValue, SIZE, "int32_t %s = %d, ", it.first.c_str(), in debugString()
384 snprintf(keyValue, SIZE, "int64_t %s = %" PRId64 ", ", it.first.c_str(), in debugString()
388 snprintf(keyValue, SIZE, "size_t %s = %zu, ", it.first.c_str(), in debugString()
392 snprintf(keyValue, SIZE, "float %s = %f, ", it.first.c_str(), in debugString()
396 snprintf(keyValue, SIZE, "double %s = %f, ", it.first.c_str(), in debugString()
400 snprintf(keyValue, SIZE, "string %s = %s, ", it.first.c_str(), in debugString()
404 snprintf(keyValue, SIZE, "int8_t %s = %d, ", it.first.c_str(), in debugString()
/hardware/interfaces/tests/foo/1.0/default/lib/include/hidl-test/
DFooHelper.h40 template<typename T, size_t SIZE>
41 std::string to_string(const hidl_array<T, SIZE> &array) { in to_string()
42 return to_string(&array[0], SIZE); in to_string()
/hardware/google/easel/amber/camera/include/
DHdrPlusTypes.h222 template<typename T, size_t SIZE>
224 std::vector<std::array<T, SIZE>> values);
226 template<typename T, size_t SIZE>
228 std::array<T, SIZE> values);
501 template<typename T, size_t SIZE>
503 std::vector<std::array<T, SIZE>> values) { in appendVectorArrayToString()
522 template<typename T, size_t SIZE>
524 std::array<T, SIZE> values) { in appendArrayArrayToString()
/hardware/interfaces/keymaster/4.0/support/
Dkeymaster_utils.cpp32 template <size_t SIZE>
33 inline static bool operator<(const hidl_array<uint8_t, SIZE>& a, in operator <()
34 const hidl_array<uint8_t, SIZE>& b) { in operator <()
35 return memcmp(a.data(), b.data(), SIZE) == -1; in operator <()
/hardware/interfaces/input/common/aidl/aidl_api/android.hardware.input.common/current/android/hardware/input/common/
DAxis.aidl40 SIZE = 3, enumConstant
/hardware/interfaces/input/common/aidl/aidl_api/android.hardware.input.common/1/android/hardware/input/common/
DAxis.aidl40 SIZE = 3, enumConstant
/hardware/interfaces/input/common/aidl/android/hardware/input/common/
DAxis.aidl81 SIZE = 3, enumConstant
/hardware/interfaces/camera/device/default/
DExternalCameraDevice.h101 template <size_t SIZE>
104 uint32_t fourcc, const std::array<int, SIZE>& halFormats, int streamConfigTag,
DExternalCameraDevice.cpp710 template <size_t SIZE>
713 uint32_t fourcc, const std::array<int, SIZE>& halFormats, int streamConfigTag, in initOutputCharsKeysByFormat()
/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/
DExternalCameraDevice_3_4.h121 template <size_t SIZE>
124 uint32_t fourcc, const std::array<int, SIZE>& formats,
/hardware/interfaces/camera/common/default/
DCameraParameters.cpp437 const size_t SIZE = 256; in dump() local
438 char buffer[SIZE]; in dump()
/hardware/interfaces/camera/device/3.4/default/
DExternalCameraDevice.cpp590 template <size_t SIZE>
593 uint32_t fourcc, const std::array<int, SIZE>& halFormats, in initOutputCharskeysByFormat()
/hardware/interfaces/input/common/1.0/
Dtypes.hal77 SIZE = 3,
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Dsparsemem.adoc423 | TEXEL SIZE (bits) | Block Shape (2D) | Block Shape (3D)
435 | TEXEL SIZE (bits)| Block Shape (2X) | Block Shape (4X) | Block Shape (8X) …
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/asciidoctor-chunker/
Dasciidoctor-chunker.js4SIZE)&&null===r.getTokenAttr(e,a.FACE))||h[t]},t.adjustTokenMathMLAttrs=function(e){for(let t=0;t<… property