Home
last modified time | relevance | path

Searched refs:map (Results 1 – 25 of 3021) sorted by relevance

12345678910>>...121

/ohos5.0/drivers/hdf_core/framework/utils/src/
H A Dhdf_map.c48 if (map->bucketSize < 1 || map->bucketSize > HDF_UINT32_MAX) { in MapHashIdx()
73 tmp = map->nodes; in MapResize()
75 map->nodes = nodes; in MapResize()
146 if (map->nodeSize > 0 && map->nodes != NULL) { in MapSet()
169 MapInit(map); in MapSet()
175 if (map->nodeSize >= map->bucketSize) { in MapSet()
187 map->nodeSize++; in MapSet()
197 if (map == NULL || key == NULL || map->nodeSize == 0 || map->nodes == NULL) { in MapGet()
223 if (map == NULL || key == NULL || map->nodeSize == 0 || map->nodes == NULL) { in MapErase()
250 void MapInit(Map *map) in MapInit() argument
[all …]
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/utils/src/
H A Dlnn_map.c81 tmp = map->nodes; in MapResize()
83 map->nodes = nodes; in MapResize()
153 if (map->nodeSize > 0 && map->nodes != NULL) { in LnnMapSet()
179 if (map->nodeSize >= map->bucketSize) { in LnnMapSet()
195 map->nodeSize++; in LnnMapSet()
209 if (map == NULL || key == NULL || map->nodeSize == 0 || map->nodes == NULL) { in LnnMapGet()
241 if (map == NULL || key == NULL || map->nodeSize == 0 || map->nodes == NULL) { in LnnMapErase()
280 return (map == NULL) ? 0 : map->nodeSize; in MapGetSize()
290 if (map == NULL) { in LnnMapInit()
310 if (map == NULL || map->nodes == NULL) { in LnnMapDelete()
[all …]
/ohos5.0/base/security/access_token/services/privacymanager/src/common/
H A Dconstant.cpp30 std::map<std::string, int32_t>::value_type(
37 std::map<std::string, int32_t>::value_type(
40 std::map<std::string, int32_t>::value_type(
43 std::map<std::string, int32_t>::value_type(
58 std::map<std::string, int32_t>::value_type(
60 std::map<std::string, int32_t>::value_type(
62 std::map<std::string, int32_t>::value_type(
66 std::map<std::string, int32_t>::value_type(
68 std::map<std::string, int32_t>::value_type(
70 std::map<std::string, int32_t>::value_type(
[all …]
/ohos5.0/base/security/selinux_adapter/sepolicy/ohos_policy/test_framework/wukong/system/
H A Dsystem_basic_hap.te18 allow system_basic_hap_attr bootevent_param:file { map open read };
25 allow system_basic_hap_attr const_param:file { map open read };
29 allow system_basic_hap_attr debug_param:file { map open read };
30 allow system_basic_hap_attr default_param:file { map open read };
34 allow system_basic_hap_attr hilog_param:file { map open read };
37 allow system_basic_hap_attr hw_sc_param:file { map open read };
38 allow system_basic_hap_attr init_param:file { map open read };
41 allow system_basic_hap_attr net_param:file { map open read };
42 allow system_basic_hap_attr net_tcp_param:file { map open read };
44 allow system_basic_hap_attr ohos_param:file { map open read };
[all …]
/ohos5.0/base/security/selinux_adapter/sepolicy/base/te/
H A Dhilogd.te14 allow hilogd bootevent_param:file { map open read };
21 allow hilogd const_param:file { map open read };
25 allow hilogd debug_param:file { map open read };
26 allow hilogd default_param:file { map open read };
29 allow hilogd hilog_param:file { map open read };
33 allow hilogd hw_sc_param:file { map open read };
34 allow hilogd init_param:file { map open read };
37 allow hilogd net_param:file { map open read };
38 allow hilogd net_tcp_param:file { map open read };
40 allow hilogd ohos_param:file { map open read };
[all …]
H A Daudio_server.te15 allow audio_server bootevent_param:file { map open read };
22 allow audio_server const_param:file { map open read };
26 allow audio_server debug_param:file { map open read };
27 allow audio_server default_param:file { map open read };
30 allow audio_server hilog_param:file { map open read };
33 allow audio_server hw_sc_param:file { map open read };
34 allow audio_server init_param:file { map open read };
37 allow audio_server net_param:file { map open read };
38 allow audio_server net_tcp_param:file { map open read };
40 allow audio_server ohos_param:file { map open read };
[all …]
H A Ddscreen.te14 allow dscreen bootevent_param:file { map open read };
21 allow dscreen const_param:file { map open read };
25 allow dscreen debug_param:file { map open read };
26 allow dscreen default_param:file { map open read };
29 allow dscreen hilog_param:file { map open read };
32 allow dscreen hw_sc_param:file { map open read };
33 allow dscreen init_param:file { map open read };
36 allow dscreen net_param:file { map open read };
37 allow dscreen net_tcp_param:file { map open read };
39 allow dscreen ohos_param:file { map open read };
[all …]
H A Dpasteboard_service.te14 allow pasteboard_service bootevent_param:file { map open read };
21 allow pasteboard_service const_param:file { map open read };
25 allow pasteboard_service debug_param:file { map open read };
26 allow pasteboard_service default_param:file { map open read };
28 allow pasteboard_service hilog_param:file { map open read };
31 allow pasteboard_service hw_sc_param:file { map open read };
32 allow pasteboard_service init_param:file { map open read };
35 allow pasteboard_service net_param:file { map open read };
36 allow pasteboard_service net_tcp_param:file { map open read };
38 allow pasteboard_service ohos_param:file { map open read };
[all …]
H A Dprocessdump.te14 allow processdump bootevent_param:file { map open read };
21 allow processdump const_param:file { map open read };
25 allow processdump debug_param:file { map open read };
26 allow processdump default_param:file { map open read };
31 allow processdump hilog_param:file { map open read };
34 allow processdump hw_sc_param:file { map open read };
35 allow processdump init_param:file { map open read };
39 allow processdump net_param:file { map open read };
40 allow processdump net_tcp_param:file { map open read };
42 allow processdump ohos_param:file { map open read };
[all …]
H A Dmisc.te14 allow misc bootevent_param:file { map open read };
21 allow misc const_param:file { map open read };
25 allow misc debug_param:file { map open read };
26 allow misc default_param:file { map open read };
33 allow misc hilog_param:file { map open read };
36 allow misc hw_sc_param:file { map open read };
37 allow misc init_param:file { map open read };
40 allow misc net_param:file { map open read };
41 allow misc net_tcp_param:file { map open read };
43 allow misc ohos_param:file { map open read };
[all …]
H A Ddrm_service.te2 allow drm_service bootevent_param:file { map open read };
4 allow drm_service build_version_param:file { map open read };
10 allow drm_service const_param:file { map open read };
14 allow drm_service debug_param:file { map open read };
15 allow drm_service default_param:file { map read open };
22 allow drm_service hilog_param:file { map read open };
25 allow drm_service hw_sc_param:file { map open read };
26 allow drm_service init_param:file { map open read };
30 allow drm_service net_param:file { map open read };
33 allow drm_service ohos_param:file { map open read };
[all …]
H A Dmmi_uinput_service.te15 allow mmi_uinput_service bootevent_param:file { map open read };
22 allow mmi_uinput_service const_param:file { map open read };
26 allow mmi_uinput_service debug_param:file { map open read };
27 allow mmi_uinput_service default_param:file { map open read };
34 allow mmi_uinput_service hilog_param:file { map open read };
37 allow mmi_uinput_service hw_sc_param:file { map open read };
38 allow mmi_uinput_service init_param:file { map open read };
42 allow mmi_uinput_service net_param:file { map open read };
43 allow mmi_uinput_service net_tcp_param:file { map open read };
45 allow mmi_uinput_service ohos_param:file { map open read };
[all …]
H A Ddeviceauth_service.te14 allow deviceauth_service bootevent_param:file { map open read };
21 allow deviceauth_service const_param:file { map open read };
25 allow deviceauth_service debug_param:file { map open read };
26 allow deviceauth_service default_param:file { map open read };
29 allow deviceauth_service hilog_param:file { map open read };
32 allow deviceauth_service hw_sc_param:file { map open read };
33 allow deviceauth_service init_param:file { map open read };
36 allow deviceauth_service net_param:file { map open read };
37 allow deviceauth_service net_tcp_param:file { map open read };
39 allow deviceauth_service ohos_param:file { map open read };
[all …]
H A Ddeviceinfoservice.te15 allow deviceinfoservice bootevent_param:file { map open read };
22 allow deviceinfoservice const_param:file { map open read };
26 allow deviceinfoservice debug_param:file { map open read };
27 allow deviceinfoservice default_param:file { map open read };
30 allow deviceinfoservice hilog_param:file { map open read };
33 allow deviceinfoservice hw_sc_param:file { map open read };
34 allow deviceinfoservice init_param:file { map open read };
37 allow deviceinfoservice net_param:file { map open read };
38 allow deviceinfoservice net_tcp_param:file { map open read };
40 allow deviceinfoservice ohos_param:file { map open read };
[all …]
H A Ddhardware.te14 allow dhardware bootevent_param:file { map open read };
21 allow dhardware const_param:file { map open read };
25 allow dhardware debug_param:file { map open read };
26 allow dhardware default_param:file { map open read };
31 allow dhardware hilog_param:file { map open read };
34 allow dhardware hw_sc_param:file { map open read };
35 allow dhardware init_param:file { map open read };
39 allow dhardware net_param:file { map open read };
40 allow dhardware net_tcp_param:file { map open read };
42 allow dhardware ohos_param:file { map open read };
[all …]
H A Ddistributedsche.te14 allow distributedsche bootevent_param:file { map open read };
21 allow distributedsche const_param:file { map open read };
25 allow distributedsche debug_param:file { map open read };
26 allow distributedsche default_param:file { map open read };
31 allow distributedsche hilog_param:file { map open read };
35 allow distributedsche hw_sc_param:file { map open read };
36 allow distributedsche init_param:file { map open read };
39 allow distributedsche net_param:file { map open read };
40 allow distributedsche net_tcp_param:file { map open read };
42 allow distributedsche ohos_param:file { map open read };
[all …]
H A Ddslm_service.te14 allow dslm_service bootevent_param:file { map open read };
21 allow dslm_service const_param:file { map open read };
25 allow dslm_service debug_param:file { map open read };
26 allow dslm_service default_param:file { map open read };
30 allow dslm_service hilog_param:file { map open read };
33 allow dslm_service hw_sc_param:file { map open read };
34 allow dslm_service init_param:file { map open read };
37 allow dslm_service net_param:file { map open read };
38 allow dslm_service net_tcp_param:file { map open read };
41 allow dslm_service ohos_param:file { map open read };
[all …]
H A Dhuks_service.te14 allow huks_service bootevent_param:file { map open read };
21 allow huks_service const_param:file { map open read };
25 allow huks_service debug_param:file { map open read };
26 allow huks_service default_param:file { map open read };
28 allow huks_service hilog_param:file { map open read };
31 allow huks_service hw_sc_param:file { map open read };
32 allow huks_service init_param:file { map open read };
35 allow huks_service net_param:file { map open read };
36 allow huks_service net_tcp_param:file { map open read };
38 allow huks_service ohos_param:file { map open read };
[all …]
H A Dmsdp_sa.te14 allow msdp_sa bootevent_param:file { map open read };
21 allow msdp_sa const_param:file { map open read };
25 allow msdp_sa debug_param:file { map open read };
26 allow msdp_sa default_param:file { map open read };
29 allow msdp_sa hilog_param:file { map open read };
32 allow msdp_sa hw_sc_param:file { map open read };
33 allow msdp_sa init_param:file { map open read };
37 allow msdp_sa net_param:file { map open read };
38 allow msdp_sa net_tcp_param:file { map open read };
40 allow msdp_sa ohos_param:file { map open read };
[all …]
H A Dscreenlock_server.te14 allow screenlock_server bootevent_param:file { map open read };
21 allow screenlock_server const_param:file { map open read };
25 allow screenlock_server debug_param:file { map open read };
26 allow screenlock_server default_param:file { map open read };
29 allow screenlock_server hilog_param:file { map open read };
32 allow screenlock_server hw_sc_param:file { map open read };
33 allow screenlock_server init_param:file { map open read };
36 allow screenlock_server net_param:file { map open read };
37 allow screenlock_server net_tcp_param:file { map open read };
39 allow screenlock_server ohos_param:file { map open read };
[all …]
H A Dsensors.te14 allow sensors bootevent_param:file { map open read };
21 allow sensors const_param:file { map open read };
25 allow sensors debug_param:file { map open read };
26 allow sensors default_param:file { map open read };
30 allow sensors hilog_param:file { map open read };
33 allow sensors hw_sc_param:file { map open read };
34 allow sensors init_param:file { map open read };
37 allow sensors net_param:file { map open read };
38 allow sensors net_tcp_param:file { map open read };
40 allow sensors ohos_param:file { map open read };
[all …]
H A Dtoken_sync_service.te15 allow token_sync_service bootevent_param:file { map open read };
22 allow token_sync_service const_param:file { map open read };
26 allow token_sync_service debug_param:file { map open read };
27 allow token_sync_service default_param:file { map open read };
29 allow token_sync_service hilog_param:file { map open read };
32 allow token_sync_service hw_sc_param:file { map open read };
33 allow token_sync_service init_param:file { map open read };
36 allow token_sync_service net_param:file { map open read };
37 allow token_sync_service net_tcp_param:file { map open read };
39 allow token_sync_service ohos_param:file { map open read };
[all …]
/ohos5.0/foundation/multimedia/audio_framework/frameworks/js/napi/common/
H A Dnapi_audio_enum.h140 … static napi_value CreateEnumObject(const napi_env &env, const std::map<std::string, int32_t> &map,
142 …c napi_value CreateEnumInt64Object(const napi_env &env, const std::map<std::string, uint64_t> &map,
202 static const std::map<std::string, int32_t> deviceRoleMap;
203 static const std::map<std::string, int32_t> deviceTypeMap;
204 static const std::map<std::string, int32_t> sourceTypeMap;
212 static const std::map<std::string, int32_t> audioStateMap;
214 static const std::map<std::string, int32_t> effectModeMap;
216 static const std::map<std::string, int32_t> audioSceneMap;
221 static const std::map<std::string, int32_t> focusTypeMap;
229 static const std::map<std::string, int32_t> toneTypeMap;
[all …]
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/
H A Dpower_spec.h240 static const std::map<RequestStatus, PowerInfo> MODE_SPEC_AG;
241 static const std::map<RequestStatus, PowerInfo> MODE_SPEC_HF;
242 static const std::map<RequestStatus, PowerInfo> MODE_SPEC_A2DP_SRC;
245 static const std::map<RequestStatus, PowerInfo> MODE_SPEC_MAP_MSE;
248 static const std::map<RequestStatus, PowerInfo> MODE_SPEC_SPP;
251 static const std::map<std::string, std::map<RequestStatus, PowerInfo>> POWER_MODE_SPEC;
252 static const std::map<PowerModeLevel, PowerParam> POWER_PARAM;
254 static const std::map<RequestStatus, PowerSsrLevel> SSR_SPEC_AG;
255 static const std::map<RequestStatus, PowerSsrLevel> SSR_SPEC_HF;
262 static const std::map<RequestStatus, PowerSsrLevel> SSR_SPEC_SPP;
[all …]
/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/source/schedule/
H A Dbuild_object.c47 void **object = get_object(map, sizeof(map) / sizeof(map[0]), modular, is_client); in build_object()
52 … if (check_mutex_object_is_null(map, sizeof(map) / sizeof(map[0]), modular, is_client) == false) { in build_object()
56 …if (check_depend_object_is_not_null(map, sizeof(map) / sizeof(map[0]), modular, is_client) == fals… in build_object()
72 if ((modular == map[i].modular) && (is_client == map[i].is_client)) { in get_object()
73 return map[i].object; in get_object()
88 if ((modular == map[i].src_modular) && (is_client == map[i].src_is_client)) { in select_relation_map()
89 select_map[count] = &map[i]; in select_relation_map()
128 …if ((map[i].modular == select_map[j]->dst_modular) && (map[i].is_client == select_map[j]->dst_is_c… in check_mutex_object_is_null()
155 …if ((map[i].modular == select_map[j]->dst_modular) && (map[i].is_client == select_map[j]->dst_is_c… in check_depend_object_is_not_null()
178 for (uint32_t i = 0; i < sizeof(map) / sizeof(map[0]); i++) { in build_object_by_modular()
[all …]

12345678910>>...121