/device/google/coral/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)
|
/device/google/sunfish/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)
|
/device/google/redbull/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)
|
/device/google/cuttlefish/host/commands/secure_env/ |
D | tpm_attestation_record.cpp | 73 for (auto& entry : attestation_params) { in VerifyAndCopyDeviceIds() local 74 switch (entry.tag) { in VerifyAndCopyDeviceIds() 76 found_mismatch |= !matchAttestationId(entry.blob, ids.brand); in VerifyAndCopyDeviceIds() 77 attestation->push_back(entry); in VerifyAndCopyDeviceIds() 81 found_mismatch |= !matchAttestationId(entry.blob, ids.device); in VerifyAndCopyDeviceIds() 82 attestation->push_back(entry); in VerifyAndCopyDeviceIds() 86 found_mismatch |= !matchAttestationId(entry.blob, ids.product); in VerifyAndCopyDeviceIds() 87 attestation->push_back(entry); in VerifyAndCopyDeviceIds() 91 found_mismatch |= !matchAttestationId(entry.blob, ids.serial); in VerifyAndCopyDeviceIds() 92 attestation->push_back(entry); in VerifyAndCopyDeviceIds() [all …]
|
D | tpm_key_blob_maker.cpp | 48 for (auto& entry : key_description) { in SplitEnforcedProperties() local 49 switch (entry.tag) { in SplitEnforcedProperties() 63 hidden->push_back(entry); in SplitEnforcedProperties() 74 LOG(DEBUG) << "Tag " << entry.tag in SplitEnforcedProperties() 100 LOG(DEBUG) << "Strongbox-only tag: " << entry.tag; in SplitEnforcedProperties() 139 hw_enforced->push_back(entry); in SplitEnforcedProperties() 157 sw_enforced->push_back(entry); in SplitEnforcedProperties()
|
/device/generic/opengl-transport/host/libs/virglrenderer/ |
D | gen_entries.py | 145 for entry in entries: 182 for entry in entries: 183 ptr_name = ENTRY_PREFIX + entry.func_name 193 for entry in entries: 195 ptr_name = ENTRY_PREFIX + entry.func_name 196 if entry.return_type != "void": 209 for entry in entries: 210 ptr_name = ENTRY_PREFIX + entry.func_name 222 for entry in entries: 223 print(" " + entry.func_name) [all …]
|
/device/google/gs-common/soc/ |
D | dump_memory.cpp | 29 dirent *entry, *entry2; in iterate() local 37 while ((entry = readdir(ion.get())) != nullptr) { in iterate() 38 if(entry->d_name[0] == '.') { in iterate() 42 strcat(base, entry->d_name); in iterate() 61 dirent *entry; in main() local 75 while ((entry = readdir(cmadebug.get())) != nullptr) { in main() 76 if(entry->d_name[0] == '.') { in main() 79 …dumpFileContent("count", concat(result, concat(result, "/sys/kernel/debug/cma/", entry->d_name), "… in main() 80 …dumpFileContent("used", concat(result, concat(result, "/sys/kernel/debug/cma/", entry->d_name), "/… in main() 81 …dumpFileContent("bitmap", concat(result, concat(result, "/sys/kernel/debug/cma/", entry->d_name), … in main()
|
/device/generic/goldfish/camera/ |
D | QemuCamera.cpp | 468 camera_metadata_ro_entry_t entry; in applyMetadata() local 473 if (find_camera_metadata_ro_entry(raw, ANDROID_SENSOR_EXPOSURE_TIME, &entry)) { in applyMetadata() 476 mSensorExposureDurationNs = entry.data.i64[0]; in applyMetadata() 479 if (find_camera_metadata_ro_entry(raw, ANDROID_SENSOR_SENSITIVITY, &entry)) { in applyMetadata() 482 mSensorSensitivity = entry.data.i32[0]; in applyMetadata() 485 if (find_camera_metadata_ro_entry(raw, ANDROID_LENS_APERTURE, &entry)) { in applyMetadata() 488 mAperture = entry.data.f[0]; in applyMetadata() 492 find_camera_metadata_ro_entry(raw, ANDROID_CONTROL_AF_MODE, &entry) ? in applyMetadata() 494 static_cast<camera_metadata_enum_android_control_af_mode_t>(entry.data.u8[0]); in applyMetadata() 497 find_camera_metadata_ro_entry(raw, ANDROID_CONTROL_AF_TRIGGER, &entry) ? in applyMetadata() [all …]
|
D | HwCamera.cpp | 47 camera_metadata_ro_entry_t entry; in getFrameDuration() local 50 if (find_camera_metadata_ro_entry(metadata, ANDROID_CONTROL_AE_MODE, &entry)) { in getFrameDuration() 53 ae_mode = camera_metadata_enum_android_control_ae_mode(entry.data.i32[0]); in getFrameDuration() 57 if (find_camera_metadata_ro_entry(metadata, ANDROID_SENSOR_FRAME_DURATION, &entry)) { in getFrameDuration() 60 return std::max(std::min(entry.data.i64[0], max), min); in getFrameDuration() 63 if (find_camera_metadata_ro_entry(metadata, ANDROID_CONTROL_AE_TARGET_FPS_RANGE, &entry)) { in getFrameDuration() 66 const int fps = (entry.data.i32[0] + entry.data.i32[1]) / 2; in getFrameDuration()
|
D | FakeRotatingCamera.cpp | 796 camera_metadata_ro_entry_t entry; in applyMetadata() local 798 find_camera_metadata_ro_entry(raw, ANDROID_CONTROL_AF_MODE, &entry) ? in applyMetadata() 800 static_cast<camera_metadata_enum_android_control_af_mode_t>(entry.data.u8[0]); in applyMetadata() 803 find_camera_metadata_ro_entry(raw, ANDROID_CONTROL_AF_TRIGGER, &entry) ? in applyMetadata() 805 static_cast<camera_metadata_enum_android_control_af_trigger_t>(entry.data.u8[0]); in applyMetadata() 837 camera_metadata_ro_entry_t entry; in applyMetadata() local 840 if (find_camera_metadata_ro_entry(raw, ANDROID_CONTROL_AF_TRIGGER, &entry)) { in applyMetadata() 842 } else if (entry.data.i32[0] == newTriggerValue) { in applyMetadata() 847 if (update_camera_metadata_entry(raw, entry.index, &newTriggerValue, 1, nullptr)) { in applyMetadata() 863 camera_metadata_ro_entry_t entry; in updateCaptureResultMetadata() local [all …]
|
/device/google/zuma/dumpstate/ |
D | dump_power.cpp | 78 struct dirent *entry; in getFilesInDir() local 85 while ((entry = readdir(dir)) != NULL) in getFilesInDir() 86 files->push_back(entry->d_name); in getFilesInDir() 158 struct dirent *entry; in dumpTcpmPsyUevent() local 163 while ((entry = readdir(dir)) != NULL) { in dumpTcpmPsyUevent() 164 if (std::string::npos != std::string(entry->d_name).find(tcpmPsy)) { in dumpTcpmPsyUevent() 165 std::string fullPath("/sys/class/power_supply/" + (const std::string)entry->d_name + in dumpTcpmPsyUevent() 374 struct dirent *entry; in dumpBatteryDefend() local 384 while ((entry = readdir(dir)) != NULL) { in dumpBatteryDefend() 385 if (std::string(entry->d_name).find(config[2]) != std::string::npos && in dumpBatteryDefend() [all …]
|
/device/google/cuttlefish/host/commands/secure_env/storage/ |
D | tpm_storage.cpp | 165 for (const auto& entry : index_[kEntries]) { in GetHandle() local 166 CF_EXPECT(entry.isMember(kKey), "Index was corrupted"); in GetHandle() 167 if (entry[kKey] != key) { in GetHandle() 170 CF_EXPECT(entry.isMember(kHandle), "Index was corrupted"); in GetHandle() 171 return entry[kHandle].asUInt(); in GetHandle() 216 Json::Value entry(Json::objectValue); in Allocate() local 217 entry[kKey] = key; in Allocate() 218 entry[kHandle] = handle; in Allocate() 219 index_[kEntries].append(entry); in Allocate()
|
/device/google/cuttlefish/host/libs/process_monitor/ |
D | process_monitor.cc | 166 monitor_entries.begin(), monitor_entries.end(), [](MonitorEntry& entry) { in SuspendResumeImpl() argument 167 auto prog_name = android::base::Basename(entry.cmd->Executable()); in SuspendResumeImpl() 183 for (const auto& entry : monitor_entries) { in SuspendResumeImpl() local 184 if (!entry.cmd) { in SuspendResumeImpl() 188 if (!entry.proc) { in SuspendResumeImpl() 192 auto prog_name = android::base::Basename(entry.cmd->Executable()); in SuspendResumeImpl() 212 CF_EXPECT(entry.proc->SendSignal(SIGTSTP)); in SuspendResumeImpl() 214 CF_EXPECT(entry.proc->SendSignal(SIGCONT)); in SuspendResumeImpl() 219 CF_EXPECT(entry.proc->SendSignalToGroup(SIGTSTP)); in SuspendResumeImpl() 221 CF_EXPECT(entry.proc->SendSignalToGroup(SIGCONT)); in SuspendResumeImpl() [all …]
|
/device/google/zumapro/dumpstate/ |
D | dump_power.cpp | 80 struct dirent *entry; in getFilesInDir() local 87 while ((entry = readdir(dir)) != NULL) in getFilesInDir() 88 files->push_back(entry->d_name); in getFilesInDir() 358 struct dirent *entry; in dumpBatteryDefend() local 368 while ((entry = readdir(dir)) != NULL) { in dumpBatteryDefend() 369 if (std::string(entry->d_name).find(config[2]) != std::string::npos && in dumpBatteryDefend() 370 strncmp(config[2], entry->d_name, strlen(config[2])) == 0) { in dumpBatteryDefend() 371 files.push_back(entry->d_name); in dumpBatteryDefend() 398 struct dirent *entry; in printValuesOfDirectory() local 404 while ((entry = readdir(dir)) != NULL) in printValuesOfDirectory() [all …]
|
/device/google/contexthub/firmware/os/core/ |
D | osApi.c | 492 .entry = { in osApiExport() 504 .entry = { in osApiExport() 511 .entry = { in osApiExport() 530 .entry = { in osApiExport() 539 .entry = { in osApiExport() 547 .entry = { in osApiExport() 557 .entry = { in osApiExport() 564 .entry = { in osApiExport() 571 .entry = { in osApiExport() 585 .entry = { in osApiExport() [all …]
|
D | eventQ.c | 57 static inline void evtListDel(struct EvtList *entry) in evtListDel() argument 59 __evtListDel(entry->prev, entry->next); in evtListDel() 60 entry->next = entry->prev = NULL; in evtListDel()
|
D | nanohub_chre.c | 650 .entry = { 677 .entry = { 690 .entry = { 698 .entry = { 710 .entry = { 719 .entry = { 727 .entry = { 736 .entry = { 746 .entry = {
|
/device/google/cuttlefish/common/libs/utils/ |
D | subprocess.cpp | 65 for (const auto& entry : redirects) { in validate_redirects() local 66 int_redirects.insert(static_cast<int>(entry.first)); in validate_redirects() 68 for (const auto& entry : inherited_fds) { in validate_redirects() local 69 auto dupped_fd = entry.second; in validate_redirects() 80 for (const auto& entry : redirects) { in do_redirects() local 81 auto std_channel = static_cast<int>(entry.first); in do_redirects() 82 auto fd = entry.second; in do_redirects() 323 for (const auto& entry : inherited_fds_) { in ~Command() local 324 close(entry.second); in ~Command() 327 for (const auto& entry : redirects_) { in ~Command() local [all …]
|
D | result.h | 172 auto format(const cuttlefish::StackTraceEntry& entry, 174 return entry.format(ctx, fmt_specs_, std::nullopt); 185 StackTraceError& PushEntry(StackTraceEntry entry) & { 186 stack_.emplace_back(std::move(entry)); 189 StackTraceError PushEntry(StackTraceEntry entry) && { 190 stack_.emplace_back(std::move(entry));
|
/device/google/cuttlefish/host/frontend/webrtc/libdevice/ |
D | streamer.cpp | 419 for (auto& entry : displays_) { in OnOpen() local 421 display[kStreamIdField] = entry.first; in OnOpen() 422 display[kXResField] = entry.second.width; in OnOpen() 423 display[kYResField] = entry.second.height; in OnOpen() 424 display[kDpiField] = entry.second.dpi; in OnOpen() 442 for (auto& entry : audio_sources_) { in OnOpen() local 444 audio[kStreamIdField] = entry.first; in OnOpen() 651 for (auto& entry : displays_) { in CreateClientHandler() local 652 auto& label = entry.first; in CreateClientHandler() 653 auto& video_source = entry.second.source; in CreateClientHandler() [all …]
|
/device/google/trout/agl_services_build/yocto-layer/meta-google/recipes-trout/agl-services/ |
D | common.inc | 25 for entry in install_entries: 26 if ':' in entry: 27 src, dst = entry.split(':') 30 dst = entry
|
/device/linaro/dragonboard/shared/utils/pd-mapper/ |
D | pd-mapper.c | 61 struct servreg_loc_domain_list_entry *entry; in handle_get_domain_list() local 85 entry = &resp.domain_list[resp.domain_list_len++]; in handle_get_domain_list() 87 strcpy(entry->name, pd_map->domain); in handle_get_domain_list() 88 entry->name_len = strlen(pd_map->domain); in handle_get_domain_list() 89 entry->instance_id = pd_map->instance; in handle_get_domain_list()
|