/device/linaro/dragonboard/shared/utils/pd-mapper/ |
D | json.c | 362 struct json_value *it; in json_get_child() local 367 for (it = object->u.value; it; it = it->next) { in json_get_child() 368 if (!strcmp(it->key, key)) in json_get_child() 369 return it; in json_get_child() 377 struct json_value *it; in json_count_children() local 383 for (it = array->u.value; it; it = it->next) in json_count_children() 391 struct json_value *it; in json_get_number() local 396 for (it = object->u.value; it; it = it->next) { in json_get_number() 397 if (!strcmp(it->key, key)) { in json_get_number() 398 if (it->type != JSON_TYPE_NUMBER) in json_get_number() [all …]
|
D | assoc.c | 129 unsigned long it = *iter; in assoc_next() local 131 while (it < assoc->size && !assoc->keys[it]) in assoc_next() 132 it++; in assoc_next() 134 if (it == assoc->size) in assoc_next() 137 *iter = it + 1; in assoc_next() 139 if (it < assoc->size) { in assoc_next() 141 *value = assoc->values[it]; in assoc_next() 142 return assoc->keys[it]; in assoc_next()
|
D | pd-mapper.c | 128 struct json_value *it; in pd_load_map() local 167 for (it = sr_service->u.value; it; it = it->next) { in pd_load_map() 168 provider = json_get_string(it, "provider"); in pd_load_map() 169 service = json_get_string(it, "service"); in pd_load_map() 290 unsigned long it; in pd_load_maps() local 298 assoc_foreach(jsn, NULL, &json_set, it) { in pd_load_maps()
|
/device/linaro/poplar/wifi/wifi_hal/ |
D | wifi_logger.cpp | 350 nl_iterator it(vendor_data); in handleResponse() local 351 if (it.get_type() == LOGGER_ATTRIBUTE_RING_NUM) { in handleResponse() 352 unsigned int num_rings = it.get_u32(); in handleResponse() 361 it.get_type(), LOGGER_ATTRIBUTE_RING_NUM); in handleResponse() 365 it.next(); in handleResponse() 366 for (unsigned int i = 0; it.has_next() && i < *mNumRings; it.next()) { in handleResponse() 367 if (it.get_type() == LOGGER_ATTRIBUTE_RING_STATUS) { in handleResponse() 368 memcpy(status, it.get_data(), sizeof(wifi_ring_buffer_status)); in handleResponse() 373 it.get_type(), it.get_len()); in handleResponse() 550 for (nl_iterator it(vendor_data); it.has_next(); it.next()) { in handleEvent() local [all …]
|
D | gscan.cpp | 301 for (nl_iterator it(vendor_data); it.has_next(); it.next()) { in handleResponse() local 302 if (it.get_type() == GSCAN_ATTRIBUTE_NUM_CHANNELS) { in handleResponse() 303 num_channels_to_copy = it.get_u32(); in handleResponse() 308 } else if (it.get_type() == GSCAN_ATTRIBUTE_CHANNEL_LIST && num_channels_to_copy) { in handleResponse() 309 memcpy(channels, it.get_data(), sizeof(int) * num_channels_to_copy); in handleResponse() 312 it.get_type(), it.get_len()); in handleResponse() 335 for (nl_iterator it(attr); it.has_next() && i < num; it.next(), i++) { in parseScanResults() local 337 int index = it.get_type(); in parseScanResults() 339 nlattr *sc_data = (nlattr *) it.get_data(); in parseScanResults() 933 for (nl_iterator it(vendor_data); it.has_next(); it.next()) { in handleResponse() local [all …]
|
/device/generic/opengl-transport/host/libs/virglrenderer/ |
D | AVDVirglRenderer.cpp | 147 for (auto const& it : Resource::map) { in dump_global_state() local 148 Resource const* res = it.second; in dump_global_state() 158 for (auto const& it : res->context_map) { in dump_global_state() local 159 Context const* ctx = it.second; in dump_global_state() 166 for (auto const& it : Context::map) { in dump_global_state() local 167 Context const* ctx = it.second; in dump_global_state() 172 for (auto const& it : ctx->resource_map) { in dump_global_state() local 173 Resource const* res = it.second; in dump_global_state() 474 std::map<uint32_t, Resource*>::iterator it; in virgl_renderer_get_cursor_data() local 475 it = Resource::map.find(resource_id); in virgl_renderer_get_cursor_data() [all …]
|
D | RenderControl.cpp | 423 std::map<uint32_t, EglContext*>::iterator it; in rcDestroyContext() local 424 it = EglContext::map.find(ctx); in rcDestroyContext() 425 if (it == EglContext::map.end()) in rcDestroyContext() 428 EglContext* context = it->second; in rcDestroyContext() 454 std::map<uint32_t, EglSurface*>::iterator it; in rcDestroyWindowSurface() local 455 it = EglSurface::map.find(surface_); in rcDestroyWindowSurface() 456 if (it == EglSurface::map.end()) in rcDestroyWindowSurface() 459 EglSurface* surface = it->second; in rcDestroyWindowSurface() 530 std::map<uint32_t, EglSurface*>::iterator it; in rcFlushWindowColorBuffer() local 531 it = EglSurface::map.find(windowSurface); in rcFlushWindowColorBuffer() [all …]
|
D | Gralloc1.cpp | 61 std::map<uint32_t, Resource*>::iterator it; in gralloc1_lock() local 62 it = Resource::map.find(resource_id); in gralloc1_lock() 63 if (it == Resource::map.end()) in gralloc1_lock() 66 Resource* res = it->second; in gralloc1_lock() 95 std::map<uint32_t, Resource*>::iterator it; in gralloc1_unlock() local 96 it = Resource::map.find(resource_id); in gralloc1_unlock() 97 if (it == Resource::map.end()) in gralloc1_unlock()
|
D | GLESv3.cpp | 253 std::map<uint64_t, GlSync*>::iterator it; in glClientWaitSyncAEMU() local 254 it = ctx->sync_map.find(wait_on); in glClientWaitSyncAEMU() 255 if (it == ctx->sync_map.end()) in glClientWaitSyncAEMU() 258 GlSync* sync = it->second; in glClientWaitSyncAEMU() 298 std::map<uint64_t, GlSync*>::iterator it; in glDeleteSyncAEMU() local 299 it = ctx->sync_map.find(to_delete); in glDeleteSyncAEMU() 300 if (it == ctx->sync_map.end()) in glDeleteSyncAEMU() 303 GlSync* sync = it->second; in glDeleteSyncAEMU() 377 std::map<uint64_t, GlSync*>::iterator it; in glGetSyncivAEMU() local 378 it = ctx->sync_map.find(sync_); in glGetSyncivAEMU() [all …]
|
/device/google/cuttlefish/common/libs/utils/ |
D | result.h | 152 auto it = ctx.begin(); 153 while (it != ctx.end() && *it != '}') { 154 if (*it == 'v') { 158 } else if (*it == 'V') { 165 static_cast<cuttlefish::StackTraceEntry::FormatSpecifier>(*it)); 167 it++; 169 return it; 242 auto it = ctx.begin(); 243 while (it != ctx.end() && *it != '}') { 244 if (*it == 'v') { [all …]
|
D | archive.cpp | 38 auto it = files.begin(); in ExtractHelper() local 39 while (it != files.end()) { in ExtractHelper() 40 if (*it == "" || android::base::EndsWith(*it, "/")) { in ExtractHelper() 41 it = files.erase(it); in ExtractHelper() 43 *it = target_directory + "/" + *it; in ExtractHelper() 44 it++; in ExtractHelper()
|
D | proto.h | 31 auto it = ctx.begin(); 32 for (; it != ctx.end() && *it != '}'; it++) { 33 format_ = *it; 35 return it;
|
/device/google/contexthub/firmware/os/core/ |
D | seos.c | 462 void osSegmentIteratorInit(struct SegmentIterator *it) in osSegmentIteratorInit() argument 467 it->shared = (const struct Segment *)(start); in osSegmentIteratorInit() 468 it->sharedEnd = (const struct Segment *)(start + sz); in osSegmentIteratorInit() 469 it->seg = NULL; in osSegmentIteratorInit() 518 struct SegmentIterator it; in osSegmentGetFree() local 521 osSegmentIteratorInit(&it); in osSegmentGetFree() 522 while (osSegmentIteratorNext(&it)) { in osSegmentGetFree() 523 if (osSegmentGetState(it.seg) == SEG_ST_EMPTY) { in osSegmentGetFree() 524 storageSeg = it.seg; in osSegmentGetFree() 528 if (!storageSeg || storageSeg > it.sharedEnd) in osSegmentGetFree() [all …]
|
/device/google/cuttlefish/host/libs/process_monitor/ |
D | process_monitor.cc | 107 auto matches = [pid](const auto& it) { return it.proc->pid() == pid; }; in MonitorLoop() argument 109 auto it = std::find_if(monitored.begin(), monitored.end(), matches); in MonitorLoop() local 110 if (it == monitored.end()) { in MonitorLoop() 113 LogSubprocessExit(it->cmd->GetShortName(), it->proc->pid(), wstatus); in MonitorLoop() 117 it->proc.reset(new Subprocess(it->cmd->Start(std::move(options)))); in MonitorLoop() 119 bool is_critical = it->is_critical; in MonitorLoop() 120 monitored.erase(it); in MonitorLoop() 135 auto stop = [](const auto& it) { in StopSubprocesses() argument 136 auto stop_result = it.proc->Stop(); in StopSubprocesses() 138 LOG(WARNING) << "Error in stopping \"" << it.cmd->GetShortName() << "\""; in StopSubprocesses() [all …]
|
/device/generic/car/emulator/usbpt/bluetooth/usb_modeswitch/ |
D | LICENSE | 7 of this license document, but changing it is not allowed. 12 freedom to share and change it. By contrast, the GNU General Public 17 using it. (Some other Free Software Foundation software is covered by 18 the GNU Lesser General Public License instead.) You can apply it to 24 this service if you wish), that you receive source code or can get it 25 if you want it, that you can change the software or use pieces of it 31 distribute copies of the software, or if you modify it. 53 program proprietary. To prevent this, we have made it clear that any 63 a notice placed by the copyright holder saying it may be distributed 67 that is to say, a work containing the Program or a portion of it, [all …]
|
/device/generic/car/emulator/usbpt/usbip-service/ |
D | COPYING | 7 of this license document, but changing it is not allowed. 12 freedom to share and change it. By contrast, the GNU General Public 17 using it. (Some other Free Software Foundation software is covered by 18 the GNU Library General Public License instead.) You can apply it to 24 this service if you wish), that you receive source code or can get it 25 if you want it, that you can change the software or use pieces of it 31 distribute copies of the software, or if you modify it. 53 program proprietary. To prevent this, we have made it clear that any 63 a notice placed by the copyright holder saying it may be distributed 67 that is to say, a work containing the Program or a portion of it, [all …]
|
/device/google/gs-common/tts/ |
D | voice_packs.mk | 21 …device/google/gs-common/tts/it-it/it-it-x-multi-r47.zvoice:product/tts/google/it-it/it-it-x-multi-…
|
/device/google/cuttlefish/host/libs/allocd/ |
D | utils.cpp | 132 auto it = StrToRequestTyMap.find(req); in StrToReqTy() local 133 if (it == StrToRequestTyMap.end()) { in StrToReqTy() 136 return it->second; in StrToReqTy() 141 auto it = StrToReqStatusMap.find(st); in StrToStatus() local 142 if (it == StrToReqStatusMap.end()) { in StrToStatus() 145 return it->second; in StrToStatus() 182 auto it = StrToIfaceTyMap.find(iface); in StrToIfaceTy() local 183 if (it == StrToIfaceTyMap.end()) { in StrToIfaceTy() 186 return it->second; in StrToIfaceTy()
|
/device/google/cuttlefish/host/libs/config/ |
D | fetcher_config.cpp | 223 for (auto it = json_files.begin(); it != json_files.end(); it++) { in get_cvd_files() local 224 files[it.key().asString()] = JsonToCvdFile(it.key().asString(), *it); in get_cvd_files() 234 for (auto it = json_files.begin(); it != json_files.end(); it++) { in FindCvdFileWithSuffix() local 235 const auto& file = it.key().asString(); in FindCvdFileWithSuffix()
|
D | host_tools_version.cpp | 51 for (auto it = files.begin(); it != files.end();) { in DirectoryCrc() local 52 if (*it == "." || *it == "..") { in DirectoryCrc() 53 it = files.erase(it); in DirectoryCrc() 55 it++; in DirectoryCrc()
|
/device/google/contexthub/firmware/ |
D | CodingStandard.txt | 1 In the interest of a clean and concise codebase that looks readable, it is hereby established that … 2 …obey these guidelines is not a cause for also disobeying them (it is a cause for fixing it, howeve… 19 make it easier to identify them. 23 names - makes it easy to appreciate the cost (struct GpioHandle, union PwmDeviceData). 33 16. Do not ever return structs or unions from functions. Pass a pointer and fill it in. Gcc will 34 optimize this better and it is better C. 38 (it converts to double). 41 20. You may use whatever comment style suits your heart, as long as the compiler can live with it. 46 code, it will warn you if you accidentally try to dereference it, or on purpose try to access
|
/device/generic/goldfish-opengl/system/hwc3/ |
D | Display.cpp | 114 auto it = mConfigs.find(activeConfigId); in init() local 115 if (it == mConfigs.end()) { in init() 120 const auto& activeConfig = it->second; in init() 138 auto it = mConfigs.find(*mActiveConfigId); in updateParameters() local 139 if (it == mConfigs.end()) { in updateParameters() 143 DisplayConfig& config = it->second; in updateParameters() 179 auto it = mLayers.find(layerId); in destroyLayer() local 180 if (it == mLayers.end()) { in destroyLayer() 191 mLayers.erase(it); in destroyLayer() 218 auto it = mConfigs.find(configId); in getDisplayAttribute() local [all …]
|
/device/google/cuttlefish/host/libs/input_connector/ |
D | socket_input_connector.cpp | 177 auto it = slots_by_source_and_id_.begin(); in OnDisconnectedSource() local 178 while (it != slots_by_source_and_id_.end()) { in OnDisconnectedSource() 179 if (it->first.first == source) { in OnDisconnectedSource() 180 active_slots_[it->second] = false; in OnDisconnectedSource() 181 it = slots_by_source_and_id_.erase(it); in OnDisconnectedSource() 183 ++it; in OnDisconnectedSource() 251 for (auto& it : input_devices_.multitouch_devices) { in ~InputSocketsEventSink() local 252 it.second.OnDisconnectedSource(this); in ~InputSocketsEventSink() 254 for (auto& it : input_devices_.touch_devices) { in ~InputSocketsEventSink() local 255 it.second.OnDisconnectedSource(this); in ~InputSocketsEventSink()
|
/device/google/cuttlefish/guest/hals/camera/ |
D | stream_buffer_cache.cpp | 61 for (auto it = cache_.begin(); it != cache_.end();) { in removeStreamsExcept() local 62 if (streams_to_keep.count((*it)->streamId()) == 0) { in removeStreamsExcept() 63 it = cache_.erase(it); in removeStreamsExcept() 65 it++; in removeStreamsExcept()
|
/device/google/contexthub/contexthubhal/ |
D | system_comms.cpp | 935 for (auto &it : apps_) { in dumpAppInfo() local 936 uint64_t id = it.first; in dumpAppInfo() 937 const auto &app = it.second; in dumpAppInfo() 1003 for (auto &it : apps_) { in saveApps() local 1004 uint64_t id = it.first; in saveApps() 1005 const auto &app = it.second; in saveApps() 1070 for (auto &it : apps) { in restoreApps() local 1071 Json::Value &val = (*appsObject)[it]; in restoreApps() 1077 uint64_t id = strtoull(it.c_str(), nullptr, 16); in restoreApps() 1094 for (auto it=apps_.begin(); it != apps_.end();) { in eraseApps() local [all …]
|