/aosp12/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
H A D | inv_sysfs_utils.c | 29 int count; in inv_sysfs_write() local 38 return count; in inv_sysfs_write() 51 int count; in inv_sysfs_read() local 73 int count; in inv_read_buffer() local 76 if (!count) in inv_read_buffer() 100 int count; in inv_read_raw() local 126 int count; in inv_read_temperature_raw() local 146 int count; in inv_read_fifo_rate() local 166 int count; in inv_read_power_state() local 186 int count; in inv_read_scale() local [all …]
|
/aosp12/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
H A D | inv_sysfs_utils.c | 35 int count; in inv_sysfs_write() local 44 return count; in inv_sysfs_write() 57 int count; in inv_sysfs_read() local 79 int count; in inv_read_buffer() local 82 if (!count) in inv_read_buffer() 106 int count; in inv_read_raw() local 132 int count; in inv_read_temperature_raw() local 152 int count; in inv_read_fifo_rate() local 172 int count; in inv_read_power_state() local 192 int count; in inv_read_scale() local [all …]
|
/aosp12/system/media/audio_utils/ |
H A D | primitives.c | 32 for (; count > 0; --count) { in memcpy_to_i16_from_q4_27() 41 for (; count > 0; --count) { in memcpy_to_i16_from_u8() 48 for (; count > 0; --count) { in memcpy_to_u8_from_i16() 55 for (; count > 0; --count) { in memcpy_to_u8_from_p24() 67 for (; count > 0; --count) { in memcpy_to_u8_from_i32() 74 for (; count > 0; --count) { in memcpy_to_u8_from_q8_23() 81 for (; count > 0; --count) { in memcpy_to_u8_from_float() 88 for (; count > 0; --count) { in memcpy_to_i16_from_i32() 95 for (; count > 0; --count) { in memcpy_to_i16_from_float() 102 for (; count > 0; --count) { in memcpy_to_float_from_q4_27() [all …]
|
H A D | format.c | 22 const void *src, audio_format_t src_format, size_t count) in memcpy_by_audio_format() argument 46 memcpy_to_i16_from_float((int16_t*)dst, (float*)src, count); in memcpy_by_audio_format() 49 memcpy_to_i16_from_u8((int16_t*)dst, (uint8_t*)src, count); in memcpy_by_audio_format() 52 memcpy_to_i16_from_p24((int16_t*)dst, (uint8_t*)src, count); in memcpy_by_audio_format() 70 memcpy_to_float_from_u8((float*)dst, (uint8_t*)src, count); in memcpy_by_audio_format() 204 audio_format_t format, size_t count) { in accumulate_by_audio_format() argument 207 accumulate_i16((int16_t *)dst, (const int16_t *)src, count); in accumulate_by_audio_format() 210 accumulate_float((float *)dst, (const float *)src, count); in accumulate_by_audio_format() 213 accumulate_u8((uint8_t *)dst, (const uint8_t *)src, count); in accumulate_by_audio_format() 216 accumulate_p24((uint8_t *)dst, (const uint8_t *)src, count); in accumulate_by_audio_format() [all …]
|
/aosp12/frameworks/av/media/libaudioclient/tests/ |
H A D | record_test_output_v1.0_ref_walleye.txt | 7 frame count(4800), req. frame count(4800) 16 frame count(4800), req. frame count(4800) 25 frame count(4800), req. frame count(4800) 34 frame count(4800), req. frame count(4800) 43 frame count(4410), req. frame count(4410) 52 frame count(4410), req. frame count(4410) 61 frame count(4410), req. frame count(4410) 70 frame count(4800), req. frame count(4800) 79 frame count(4800), req. frame count(4800) 88 frame count(4800), req. frame count(4800) [all …]
|
H A D | track_test_output_v1.0_ref_walleye.txt | 8 frame count(4800), req. frame count(4800) 19 frame count(4800), req. frame count(4800) 30 frame count(4800), req. frame count(4800) 41 frame count(4800), req. frame count(4800) 52 frame count(4410), req. frame count(4410) 63 frame count(4410), req. frame count(4410) 74 frame count(4410), req. frame count(4410) 85 frame count(4800), req. frame count(4800) 96 frame count(4800), req. frame count(4800) 107 frame count(4800), req. frame count(4800) [all …]
|
/aosp12/system/bt/gd/common/ |
H A D | observer_registry_test.cc | 39 (*count)++; in Increment() 43 (*count) += n; in IncrementBy() 47 int count = 0; in TEST_F() local 50 EXPECT_EQ(count, 1); in TEST_F() 52 EXPECT_EQ(count, 2); in TEST_F() 54 EXPECT_EQ(count, 3); in TEST_F() 59 int count = 0; in TEST_F() local 63 EXPECT_EQ(count, 0); in TEST_F() 67 int count = 0; in TEST_F() local 91 int count = 0; in TEST_F() local [all …]
|
/aosp12/hardware/google/graphics/common/libhwjpeg/ |
H A D | IFDWriter.h | 133 if (count > IFD_VALOFF_SIZE) { in WriteByte() 189 if (count > IFD_VALOFF_SIZE) { in WriteASCII() 191 memcpy(m_pValue, value, count); in WriteASCII() 192 m_pValue[count - 1] = '\0'; in WriteASCII() 193 m_pValue += count; in WriteASCII() 207 if (count > IFD_VALOFF_SIZE) { in WriteCString() 210 m_pValue[count - 1] = '\0'; in WriteCString() 211 m_pValue += count; in WriteCString() 218 while (i++ < count) in WriteCString() 261 if (count > IFD_VALOFF_SIZE) { in WriteUndef() [all …]
|
/aosp12/bionic/libc/arch-arm64/generic/bionic/ |
H A D | memset.S | 89 cmp count, dst 106 cmp count, 96 108 cmp count, 16 153 cmp count, 256 163 subs count, count, 64 192 subs count, count, 64 215 subs count, count, 128 238 subs count, count, 64 242 subs count, count, zva_len 246 subs count, count, zva_len [all …]
|
/aosp12/art/benchmark/string-indexof/src/ |
H A D | StringIndexOfBenchmark.java | 20 public void timeIndexOf0(int count) { in timeIndexOf0() argument 23 for (int i = 0; i < count; ++i) { in timeIndexOf0() 28 public void timeIndexOf1(int count) { in timeIndexOf1() argument 31 for (int i = 0; i < count; ++i) { in timeIndexOf1() 36 public void timeIndexOf2(int count) { in timeIndexOf2() argument 39 for (int i = 0; i < count; ++i) { in timeIndexOf2() 44 public void timeIndexOf3(int count) { in timeIndexOf3() argument 47 for (int i = 0; i < count; ++i) { in timeIndexOf3() 52 public void timeIndexOf4(int count) { in timeIndexOf4() argument 55 for (int i = 0; i < count; ++i) { in timeIndexOf4() [all …]
|
/aosp12/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | TraceTest.java | 43 int count = 0; in testNativeTracingFromJava() local 117 int count = 0; in aMethod() local 127 return count; in aMethod() 135 int count = 0; in bMethod() local 139 return count; in bMethod() 147 int count = 0; in cMethod() local 151 return count; in cMethod() 159 int count = 0; in dMethod() local 176 return count; in eMethod() 185 return count; in fMethod() [all …]
|
/aosp12/hardware/libhardware/modules/usbcamera/ |
H A D | Metadata.cpp | 65 if (!validate(tag, TYPE_BYTE, count)) return -EINVAL; in addUInt8() 66 return add(tag, count, data); in addUInt8() 74 if (!validate(tag, TYPE_INT32, count)) return -EINVAL; in addInt32() 75 return add(tag, count, data); in addInt32() 80 return add(tag, count, data); in addFloat() 85 return add(tag, count, data); in addInt64() 90 return add(tag, count, data); in addDouble() 93 int Metadata::addRational(uint32_t tag, int count, in addRational() argument 96 return add(tag, count, data); in addRational() 113 if (count < 1) { in validate() [all …]
|
/aosp12/hardware/libhardware/modules/camera/3_0/ |
H A D | Metadata.cpp | 70 if (!validate(tag, TYPE_BYTE, count)) return -EINVAL; in addUInt8() 71 return add(tag, count, data); in addUInt8() 81 if (!validate(tag, TYPE_INT32, count)) return -EINVAL; in addInt32() 82 return add(tag, count, data); in addInt32() 88 return add(tag, count, data); in addFloat() 94 return add(tag, count, data); in addInt64() 100 return add(tag, count, data); in addDouble() 103 int Metadata::addRational(uint32_t tag, int count, in addRational() argument 107 return add(tag, count, data); in addRational() 125 if (count < 1) { in validate() [all …]
|
/aosp12/hardware/interfaces/tests/msgq/1.0/default/ |
H A D | TestMsgQ.cpp | 68 std::vector<int32_t> data(count); in requestWriteFmqSync() 69 for (int i = 0; i < count; i++) { in requestWriteFmqSync() 77 std::vector<int32_t> data(count); in requestReadFmqSync() 84 std::vector<int32_t> data(count); in requestWriteFmqUnsync() 85 for (int i = 0; i < count; i++) { in requestWriteFmqUnsync() 93 std::vector<int32_t> data(count); in requestReadFmqUnsync() 95 mFmqUnsynchronized->read(&data[0], count) && verifyData(&data[0], count); in requestReadFmqUnsync() 100 std::vector<int32_t> data(count); in requestBlockingRead() 103 count, in requestBlockingRead() 118 count); in requestBlockingReadDefaultEventFlagBits() [all …]
|
/aosp12/art/test/1953-pop-frame/ |
H A D | expected-stdout.txt | 3 result is StandardTestObject { cnt: 2 } base-call count: 1 9 result is SynchronizedTestObject { cnt: 2 } base-call count: 1 12 result is StandardTestObject { cnt: 2 } base-call count: 1 21 result is StandardTestObject { cnt: 1 } base-call count: 1 24 result is StandardTestObject { cnt: 1 } base-call count: 1 27 result is StandardTestObject { cnt: 2 } base-call count: 1 30 result is StandardTestObject { cnt: 1 } base-call count: 1 63 result is SuspendSuddenlyObject { cnt: 2 } base-call count: 1 75 result is NativeCalledObject { cnt: 1 } base-call count: 1 84 result is NativeCallerObject { cnt: 1 } base-call count: 1 [all …]
|
/aosp12/system/media/audio_utils/include/audio_utils/ |
H A D | primitives.h | 528 size_t nonZeroMono32(const int32_t *samples, size_t count); 533 size_t nonZeroMono16(const int16_t *samples, size_t count); 539 size_t nonZeroStereo32(const int32_t *frames, size_t count); 545 size_t nonZeroStereo16(const int16_t *frames, size_t count); 605 const int8_t *idxary, size_t sample_size, size_t count); 684 void accumulate_i16(int16_t *dst, const int16_t *src, size_t count); 696 void accumulate_u8(uint8_t *dst, const uint8_t *src, size_t count); 708 void accumulate_p24(uint8_t *dst, const uint8_t *src, size_t count); 720 void accumulate_q8_23(int32_t *dst, const int32_t *src, size_t count); 732 void accumulate_i32(int32_t *dst, const int32_t *src, size_t count); [all …]
|
/aosp12/art/test/1954-pop-frame-jit/ |
H A D | expected-stdout.txt | 3 result is StandardTestObject { cnt: 2 } base-call count: 1 9 result is SynchronizedTestObject { cnt: 2 } base-call count: 1 12 result is StandardTestObject { cnt: 2 } base-call count: 1 21 result is StandardTestObject { cnt: 1 } base-call count: 1 24 result is StandardTestObject { cnt: 1 } base-call count: 1 27 result is StandardTestObject { cnt: 2 } base-call count: 1 30 result is StandardTestObject { cnt: 1 } base-call count: 1 39 result is StandardTestObject { cnt: 2 } base-call count: 1 42 result is StandardTestObject { cnt: 1 } base-call count: 1 109 result is NativeCalledObject { cnt: 1 } base-call count: 1 [all …]
|
/aosp12/art/test/1955-pop-frame-jit-called/ |
H A D | expected-stdout.txt | 3 result is StandardTestObject { cnt: 2 } base-call count: 1 9 result is SynchronizedTestObject { cnt: 2 } base-call count: 1 12 result is StandardTestObject { cnt: 2 } base-call count: 1 21 result is StandardTestObject { cnt: 1 } base-call count: 1 24 result is StandardTestObject { cnt: 1 } base-call count: 1 27 result is StandardTestObject { cnt: 2 } base-call count: 1 30 result is StandardTestObject { cnt: 1 } base-call count: 1 39 result is StandardTestObject { cnt: 2 } base-call count: 1 42 result is StandardTestObject { cnt: 1 } base-call count: 1 109 result is NativeCalledObject { cnt: 1 } base-call count: 1 [all …]
|
/aosp12/art/test/1956-pop-frame-jit-calling/ |
H A D | expected-stdout.txt | 3 result is StandardTestObject { cnt: 2 } base-call count: 1 9 result is SynchronizedTestObject { cnt: 2 } base-call count: 1 12 result is StandardTestObject { cnt: 2 } base-call count: 1 21 result is StandardTestObject { cnt: 1 } base-call count: 1 24 result is StandardTestObject { cnt: 1 } base-call count: 1 27 result is StandardTestObject { cnt: 2 } base-call count: 1 30 result is StandardTestObject { cnt: 1 } base-call count: 1 39 result is StandardTestObject { cnt: 2 } base-call count: 1 42 result is StandardTestObject { cnt: 1 } base-call count: 1 109 result is NativeCalledObject { cnt: 1 } base-call count: 1 [all …]
|
/aosp12/bionic/libc/include/bits/fortify/ |
H A D | unistd.h | 90 __error_if_overflows_ssizet(count, pread) in pread() 95 if (!__bos_trivially_ge_no_overflow(bos, count)) { in pread() 106 __error_if_overflows_ssizet(count, pread64) in pread64() 115 return __pread64_real(fd, buf, count, offset); in pread64() 122 __error_if_overflows_ssizet(count, pwrite) in pwrite() 138 __error_if_overflows_ssizet(count, pwrite64) in pwrite64() 147 return __pwrite64_real(fd, buf, count, offset); in pwrite64() 153 __error_if_overflows_ssizet(count, read) in read() 159 return __read_chk(fd, buf, count, bos); in read() 168 __error_if_overflows_ssizet(count, write) in write() [all …]
|
/aosp12/system/media/audio_utils/benchmarks/ |
H A D | primitives_benchmark.cpp | 30 std::vector<float> src(count); in BM_MemcpyToFloatFromFloatWithClamping() 31 std::vector<float> dst(count); in BM_MemcpyToFloatFromFloatWithClamping() 35 std::minstd_rand gen(count); in BM_MemcpyToFloatFromFloatWithClamping() 61 std::vector<float> src(count); in BM_MemcpyFloat() 62 std::vector<float> dst(count); in BM_MemcpyFloat() 65 std::minstd_rand gen(count); in BM_MemcpyFloat() 90 std::vector<int16_t> src(count); in BM_MemcpyToFloatFromI16() 91 std::vector<float> dst(count); in BM_MemcpyToFloatFromI16() 94 std::minstd_rand gen(count); in BM_MemcpyToFloatFromI16() 117 std::vector<float> src(count); in BM_MemcpyToI16FromFloat() [all …]
|
/aosp12/frameworks/av/media/mtp/ |
H A D | MtpDataPacket.cpp | 49 return read_count == count ? count : -1; in readExactBytes() 123 uint32_t count; in getAInt8() local 139 uint32_t count; in getAUInt8() local 155 uint32_t count; in getAInt16() local 171 uint32_t count; in getAUInt16() local 187 uint32_t count; in getAInt32() local 203 uint32_t count; in getAUInt32() local 219 uint32_t count; in getAInt64() local 235 uint32_t count; in getAUInt64() local 428 int count = 0; in putString() local [all …]
|
/aosp12/frameworks/base/core/java/android/os/health/ |
H A D | HealthStats.java | 132 int count; in HealthStats() local 138 count = in.readInt(); in HealthStats() 139 mTimerKeys = new int[count]; in HealthStats() 142 for (int i=0; i<count; i++) { in HealthStats() 149 count = in.readInt(); in HealthStats() 152 for (int i=0; i<count; i++) { in HealthStats() 158 count = in.readInt(); in HealthStats() 159 mStatsKeys = new int[count]; in HealthStats() 161 for (int i=0; i<count; i++) { in HealthStats() 167 count = in.readInt(); in HealthStats() [all …]
|
/aosp12/system/libfmq/tests/aidl/default/ |
H A D | TestAidlMsgQ.cpp | 70 std::vector<int32_t> data(count); in requestBlockingRead() 82 std::vector<int32_t> data(count); in requestBlockingReadDefaultEventFlagBits() 93 std::vector<int32_t> data(count); in requestBlockingReadRepeat() 109 std::vector<int32_t> data(count); in requestReadFmqSync() 110 bool result = mFmqSynchronized->read(&data[0], count) && verifyData(&data[0], count); in requestReadFmqSync() 116 std::vector<int32_t> data(count); in requestReadFmqUnsync() 117 bool result = mFmqUnsynchronized->read(&data[0], count) && verifyData(&data[0], count); in requestReadFmqUnsync() 123 std::vector<int32_t> data(count); in requestWriteFmqSync() 124 for (int i = 0; i < count; i++) { in requestWriteFmqSync() 133 std::vector<int32_t> data(count); in requestWriteFmqUnsync() [all …]
|
/aosp12/bionic/libc/bionic/ |
H A D | fortify.cpp | 108 return fread(buf, size, count, stream); in __fread_chk() 118 return fwrite(buf, size, count, stream); in __fwrite_chk() 178 return pread64(fd, buf, count, offset); in __pread64_chk() 182 __check_count("pread", "count", count); in __pread_chk() 184 return pread(fd, buf, count, offset); in __pread_chk() 198 return pwrite(fd, buf, count, offset); in __pwrite_chk() 202 __check_count("read", "count", count); in __read_chk() 204 return read(fd, buf, count); in __read_chk() 451 return write(fd, buf, count); in __write_chk() 497 return memcpy(dst, src, count); in __memcpy_chk() [all …]
|