/hardware/intel/common/wrs_omxil_core/utils/src/ |
D | queue.c | 54 void __queue_push_head(struct queue *queue, struct list *entry) in __queue_push_head() argument 56 queue->head = __list_add_head(queue->head, entry); in __queue_push_head() 65 struct list *entry = list_alloc(data); in queue_push_head() local 67 if (!entry) in queue_push_head() 70 queue->head = __list_add_head(queue->head, entry); in queue_push_head() 79 void __queue_push_tail(struct queue *queue, struct list *entry) in __queue_push_tail() argument 81 queue->tail = list_add_tail(queue->tail, entry); in __queue_push_tail() 95 struct list *entry = list_alloc(data); in queue_push_tail() local 97 if (!entry) in queue_push_tail() 100 queue->tail = __list_add_tail(queue->tail, entry); in queue_push_tail() [all …]
|
D | list.c | 23 void __list_init(struct list *entry) in __list_init() argument 25 if (entry) { in __list_init() 26 entry->prev = NULL; in __list_init() 27 entry->next = NULL; in __list_init() 28 entry->data = NULL; in __list_init() 53 void __list_free(struct list *entry) in __list_free() argument 55 free(entry); in __list_free() 87 struct list *entry; in __list_entry() local 90 list_foreach(list, entry) { in __list_entry() 96 return entry; in __list_entry() [all …]
|
/hardware/interfaces/gnss/1.0/default/ |
D | GnssMeasurement.cpp | 53 auto entry = legacyGnssData->measurements[i]; in gnssMeasurementCb() local 54 auto state = static_cast<GnssMeasurementState>(entry.state); in gnssMeasurementCb() 62 .flags = entry.flags, in gnssMeasurementCb() 63 .svid = entry.svid, in gnssMeasurementCb() 64 .constellation = static_cast<GnssConstellationType>(entry.constellation), in gnssMeasurementCb() 65 .timeOffsetNs = entry.time_offset_ns, in gnssMeasurementCb() 67 .receivedSvTimeInNs = entry.received_sv_time_in_ns, in gnssMeasurementCb() 68 .receivedSvTimeUncertaintyInNs = entry.received_sv_time_uncertainty_in_ns, in gnssMeasurementCb() 69 .cN0DbHz = entry.c_n0_dbhz, in gnssMeasurementCb() 70 .pseudorangeRateMps = entry.pseudorange_rate_mps, in gnssMeasurementCb() [all …]
|
/hardware/libhardware/modules/camera/3_4/arc/ |
D | exif_utils.cpp | 20 inline void operator()(ExifEntry* entry) const { exif_entry_unref(entry); } in operator ()() 92 std::unique_ptr<ExifEntry> entry = AddVariableLengthEntry( in SetMaker() local 94 if (!entry) { in SetMaker() 98 memcpy(entry->data, maker.c_str(), entrySize); in SetMaker() 104 std::unique_ptr<ExifEntry> entry = AddVariableLengthEntry( in SetModel() local 106 if (!entry) { in SetModel() 110 memcpy(entry->data, model.c_str(), entrySize); in SetModel() 124 std::unique_ptr<ExifEntry> entry = in SetDateTime() local 127 if (!entry) { in SetDateTime() 131 memcpy(entry->data, str, sizeof(str)); in SetDateTime() [all …]
|
D | image_processor.cpp | 353 camera_metadata_ro_entry entry; in ConvertToJpeg() local 356 entry = metadata.find(ANDROID_JPEG_QUALITY); in ConvertToJpeg() 357 jpeg_quality = entry.data.u8[0]; in ConvertToJpeg() 364 entry = metadata.find(ANDROID_JPEG_THUMBNAIL_QUALITY); in ConvertToJpeg() 365 thumbnail_jpeg_quality = entry.data.u8[0]; in ConvertToJpeg() 407 camera_metadata_ro_entry entry = metadata.find(ANDROID_LENS_FOCAL_LENGTH); in SetExifTags() local 408 if (entry.count) { in SetExifTags() 409 focal_length = entry.data.f[0]; in SetExifTags() 422 entry = metadata.find(ANDROID_JPEG_GPS_COORDINATES); in SetExifTags() 423 if (entry.count < 3) { in SetExifTags() [all …]
|
/hardware/libhardware/modules/camera/3_4/metadata/ |
D | metadata_common.h | 123 static void GetDataPointer(camera_metadata_ro_entry_t& entry, in GetDataPointer() argument 125 *val = entry.data.u8; in GetDataPointer() 128 static void GetDataPointer(camera_metadata_ro_entry_t& entry, in GetDataPointer() argument 130 *val = entry.data.i32; in GetDataPointer() 133 static void GetDataPointer(camera_metadata_ro_entry_t& entry, in GetDataPointer() argument 135 *val = entry.data.f; in GetDataPointer() 138 static void GetDataPointer(camera_metadata_ro_entry_t& entry, in GetDataPointer() argument 140 *val = entry.data.i64; in GetDataPointer() 143 static void GetDataPointer(camera_metadata_ro_entry_t& entry, in GetDataPointer() argument 145 *val = entry.data.d; in GetDataPointer() [all …]
|
D | test_common.h | 38 camera_metadata_ro_entry_t entry = metadata.find(tag); in ExpectMetadataEq() local 39 ASSERT_EQ(entry.count, size); in ExpectMetadataEq() 41 GetDataPointer(entry, &data); in ExpectMetadataEq()
|
/hardware/interfaces/camera/common/1.0/default/ |
D | CameraModule.cpp | 47 camera_metadata_entry entry = chars.find(ANDROID_CONTROL_AVAILABLE_SCENE_MODES); in deriveCameraCharacteristicsKeys() local 48 if (entry.count > 1 || entry.data.u8[0] != ANDROID_CONTROL_SCENE_MODE_DISABLED) { in deriveCameraCharacteristicsKeys() 56 entry = chars.find(ANDROID_CONTROL_AE_AVAILABLE_MODES); in deriveCameraCharacteristicsKeys() 57 if (entry.count > 0) { in deriveCameraCharacteristicsKeys() 58 for (size_t i = 0; i < entry.count; i++) { in deriveCameraCharacteristicsKeys() 59 if (entry.data.u8[i] == ANDROID_CONTROL_AE_MODE_OFF) { in deriveCameraCharacteristicsKeys() 65 entry = chars.find(ANDROID_CONTROL_AF_AVAILABLE_MODES); in deriveCameraCharacteristicsKeys() 66 if (entry.count > 0) { in deriveCameraCharacteristicsKeys() 67 for (size_t i = 0; i < entry.count; i++) { in deriveCameraCharacteristicsKeys() 68 if (entry.data.u8[i] == ANDROID_CONTROL_AF_MODE_OFF) { in deriveCameraCharacteristicsKeys() [all …]
|
D | Exif.cpp | 39 inline void operator()(ExifEntry* entry) const { exif_entry_unref(entry); } in operator ()() 521 std::unique_ptr<ExifEntry> entry = addVariableLengthEntry( in setGpsAltitude() local 523 if (!entry) { in setGpsAltitude() 528 exif_set_rational(entry->data, EXIF_BYTE_ORDER_INTEL, in setGpsAltitude() 550 std::unique_ptr<ExifEntry> entry = addVariableLengthEntry( in setGpsLatitude() local 552 if (!entry) { in setGpsLatitude() 557 setLatitudeOrLongitudeData(entry->data, latitude); in setGpsLatitude() 578 std::unique_ptr<ExifEntry> entry = addVariableLengthEntry( in setGpsLongitude() local 580 if (!entry) { in setGpsLongitude() 585 setLatitudeOrLongitudeData(entry->data, longitude); in setGpsLongitude() [all …]
|
D | CameraMetadata.cpp | 282 status_t CameraMetadata::update(const camera_metadata_ro_entry &entry) { in update() argument 288 if ( (res = checkType(entry.tag, entry.type)) != OK) { in update() 291 return updateImpl(entry.tag, (const void*)entry.data.u8, entry.count); in update() 323 camera_metadata_entry_t entry; in updateImpl() local 324 res = find_camera_metadata_entry(mBuffer, tag, &entry); in updateImpl() 330 entry.index, data, data_count, NULL); in updateImpl() 352 camera_metadata_ro_entry entry; in exists() local 353 return find_camera_metadata_ro_entry(mBuffer, tag, &entry) == 0; in exists() 358 camera_metadata_entry entry; in find() local 361 entry.count = 0; in find() [all …]
|
/hardware/qcom/msm8998/json-c/ |
D | json_object.h | 72 struct lh_entry *entry; member 349 for(struct lh_entry *entry ## key = json_object_get_object(obj)->head, *entry_next ## key = NULL; \ 350 ({ if(entry ## key) { \ 351 key = (char*)entry ## key->k; \ 352 val = (struct json_object*)entry ## key->v; \ 353 entry_next ## key = entry ## key->next; \ 354 } ; entry ## key; }); \ 355 entry ## key = entry_next ## key ) 362 struct lh_entry *entry ## key; \ 364 for(entry ## key = json_object_get_object(obj)->head; \ [all …]
|
D | linkhash.h | 159 #define lh_foreach(table, entry) \ argument 160 for(entry = table->head; entry; entry = entry->next) 165 #define lh_foreach_safe(table, entry, tmp) \ argument 166 for(entry = table->head; entry && ((tmp = entry->next) || 1); entry = tmp)
|
/hardware/intel/common/libwsbm/src/ |
D | wsbm_mm.c | 57 struct _WsbmMMNode *entry; in wsbmMMTailSpace() local 60 entry = WSBMLISTENTRY(tail_node, struct _WsbmMMNode, ml_entry); in wsbmMMTailSpace() 62 if (!entry->free) in wsbmMMTailSpace() 65 return entry->size; in wsbmMMTailSpace() 72 struct _WsbmMMNode *entry; in wsbmMMRemoveSpaceFromTail() local 75 entry = WSBMLISTENTRY(tail_node, struct _WsbmMMNode, ml_entry); in wsbmMMRemoveSpaceFromTail() 77 if (!entry->free) in wsbmMMRemoveSpaceFromTail() 80 if (entry->size <= size) in wsbmMMRemoveSpaceFromTail() 83 entry->size -= size; in wsbmMMRemoveSpaceFromTail() 220 struct _WsbmMMNode *entry; in wsbmMMSearchFree() local [all …]
|
/hardware/libhardware/tests/camera3/ |
D | camera3tests.cpp | 36 camera_metadata_entry entry; in TEST_F() local 40 ANDROID_SENSOR_INFO_PIXEL_ARRAY_SIZE, &entry)) in TEST_F() 42 int pixel_array_w = entry.data.i32[0]; in TEST_F() 43 int pixel_array_h = entry.data.i32[1]; in TEST_F() 48 ANDROID_SENSOR_INFO_ACTIVE_ARRAY_SIZE, &entry)) in TEST_F() 50 int active_array_w = entry.data.i32[0]; in TEST_F() 51 int active_array_h = entry.data.i32[1]; in TEST_F() 64 camera_metadata_entry entry; in TEST_F() local 67 ANDROID_CONTROL_MODE, &entry)) in TEST_F()
|
/hardware/intel/common/wrs_omxil_core/core/src/ |
D | wrs_omxcore.cpp | 65 struct list *entry; in construct_components() local 88 entry = list_alloc(cmodule); in construct_components() 89 if (!entry) in construct_components() 91 head = __list_add_tail(head, entry); in construct_components() 111 struct list *entry, *next; in destruct_components() local 113 list_foreach_safe(head, entry, next) { in destruct_components() 114 CModule *cmodule = static_cast<CModule *>(entry->data); in destruct_components() 116 head = __list_delete(head, entry); in destruct_components() 170 struct list *entry; in OMX_ComponentNameEnum() local 174 entry = __list_entry(g_module_list, nIndex); in OMX_ComponentNameEnum() [all …]
|
/hardware/intel/common/wrs_omxil_core/utils/inc/ |
D | list.h | 61 #define __list_next(entry) ((entry) ? (entry->next) : NULL) argument 62 #define __list_prev(entry) ((entry) ? (entry->prev) : NULL) argument
|
D | queue.h | 41 void __queue_push_head(struct queue *queue, struct list *entry); 43 void __queue_push_tail(struct queue *queue, struct list *entry);
|
/hardware/libhardware/tests/input/evdev/ |
D | TestHelpers.cpp | 76 while (auto entry = readdir(tmpDir)) { in ~TempDir() local 77 if (strcmp(entry->d_name, ".") == 0 || in ~TempDir() 78 strcmp(entry->d_name, "..") == 0) { in ~TempDir() 81 ALOGD("stale file %s, removing", entry->d_name); in ~TempDir() 82 unlink(entry->d_name); in ~TempDir()
|
/hardware/interfaces/drm/1.0/default/include/ |
D | PluginLoader.h | 35 PluginLoader(const char *dir, const char *entry) { in PluginLoader() argument 51 T *plugin = loadOne(path, entry); in PluginLoader() 74 T* loadOne(const char *path, const char *entry) { in loadOne() argument 82 (CreateFactoryFunc)library->lookup(entry); in loadOne() 84 ALOGV("Found plugin factory entry %s in %s", entry, path); in loadOne()
|
/hardware/libhardware/modules/camera/3_0/ |
D | VendorTags.cpp | 176 const Entry* entry = getEntry(tag); in getTagName() local 178 if (entry == NULL) in getTagName() 181 return entry->name; in getTagName() 186 const Entry* entry = getEntry(tag); in getTagType() local 188 if (entry == NULL) in getTagType() 191 return entry->type; in getTagType()
|
/hardware/interfaces/drm/1.0/vts/functional/ |
D | vendor_modules.cpp | 40 struct dirent* entry; in scanModules() local 41 while ((entry = readdir(dir))) { in scanModules() 42 ALOGD("checking file %s", entry->d_name); in scanModules() 43 string fullpath = directory + "/" + entry->d_name; in scanModules()
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
D | IPACM_Conntrack_NATApp.cpp | 406 IOffloadManager::ConntrackTimeoutUpdater::natTimeoutUpdate_t entry; in UpdateCTUdpTs() local 490 entry.proto = IOffloadManager::ConntrackTimeoutUpdater::UDP;; in UpdateCTUdpTs() 494 entry.proto = IOffloadManager::ConntrackTimeoutUpdater::TCP; in UpdateCTUdpTs() 499 entry.src.ipAddr = htonl(rule->private_ip); in UpdateCTUdpTs() 500 entry.src.port = rule->private_port; in UpdateCTUdpTs() 501 entry.dst.ipAddr = htonl(rule->target_ip); in UpdateCTUdpTs() 502 entry.dst.port = rule->target_port; in UpdateCTUdpTs() 507 entry.src.ipAddr = htonl(rule->target_ip); in UpdateCTUdpTs() 508 entry.src.port = rule->target_port; in UpdateCTUdpTs() 509 entry.dst.ipAddr = htonl(pub_ip_addr); in UpdateCTUdpTs() [all …]
|
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/ |
D | authorization_set.h | 166 auto entry = authorizationValue(ttag, param); in Contains() local 167 if (entry.isOk() && static_cast<ValueT>(entry.value()) == value) return true; in Contains() 178 auto entry = GetEntry(tag); in GetTagValue() local 179 if (entry.isOk()) return authorizationValue(tag, entry.value()); in GetTagValue() 186 for (auto& entry : set) { in push_back() 187 push_back(entry); in push_back() 251 for (const auto& entry : set) { in Authorizations() local 252 push_back(entry); in Authorizations()
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | storage_manager.c | 129 int entry; in inv_load_mpl_states() local 151 entry = inv_find_entry(hd->key); in inv_load_mpl_states() 154 if (entry >= 0 && len >= hd->size) { in inv_load_mpl_states() 155 if (hd->size != ds.hd[entry].size) in inv_load_mpl_states() 160 ds.load[entry](data); in inv_load_mpl_states()
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
D | storage_manager.c | 129 int entry; in inv_load_mpl_states() local 151 entry = inv_find_entry(hd->key); in inv_load_mpl_states() 154 if (entry >= 0 && len >= hd->size) { in inv_load_mpl_states() 155 if (hd->size != ds.hd[entry].size) in inv_load_mpl_states() 160 ds.load[entry](data); in inv_load_mpl_states()
|