/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
H A D | inv_sysfs_utils.c | 35 int count; local 42 count = fprintf(fp, "%ld", data); 44 return count; 57 int count; local 64 count = fread(data, 1, num_bytes, fp); 66 return count; 79 int count; local 81 count = read(fd, str, sizeof(str)); 82 if (!count) 83 return count; 106 int count; local 132 int count; local 152 int count; local 172 int count; local 192 int count; local 212 int count; local 232 int count; local 253 int count; local 274 int count = 0; local [all...] |
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
H A D | inv_sysfs_utils.c | 29 int count; local 36 count = fprintf(fp, "%ld", data); 38 return count; 51 int count; local 58 count = fread(data, 1, num_bytes, fp); 60 return count; 73 int count; local 75 count = read(fd, str, sizeof(str)); 76 if (!count) 77 return count; 100 int count; local 126 int count; local 146 int count; local 166 int count; local 186 int count; local 206 int count; local 226 int count; local 247 int count; local 268 int count = 0; local [all...] |
/hardware/interfaces/tests/msgq/1.0/ |
H A D | ITestMsgQ.hal | 55 * @param count Number to messages to write. 59 requestWriteFmqSync(int32_t count) generates(bool ret); 65 * @param count Number to messages to read. 69 requestReadFmqSync(int32_t count) generates(bool ret); 75 * @param count Number to messages to write. 79 requestWriteFmqUnsync(int32_t count) generates(bool ret); 85 * @param count Number to messages to read. 89 requestReadFmqUnsync(int32_t count) generates(bool ret); 94 * @param count Number of messages to read. 97 oneway requestBlockingRead(int32_t count); [all...] |
H A D | IBenchmarkMsgQ.hal | 42 * @param count Number to messages to write. 46 requestWrite(int32_t count) generates (bool ret); 50 * @param count Number to messages to read. 53 requestRead(int32_t count) generates (bool ret);
|
/hardware/libhardware/modules/camera/3_0/ |
H A D | Metadata.h | 34 int addUInt8(uint32_t tag, int count, const uint8_t *data); 36 int addInt32(uint32_t tag, int count, const int32_t *data); 37 int addFloat(uint32_t tag, int count, const float *data); 38 int addInt64(uint32_t tag, int count, const int64_t *data); 39 int addDouble(uint32_t tag, int count, const double *data); 40 int addRational(uint32_t tag, int count, 52 // Validate the tag, type and count for a metadata entry 53 bool validate(uint32_t tag, int tag_type, int count); 55 int add(uint32_t tag, int count, const void *tag_data);
|
H A D | Metadata.cpp | 66 int Metadata::addUInt8(uint32_t tag, int count, const uint8_t *data) argument 68 if (!validate(tag, TYPE_BYTE, count)) return -EINVAL; 69 return add(tag, count, data); 77 int Metadata::addInt32(uint32_t tag, int count, const int32_t *data) argument 79 if (!validate(tag, TYPE_INT32, count)) return -EINVAL; 80 return add(tag, count, data); 83 int Metadata::addFloat(uint32_t tag, int count, const float *data) argument 85 if (!validate(tag, TYPE_FLOAT, count)) return -EINVAL; 86 return add(tag, count, data); 89 int Metadata::addInt64(uint32_t tag, int count, cons argument 95 addDouble(uint32_t tag, int count, const double *data) argument 101 addRational(uint32_t tag, int count, const camera_metadata_rational_t *data) argument 108 validate(uint32_t tag, int tag_type, int count) argument 130 add(uint32_t tag, int count, const void *tag_data) argument [all...] |
/hardware/libhardware/modules/usbcamera/ |
H A D | Metadata.h | 34 int addUInt8(uint32_t tag, int count, const uint8_t *data); 36 int addInt32(uint32_t tag, int count, const int32_t *data); 37 int addFloat(uint32_t tag, int count, const float *data); 38 int addInt64(uint32_t tag, int count, const int64_t *data); 39 int addDouble(uint32_t tag, int count, const double *data); 40 int addRational(uint32_t tag, int count, 52 // Validate the tag, type and count for a metadata entry 53 bool validate(uint32_t tag, int tag_type, int count); 55 int add(uint32_t tag, int count, const void *tag_data);
|
H A D | Metadata.cpp | 62 int Metadata::addUInt8(uint32_t tag, int count, const uint8_t *data) { argument 63 if (!validate(tag, TYPE_BYTE, count)) return -EINVAL; 64 return add(tag, count, data); 71 int Metadata::addInt32(uint32_t tag, int count, const int32_t *data) { argument 72 if (!validate(tag, TYPE_INT32, count)) return -EINVAL; 73 return add(tag, count, data); 76 int Metadata::addFloat(uint32_t tag, int count, const float *data) { argument 77 if (!validate(tag, TYPE_FLOAT, count)) return -EINVAL; 78 return add(tag, count, data); 81 int Metadata::addInt64(uint32_t tag, int count, cons argument 86 addDouble(uint32_t tag, int count, const double *data) argument 91 addRational(uint32_t tag, int count, const camera_metadata_rational_t *data) argument 97 validate(uint32_t tag, int tag_type, int count) argument 118 add(uint32_t tag, int count, const void *tag_data) argument [all...] |
/hardware/interfaces/tests/msgq/1.0/default/ |
H A D | TestMsgQ.cpp | 61 Return<bool> TestMsgQ::requestWriteFmqSync(int32_t count) { argument 62 std::vector<uint16_t> data(count); 63 for (int i = 0; i < count; i++) { 66 bool result = mFmqSynchronized->write(&data[0], count); 70 Return<bool> TestMsgQ::requestReadFmqSync(int32_t count) { argument 71 std::vector<uint16_t> data(count); 72 bool result = mFmqSynchronized->read(&data[0], count) 73 && verifyData(&data[0], count); 77 Return<bool> TestMsgQ::requestWriteFmqUnsync(int32_t count) { argument 78 std::vector<uint16_t> data(count); 86 requestReadFmqUnsync(int32_t count) argument 93 requestBlockingRead(int32_t count) argument 108 requestBlockingReadDefaultEventFlagBits(int32_t count) argument 121 requestBlockingReadRepeat(int32_t count, int32_t numIter) argument [all...] |
H A D | TestMsgQ.h | 60 Return<bool> requestWriteFmqSync(int32_t count) override; 61 Return<bool> requestReadFmqSync(int32_t count) override; 62 Return<bool> requestWriteFmqUnsync(int32_t count) override; 63 Return<bool> requestReadFmqUnsync(int32_t count) override; 64 Return<void> requestBlockingRead(int32_t count) override; 65 Return<void> requestBlockingReadDefaultEventFlagBits(int32_t count) override; 66 Return<void> requestBlockingReadRepeat(int32_t count, int32_t numIter) override; 76 bool verifyData(uint16_t* data, int count) { argument 77 for (int i = 0; i < count; i++) {
|
H A D | BenchmarkMsgQ.cpp | 62 Return<bool> BenchmarkMsgQ::requestWrite(int32_t count) { argument 63 uint8_t* data = new (std::nothrow) uint8_t[count]; 64 for (int i = 0; i < count; i++) { 67 bool result = mFmqOutbox->write(data, count); 72 Return<bool> BenchmarkMsgQ::requestRead(int32_t count) { argument 73 uint8_t* data = new (std::nothrow) uint8_t[count]; 74 bool result = mFmqInbox->read(data, count); 105 serverSendTime).count()); 124 std::chrono::high_resolution_clock::now().time_since_epoch().count();
|
/hardware/intel/common/libwsbm/src/ |
H A D | wsbm_atomic.h | 13 int32_t count; member in struct:_WsbmAtomic 17 #define wsbmAtomicSet(_v, _i) (((_v)->count) = (_i)) 18 #define wsbmAtomicRead(_v) ((_v)->count) 24 __asm__ __volatile__("lock; incl %0; sete %1":"+m"(v->count), "=qm"(c) 35 __asm__ __volatile__("lock; addl %2,%0; sets %1":"+m"(v->count), "=qm"(c) 46 __asm__ __volatile__("lock; decl %0; sete %1":"+m"(v->count), "=qm"(c) 55 __asm__ __volatile__("lock; incl %0":"+m"(v->count)); 61 __asm__ __volatile__("lock; decl %0":"+m"(v->count)); 70 :"r"(new), "m"(v->count), "0"(old)
|
/hardware/libhardware/modules/camera/3_4/metadata/ |
H A D | enum_converter.cpp | 35 size_t count = 0; local 38 ++count; 39 if (count == 1) { 49 if (count == 0) { 52 } else if (count > 1) {
|
H A D | default_option_delegate.h | 43 if (defaults_.count(template_type) > 0) { 47 } else if (defaults_.count(OTHER_TEMPLATES)) {
|
H A D | metadata_common.h | 64 size_t count) { 65 int res = metadata->update(tag, data, count); 177 if (entry.count == 0) { 180 } else if (entry.count != 1) { 185 entry.count); 208 if (entry.count == 0) { 211 } else if (entry.count != N) { 217 entry.count); 257 if (entry.count == 0) { 267 *val = std::vector<T>(data, data + entry.count); 61 UpdateMetadata(android::CameraMetadata* metadata, int32_t tag, const T* data, size_t count) argument [all...] |
/hardware/interfaces/radio/1.0/vts/functional/ |
H A D | sap_hidl_hal_test.cpp | 26 count = 0; 35 count++; 44 while (count == 0) { 50 count--;
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/parser/ |
H A D | h264parse_bsd.c | 36 uint32_t temp = 0, match = 0, noOfBits = 0, count = 0;
local 84 count=1;
85 while(((temp & 0x80) != 0x80) && (count <= noOfBits))
87 count++;
90 //At this point we get the bit position of 1 in current byte(count).
93 leadingZeroBits += count;
109 viddec_pm_get_bits(parent, &temp, count);
121 //count = (uint8_t)((leadingZeroBits + bits_offset)& 0x7);
122 count = ((count [all...] |
/hardware/qcom/gps/msm8998/android/location_api/ |
H A D | GeofenceAPIClient.h | 62 void onAddGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final; 63 void onRemoveGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final; 64 void onPauseGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final; 65 void onResumeGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final;
|
H A D | GeofenceAPIClient.cpp | 141 LOC_LOGD("%s]: (%zu)", __FUNCTION__, geofenceBreachNotification.count); 143 for (size_t i = 0; i < geofenceBreachNotification.count; i++) { 188 void GeofenceAPIClient::onAddGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) argument 190 LOC_LOGD("%s]: (%zu)", __FUNCTION__, count); 192 for (size_t i = 0; i < count; i++) { 208 void GeofenceAPIClient::onRemoveGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) argument 210 LOC_LOGD("%s]: (%zu)", __FUNCTION__, count); 212 for (size_t i = 0; i < count; i++) { 228 void GeofenceAPIClient::onPauseGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) argument 230 LOC_LOGD("%s]: (%zu)", __FUNCTION__, count); 248 onResumeGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) argument [all...] |
/hardware/qcom/gps/sdm845/android/location_api/ |
H A D | GeofenceAPIClient.h | 62 void onAddGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final; 63 void onRemoveGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final; 64 void onPauseGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final; 65 void onResumeGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) final;
|
H A D | GeofenceAPIClient.cpp | 141 LOC_LOGD("%s]: (%zu)", __FUNCTION__, geofenceBreachNotification.count); 143 for (size_t i = 0; i < geofenceBreachNotification.count; i++) { 188 void GeofenceAPIClient::onAddGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) argument 190 LOC_LOGD("%s]: (%zu)", __FUNCTION__, count); 192 for (size_t i = 0; i < count; i++) { 208 void GeofenceAPIClient::onRemoveGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) argument 210 LOC_LOGD("%s]: (%zu)", __FUNCTION__, count); 212 for (size_t i = 0; i < count; i++) { 228 void GeofenceAPIClient::onPauseGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) argument 230 LOC_LOGD("%s]: (%zu)", __FUNCTION__, count); 248 onResumeGeofencesCb(size_t count, LocationError* errors, uint32_t* ids) argument [all...] |
/hardware/intel/common/utils/ituxd/jni/ |
H A D | thermalJNI.cpp | 51 ssize_t count = read(fd, buf, size); local 52 if (count > 0) { 53 while (count > 0 && buf[count-1] == '\n') 54 count--; 55 buf[count] = '\0'; 61 return count; 91 int count = 0; local 94 snprintf(full_path, SIZE, "%s%d/type", base_path, count); 102 if (!strcmp(name, buf)) return count; 116 int count = 0; local [all...] |
/hardware/qcom/display/msm8996/sdm/libs/utils/ |
H A D | rect.cpp | 149 for (uint32_t count = 0; count < split_count; count++) { 151 out_rects[count].left = rect_temp.left; 152 out_rects[count].right = std::min(rect_temp.right, aligned_right); 153 out_rects[count].top = rect_temp.top; 154 out_rects[count].bottom = rect_temp.bottom; 156 rect_temp.left = out_rects[count].right; 158 Log(kTagRotator, "SplitLeftRight", out_rects[count]); 179 for (uint32_t count [all...] |
/hardware/qcom/display/msm8998/sdm/libs/utils/ |
H A D | rect.cpp | 149 for (uint32_t count = 0; count < split_count; count++) { 151 out_rects[count].left = rect_temp.left; 152 out_rects[count].right = std::min(rect_temp.right, aligned_right); 153 out_rects[count].top = rect_temp.top; 154 out_rects[count].bottom = rect_temp.bottom; 156 rect_temp.left = out_rects[count].right; 158 Log(kTagRotator, "SplitLeftRight", out_rects[count]); 179 for (uint32_t count [all...] |
/hardware/qcom/display/sdm845/sdm/libs/utils/ |
H A D | rect.cpp | 149 for (uint32_t count = 0; count < split_count; count++) { 151 out_rects[count].left = rect_temp.left; 152 out_rects[count].right = std::min(rect_temp.right, aligned_right); 153 out_rects[count].top = rect_temp.top; 154 out_rects[count].bottom = rect_temp.bottom; 156 rect_temp.left = out_rects[count].right; 158 Log(kTagRotator, "SplitLeftRight", out_rects[count]); 179 for (uint32_t count [all...] |