Home
last modified time | relevance | path

Searched refs:entry (Results 1 – 25 of 69) sorted by relevance

123

/device/generic/goldfish/camera/
DExif.cpp62 ExifEntry* entry = exif_content_get_entry(exifData->ifd[ifd], in removeExistingEntry() local
64 if (entry) { in removeExistingEntry()
65 exif_content_remove_entry(exifData->ifd[ifd], entry); in removeExistingEntry()
73 ExifEntry* entry = exif_entry_new_mem(mem); in allocateEntry() local
76 entry->data = reinterpret_cast<unsigned char*>(exif_mem_alloc(mem, size)); in allocateEntry()
77 entry->size = size; in allocateEntry()
78 entry->tag = static_cast<ExifTag>(tag); in allocateEntry()
79 entry->components = numComponents; in allocateEntry()
80 entry->format = format; in allocateEntry()
83 return entry; in allocateEntry()
[all …]
DEmulatedFakeCamera3.cpp888 camera_metadata_entry_t entry; in processCaptureRequest() local
889 entry = settings.find(ANDROID_SENSOR_EXPOSURE_TIME); in processCaptureRequest()
890 exposureTime = (entry.count > 0) ? entry.data.i64[0] : Sensor::kExposureTimeRange[0]; in processCaptureRequest()
891 entry = settings.find(ANDROID_SENSOR_FRAME_DURATION); in processCaptureRequest()
892 frameDuration = (entry.count > 0)? entry.data.i64[0] : Sensor::kFrameDurationRange[0]; in processCaptureRequest()
893 entry = settings.find(ANDROID_SENSOR_SENSITIVITY); in processCaptureRequest()
894 sensitivity = (entry.count > 0) ? entry.data.i32[0] : Sensor::kSensitivityRange[0]; in processCaptureRequest()
1865 camera_metadata_ro_entry_t entry; in constructStaticInfo() local
1866 get_camera_metadata_ro_entry(previewRequest, i, &entry); in constructStaticInfo()
1867 availableRequestKeys.add(entry.tag); in constructStaticInfo()
[all …]
/device/generic/opengl-transport/host/libs/virglrenderer/
Dgen_entries.py141 for entry in entries:
144 (entry.return_type, entry.func_name, entry.parameters,
145 entry.call)
148 (entry.return_type, entry.func_name, entry.parameters)
178 for entry in entries:
179 ptr_name = ENTRY_PREFIX + entry.func_name
181 (entry.return_type, ptr_name, entry.parameters)
189 for entry in entries:
191 (entry.return_type, entry.func_name, entry.parameters)
192 ptr_name = ENTRY_PREFIX + entry.func_name
[all …]
/device/google/bonito/json-c/
Djson_object.h72 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 …]
Dlinkhash.h159 #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/coral/json-c/
Djson_object.h72 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 …]
Dlinkhash.h159 #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/crosshatch/json-c/
Djson_object.h72 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 …]
Dlinkhash.h159 #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/run_cvd/
Dprocess_monitor.cc87 auto& entry = monitored_processes_.back(); in MonitorExistingSubprocess() local
88 entry.cmd.reset(new Command(std::move(cmd))); in MonitorExistingSubprocess()
89 entry.proc.reset(new Subprocess(std::move(proc))); in MonitorExistingSubprocess()
90 entry.on_control_socket_ready_cb = callback; in MonitorExistingSubprocess()
108 auto& entry = *entry_it; in StopMonitoredProcesses() local
109 result = result && entry.proc->Stop(); in StopMonitoredProcesses()
112 for (auto& entry : monitored_processes_) { in StopMonitoredProcesses() local
116 auto ret = entry.proc->Wait(&wstatus, 0); in StopMonitoredProcesses()
119 << entry.cmd->GetShortName(); in StopMonitoredProcesses()
127 bool ProcessMonitor::RestartOnExitCb(MonitorEntry* entry) { in RestartOnExitCb() argument
[all …]
Dprocess_monitor.h52 static bool RestartOnExitCb(MonitorEntry* entry);
53 static bool DoNotMonitorCb(MonitorEntry* entry);
/device/google/cuttlefish/guest/hals/camera/
DExif.cpp65 ExifEntry* entry = exif_content_get_entry(exifData->ifd[ifd], in removeExistingEntry() local
67 if (entry) { in removeExistingEntry()
68 exif_content_remove_entry(exifData->ifd[ifd], entry); in removeExistingEntry()
76 ExifEntry* entry = exif_entry_new_mem(mem); in allocateEntry() local
79 entry->data = reinterpret_cast<unsigned char*>(exif_mem_alloc(mem, size)); in allocateEntry()
80 entry->size = size; in allocateEntry()
81 entry->tag = static_cast<ExifTag>(tag); in allocateEntry()
82 entry->components = numComponents; in allocateEntry()
83 entry->format = format; in allocateEntry()
86 return entry; in allocateEntry()
[all …]
DEmulatedFakeCamera3.cpp836 camera_metadata_entry_t entry; in processCaptureRequest() local
838 entry = settings.find(ANDROID_SENSOR_EXPOSURE_TIME); in processCaptureRequest()
840 (entry.count > 0) ? entry.data.i64[0] : Sensor::kExposureTimeRange[0]; in processCaptureRequest()
841 entry = settings.find(ANDROID_SENSOR_FRAME_DURATION); in processCaptureRequest()
843 (entry.count > 0) ? entry.data.i64[0] : Sensor::kFrameDurationRange[0]; in processCaptureRequest()
844 entry = settings.find(ANDROID_SENSOR_SENSITIVITY); in processCaptureRequest()
846 (entry.count > 0) ? entry.data.i32[0] : Sensor::kSensitivityRange[0]; in processCaptureRequest()
1878 camera_metadata_ro_entry_t entry; in constructStaticInfo() local
1879 get_camera_metadata_ro_entry(previewRequest, i, &entry); in constructStaticInfo()
1880 availableRequestKeys.add(entry.tag); in constructStaticInfo()
[all …]
/device/generic/goldfish/camera/fake-pipeline2/
DJpegCompressor.cpp139 camera_metadata_entry_t entry; in compress() local
160 entry = mSettings.find(ANDROID_JPEG_THUMBNAIL_SIZE); in compress()
161 if (entry.count > 0) { in compress()
162 thumbWidth = entry.data.i32[0]; in compress()
163 thumbHeight = entry.data.i32[1]; in compress()
165 entry = mSettings.find(ANDROID_JPEG_THUMBNAIL_QUALITY); in compress()
166 if (entry.count > 0) { in compress()
167 thumbJpegQuality = entry.data.u8[0]; in compress()
177 entry = mSettings.find(ANDROID_JPEG_QUALITY); in compress()
178 if (entry.count > 0) { in compress()
[all …]
/device/google/cuttlefish/common/libs/utils/
Dsubprocess.cpp47 for (const auto& entry : redirects) { in validate_redirects() local
48 int_redirects.insert(static_cast<int>(entry.first)); in validate_redirects()
50 for (const auto& entry : inherited_fds) { in validate_redirects() local
51 auto dupped_fd = entry.second; in validate_redirects()
62 for (const auto& entry : redirects) { in do_redirects() local
63 auto std_channel = static_cast<int>(entry.first); in do_redirects()
64 auto fd = entry.second; in do_redirects()
175 for (const auto& entry : inherited_fds_) { in ~Command() local
176 close(entry.second); in ~Command()
179 for (const auto& entry : redirects_) { in ~Command() local
[all …]
/device/google/contexthub/firmware/os/core/
Dsyscall.c50 tabP = &(*tabP)->entry[idx].subtable; in syscallAddTable()
71 return &tab->entry[idx].func; in syscallFindHandlerLoc()
73 tab = tab->entry[idx].subtable; in syscallFindHandlerLoc()
DeventQ.c57 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()
DosApi.c492 .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 …]
/device/google/cuttlefish/host/commands/assemble_cvd/
Dmisc_info.cc51 for (const auto& entry : misc_info) { in WriteMiscInfo() local
52 out << entry.first << "=" << entry.second << "\n"; in WriteMiscInfo()
/device/google/coral/vibrator/
DHardware.cpp86 for (auto &entry : *value) { in unpack()
87 stream >> entry; in unpack()
159 for (auto &entry : pathsFromEnv("HWAPI_DEBUG_PATHS")) { in debug() local
160 auto &path = entry.first; in debug()
161 auto &stream = entry.second; in debug()
/device/google/cuttlefish/host/frontend/gcastv2/signaling_server/
Ddevice_registry.cpp65 for (const auto& entry: devices_) { in ListDeviceIds() local
66 ret.push_back(entry.first); in ListDeviceIds()
/device/linaro/dragonboard/qcom/pd-mapper/
Dpd-mapper.c60 struct servreg_loc_domain_list_entry *entry; in handle_get_domain_list() local
84 entry = &resp.domain_list[resp.domain_list_len++]; in handle_get_domain_list()
86 strcpy(entry->name, pd_map->domain); in handle_get_domain_list()
87 entry->name_len = strlen(pd_map->domain); in handle_get_domain_list()
88 entry->instance_id = pd_map->instance; in handle_get_domain_list()
/device/google/cuttlefish/host/frontend/webrtc/lib/
Dstreamer.cpp241 for (auto& entry : displays_) { in OnOpen() local
243 display[kStreamIdField] = entry.first; in OnOpen()
244 display[kXResField] = entry.second.width; in OnOpen()
245 display[kYResField] = entry.second.height; in OnOpen()
246 display[kDpiField] = entry.second.dpi; in OnOpen()
426 for (auto& entry : displays_) { in CreateClientHandler() local
427 auto& label = entry.first; in CreateClientHandler()
428 auto& video_source = entry.second.source; in CreateClientHandler()
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/sys/xt-shmem/board-hikey/
Darch_hifi330.h115 #define ENTRY(sz) entry sp, sz
116 #define ENTRY0 entry sp, 0x10
/device/google/cuttlefish/host/commands/secure_env/
Dtpm_key_blob_maker.cpp177 for (auto& entry : key_description) { in SplitEnforcedProperties() local
178 switch (entry.tag) { in SplitEnforcedProperties()
203 hw_enforced->push_back(entry); in SplitEnforcedProperties()
206 sw_enforced->push_back(entry); in SplitEnforcedProperties()

123