/device/linaro/dragonboard/qcom/qrtr/src/ |
D | map.c | 37 void map_destroy(struct map *map) in map_destroy() argument 39 free(map->data); in map_destroy() 42 void map_clear(struct map *map, void (*release)(struct map_item *)) in map_clear() argument 46 for (i = 0; i < map->size; ++i){ in map_clear() 47 if (!map->data[i].item) in map_clear() 49 if (map->data[i].item != &deleted) in map_clear() 50 (* release)(map->data[i].item); in map_clear() 51 map->data[i].item = NULL; in map_clear() 53 map->count = 0; in map_clear() 56 int map_create(struct map *map) in map_create() argument [all …]
|
D | map.h | 10 struct map { struct 16 int map_create(struct map *map); argument 17 void map_destroy(struct map *map); 18 void map_clear(struct map *map, void (*release)(struct map_item *)); 20 int map_put(struct map *map, unsigned int key, struct map_item *v); 21 int map_reput(struct map *map, unsigned int key, struct map_item *v, 23 int map_contains(const struct map *map, unsigned int key); 24 struct map_item *map_get(const struct map *map, unsigned int key); 25 int map_remove(struct map *map, unsigned int key); 26 unsigned int map_length(struct map *map); [all …]
|
/device/generic/opengl-transport/host/libs/virglrenderer/ |
D | AVDVirglRenderer.cpp | 97 std::map<uint32_t, EglContext*> EglContext::map; member in EglContext 98 std::map<uint32_t, EglSurface*> EglSurface::map; member in EglSurface 99 std::map<uint32_t, EglImage*> EglImage::map; member in EglImage 100 std::map<uint32_t, Resource*> Resource::map; member in Resource 101 std::map<uint64_t, EglSync*> EglSync::map; member in EglSync 102 std::map<uint32_t, Context*> Context::map; member in Context 147 for (auto const& it : Resource::map) { in dump_global_state() 166 for (auto const& it : Context::map) { in dump_global_state() 474 std::map<uint32_t, Resource*>::iterator it; in virgl_renderer_get_cursor_data() 475 it = Resource::map.find(resource_id); in virgl_renderer_get_cursor_data() [all …]
|
D | RenderControl.cpp | 397 std::map<uint32_t, EglContext*>::iterator context_it; in rcCreateContext() 398 context_it = EglContext::map.find(share_); in rcCreateContext() 399 if (context_it == EglContext::map.end()) in rcCreateContext() 423 std::map<uint32_t, EglContext*>::iterator it; in rcDestroyContext() 424 it = EglContext::map.find(ctx); in rcDestroyContext() 425 if (it == EglContext::map.end()) in rcDestroyContext() 454 std::map<uint32_t, EglSurface*>::iterator it; in rcDestroyWindowSurface() 455 it = EglSurface::map.find(surface_); in rcDestroyWindowSurface() 456 if (it == EglSurface::map.end()) in rcDestroyWindowSurface() 487 std::map<uint32_t, EglSurface*>::iterator surface_it; in rcSetWindowColorBuffer() [all …]
|
D | EglContext.h | 32 static std::map<uint32_t, EglContext*> map; member 37 map.emplace(id, this); in EglContext() 41 map.erase(id); in ~EglContext() 45 for (auto const& it : EglContext::map) { in bind()
|
D | EglSync.h | 25 static std::map<uint64_t, EglSync*> map; member 29 map.emplace(id, this); in EglSync() 33 map.erase(id); in ~EglSync()
|
D | Resource.h | 36 static std::map<uint32_t, Resource*> map; member 41 map.emplace(args.handle, this); in Resource() 45 map.erase(args.handle); in ~Resource() 67 std::map<uint32_t, Context*> context_map;
|
D | EglImage.h | 28 static std::map<uint32_t, EglImage*> map; member 33 map.emplace(id, this); in EglImage() 38 map.erase(id); in ~EglImage()
|
D | EglSurface.h | 27 static std::map<uint32_t, EglSurface*> map; member 32 map.emplace(id, this); in EglSurface() 36 map.erase(id); in ~EglSurface() 40 for (auto const& it : EglSurface::map) { in bind()
|
D | Gralloc1.cpp | 61 std::map<uint32_t, Resource*>::iterator it; in gralloc1_lock() 62 it = Resource::map.find(resource_id); in gralloc1_lock() 63 if (it == Resource::map.end()) in gralloc1_lock() 95 std::map<uint32_t, Resource*>::iterator it; in gralloc1_unlock() 96 it = Resource::map.find(resource_id); in gralloc1_unlock() 97 if (it == Resource::map.end()) in gralloc1_unlock()
|
D | Context.h | 40 static std::map<uint32_t, Context*> map; member 46 map.emplace(handle, this); in Context() 58 map.erase(handle); in ~Context() 62 for (auto const& it : Context::map) { in bind() 107 std::map<uint32_t, Resource*> resource_map;
|
/device/linaro/dragonboard/sepolicy/ |
D | crash_dump.te | 2 allow crash_dump bluetooth_data_file:file { getattr map open read }; 3 allow crash_dump bluetooth_prop:file { getattr map open }; 4 allow crash_dump device_config_runtime_native_boot_prop:file { getattr map open }; 5 allow crash_dump device_config_runtime_native_prop:file { getattr map open }; 6 allow crash_dump hwservicemanager_prop:file { getattr map open };
|
D | eth_mac_addr.te | 10 allow eth_mac_addr shell_exec:file { execute getattr map read }; 12 allow eth_mac_addr toolbox_exec:file { execute execute_no_trans getattr map open read };
|
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
D | TextureSharedData.h | 23 std::map<GLsizei, GLsizei> widths; 24 std::map<GLsizei, GLsizei> heights; 25 std::map<GLsizei, GLsizei> depths; 40 typedef std::map<GLuint, TextureRec*> SharedTextureDataMap;
|
D | KeyedVectorUtils.h | 21 void clearObjectMap(std::map<GLuint, T>& v) { in clearObjectMap() 22 typename std::map<GLuint, T>::iterator it = v.begin(); in clearObjectMap() 30 V findObjectOrDefault(const std::map<K, V>& m, K key, V defaultValue = 0) { 31 typename std::map<K, V>::const_iterator it = m.find(key);
|
D | GLSharedGroup.h | 123 std::map<GLuint, BufferData*> m_buffers; 124 std::map<GLuint, ProgramData*> m_programs; 125 std::map<GLuint, ShaderData*> m_shaders; 126 std::map<uint32_t, ShaderProgramData*> m_shaderPrograms; 127 std::map<GLuint, uint32_t> m_shaderProgramIdMap;
|
/device/generic/goldfish/sepolicy/common/ |
D | hal_graphics_composer_default.te | 4 allow hal_graphics_composer_default vndbinder_device:chr_file { ioctl open read write map }; 5 allow hal_graphics_composer_default graphics_device:chr_file { ioctl open read write map }; 6 allow hal_graphics_composer_default gpu_device:chr_file { ioctl open read write map };
|
D | hal_graphics_allocator_default.te | 2 allow hal_graphics_allocator_default graphics_device:chr_file { ioctl open read write map rw_file_p… 4 allow hal_graphics_allocator_default gpu_device:chr_file { ioctl open read write map rw_file_perms …
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/plugins/cadence/pcm_proc/ |
D | xa-pcm.c | 147 u32 chmap = d->chan_routing, map; in xa_pcm_do_execute_pcm16_chmap() local 161 for (j = 0, map = chmap; j < k; j++, map >>= 4) in xa_pcm_do_execute_pcm16_chmap() 163 u8 m = map & 0xF; in xa_pcm_do_execute_pcm16_chmap() 191 u32 chmap = d->chan_routing, map; in xa_pcm_do_execute_pcm24_chmap() local 203 for (j = 0, map = chmap; j < k; j++, map >>= 4) in xa_pcm_do_execute_pcm24_chmap() 205 u8 m = map & 0xF; in xa_pcm_do_execute_pcm24_chmap() 228 u32 chmap = d->chan_routing, map; in xa_pcm_do_execute_pcm24_to_pcm16() local 241 for (j = 0, map = chmap; j < k; j++, map >>= 4) in xa_pcm_do_execute_pcm24_to_pcm16() 243 u8 m = map & 0xF; in xa_pcm_do_execute_pcm24_to_pcm16() 270 u32 chmap = d->chan_routing, map; in xa_pcm_do_execute_pcm16_to_pcm24() local [all …]
|
/device/google/bonito/health/ |
D | BatteryRechargingControl.cpp | 35 int BatteryRechargingControl::mapSysfsString(const char *str, struct sysfsStringEnumMap map[]) { in mapSysfsString() argument 36 for (int i = 0; map[i].s; i++) in mapSysfsString() 37 if (!strncmp(str, map[i].s, strlen(map[i].s))) in mapSysfsString() 38 return map[i].val; in mapSysfsString()
|
/device/google/crosshatch/health/ |
D | BatteryRechargingControl.cpp | 36 int BatteryRechargingControl::mapSysfsString(const char *str, struct sysfsStringEnumMap map[]) { in mapSysfsString() argument 37 for (int i = 0; map[i].s; i++) in mapSysfsString() 38 if (!strncmp(str, map[i].s, strlen(map[i].s))) in mapSysfsString() 39 return map[i].val; in mapSysfsString()
|
/device/linaro/dragonboard/qcom/pd-mapper/ |
D | pd-mapper.c | 134 struct pd_map *map; in pd_load_map() local 177 map = &pd_maps[num_pd_maps++]; in pd_load_map() 179 map->service = malloc(strlen(provider) + strlen(service) + 2); in pd_load_map() 180 sprintf((char *)map->service, "%s/%s", provider, service); in pd_load_map() 182 map->domain = malloc(strlen(soc) + strlen(domain) + strlen(subdomain) + 3); in pd_load_map() 183 sprintf((char *)map->domain, "%s/%s/%s", soc, domain, subdomain); in pd_load_map() 185 map->instance = number; in pd_load_map()
|
/device/google/cuttlefish/guest/hals/ril/ |
D | cuttlefish_ril.cpp | 147 static std::map<int, DataCall> gDataCalls; 158 for (std::map<int, DataCall>::iterator iter = gDataCalls.begin(); in request_or_send_data_calllist() 446 static std::map<int, CallState> gActiveCalls; 463 for (std::map<int, CallState>::iterator iter = gActiveCalls.begin(); in request_get_current_calls() 493 for (std::map<int, CallState>::iterator iter = gActiveCalls.begin(); in simulate_pending_calls_answered() 558 static std::map<int, SmsMessage> gMessagesOnSimCard; 599 std::map<int, CallState>::iterator iter = gActiveCalls.find(*p_line); in request_hangup() 613 for (std::map<int, CallState>::iterator iter = gActiveCalls.begin(); in request_hangup_waiting() 617 std::map<int, CallState>::iterator temp = iter++; in request_hangup_waiting() 629 for (std::map<int, CallState>::iterator iter = gActiveCalls.begin(); in request_hangup_current() [all …]
|
/device/google/coral-sepolicy/vendor/google/ |
D | hal_neuralnetworks_darwinn.te | 14 allow hal_neuralnetworks_darwinn abc_tpu_device:chr_file { getattr ioctl map open read write }; 22 allow hal_neuralnetworks_darwinn vendor_configs_file:file { read getattr map };
|
/device/google/contexthub/firmware/build/ |
D | nanohub_executable.mk | 25 nanohub_linked_map := $(intermediates)/LINKED/$(LOCAL_MODULE).map 47 $(call nano-gen-linker-script-map,$(linker_script),bl,$(NANO_VARIANT_LKR_MAP),stm32f4xx,$(AUX_ARCH)) 62 $(call nano-gen-linker-script-map,$(linker_script),os,$(NANO_VARIANT_LKR_MAP),stm32f4xx,$(AUX_ARCH))
|