Home
last modified time | relevance | path

Searched refs:value_type (Results 1 – 25 of 93) sorted by relevance

1234

/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/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/
H A Dstring.h40 using value_type = CharT; variable
41 using pointer = value_type*;
43 using reference = value_type&;
162 value_type& back() in back()
167 const value_type& back() const in back()
172 value_type& front() in front()
271 CloneData(dst, cap * sizeof(value_type), str, count * sizeof(value_type)); in assign()
273 MoveData(dst, cap * sizeof(value_type), str, count * sizeof(value_type)); in assign()
525 CloneData(ptr, newSize * sizeof(value_type), oldPtr, pos * sizeof(value_type)); in insert()
896 CloneData(dst, count * sizeof(value_type), str, count * sizeof(value_type)); in construct()
[all …]
H A Dvector.h67 using value_type = E;
138 using value_type = T;
140 using pointer = value_type*;
141 using reference = value_type&;
930 value_type>; in copy()
982 ClearToValue(c, sizeof(value_type), POISON, sizeof(value_type)); in destroy_at()
998 ClearToValue(c, sizeof(value_type), POISON, sizeof(value_type)); in destroy()
1024 CloneData(dst, size * sizeof(value_type), src, size * sizeof(value_type)); in init_move()
1066 CloneData(p, sizeof(value_type), &value, sizeof(value_type)); in init_fill()
1080 CloneData(dst, size * sizeof(value_type), src, size * sizeof(value_type)); in init_copy()
[all …]
H A Darray_view.h35 using value_type = T; in BASE_BEGIN_NAMESPACE()
37 using pointer = value_type*; in BASE_BEGIN_NAMESPACE()
38 using reference = value_type&; in BASE_BEGIN_NAMESPACE()
41 using const_reference = const value_type&; in BASE_BEGIN_NAMESPACE()
42 using const_pointer = const value_type*; in BASE_BEGIN_NAMESPACE()
55 constexpr array_view(value_type (&arr)[N]) noexcept : begin_(arr), size_(N) in BASE_BEGIN_NAMESPACE()
60 … template<class U, class = enable_if_t<is_same<remove_const_t<T>, typename U::value_type>::value>> in BASE_BEGIN_NAMESPACE()
63 … template<class U, class = enable_if_t<is_same<remove_const_t<T>, typename U::value_type>::value>> in BASE_BEGIN_NAMESPACE()
H A Dunordered_map.h55 using value_type = typename base_container::value_type; variable
118 using value_type = typename base_container::value_type; variable
186 using value_type = data_type; member
221 using value_type = pair<const Key, T>; variable
222 using reference = value_type&;
223 using const_reference = const value_type&;
224 using pointer = value_type*;
225 using const_pointer = const value_type*;
229 using value_type = pair<const Key, T>; member
232 value_type data {};
[all …]
H A Diterator.h47 using value_type = typename T::value_type; variable
147 using value_type = typename T::value_type; variable
259 using value_type = typename Iter::value_type; variable
368 using value_type = typename Iter::value_type; variable
371 using reference = value_type&&;
/ohos5.0/foundation/ability/form_fwk/services/src/
H A Dform_event_report.cpp55 std::map<FormEventName, std::string>::value_type(FormEventName::ADD_FORM, "ADD_FORM"),
56 std::map<FormEventName, std::string>::value_type(FormEventName::REQUEST_FORM, "REQUEST_FORM"),
57 std::map<FormEventName, std::string>::value_type(FormEventName::REQUEST_FORM, "REQUEST_FORM"),
58 std::map<FormEventName, std::string>::value_type(FormEventName::DELETE_FORM, "DELETE_FORM"),
59 std::map<FormEventName, std::string>::value_type(FormEventName::CASTTEMP_FORM, "CASTTEMP_FORM"),
64 std::map<FormEventName, std::string>::value_type(FormEventName::RELEASE_FORM, "RELEASE_FORM"),
66 std::map<FormEventName, std::string>::value_type(
72 std::map<FormEventName, std::string>::value_type(
74 std::map<FormEventName, std::string>::value_type(
76 std::map<FormEventName, std::string>::value_type(
[all …]
/ohos5.0/base/hiviewdfx/hisysevent/interfaces/rust/innerkits/src/
H A Dsys_event.rs179 let mut value_type = std::any::type_name::<T>(); in parse_type_len() localVariable
180 let mut bytes = value_type.as_bytes(); in parse_type_len()
182 value_type = &value_type[1..]; in parse_type_len()
183 bytes = value_type.as_bytes(); in parse_type_len()
189 return (&value_type[1..], 0); in parse_type_len()
191 return (value_type, 0); in parse_type_len()
206 let array_len = value_type[len_start..(bytes.len() - 1)].parse::<usize>().unwrap(); in parse_type_len()
209 (&value_type[2..val_end], array_len) in parse_type_len()
211 (&value_type[1..val_end], array_len) in parse_type_len()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/
H A Darray_view.h32 using value_type = T; member
69 using value_type = T; variable
71 using pointer = value_type*;
72 using reference = value_type&;
75 using const_reference = const value_type&;
76 using const_pointer = const value_type*;
89 constexpr array_view(value_type (&arr)[N]) noexcept : begin_(arr), size_(N), end_(arr + N) in array_view()
95 …s U, class = std::enable_if_t<std::is_same<std::remove_const_t<T>, typename U::value_type>::value>>
98 …s U, class = std::enable_if_t<std::is_same<std::remove_const_t<T>, typename U::value_type>::value>>
/ohos5.0/foundation/distributedhardware/distributed_audio/common/src/
H A Ddaudio_util.cpp50 std::map<std::string, JsonTypeCheckFunc>::value_type(KEY_TYPE, &DistributedHardware::IsInt32),
52 std::map<std::string, JsonTypeCheckFunc>::value_type(KEY_DH_ID, &DistributedHardware::IsString),
53 std::map<std::string, JsonTypeCheckFunc>::value_type(KEY_REQID, &DistributedHardware::IsString),
54 … std::map<std::string, JsonTypeCheckFunc>::value_type(KEY_VERSION, &DistributedHardware::IsString),
56 … std::map<std::string, JsonTypeCheckFunc>::value_type(KEY_DEV_ID, &DistributedHardware::IsString),
57 std::map<std::string, JsonTypeCheckFunc>::value_type(KEY_RESULT, &DistributedHardware::IsInt32),
58 …std::map<std::string, JsonTypeCheckFunc>::value_type(KEY_EVENT_TYPE, &DistributedHardware::IsInt32…
60 std::map<std::string, JsonTypeCheckFunc>::value_type(KEY_ATTRS, &DistributedHardware::IsString),
63 … std::map<std::string, JsonTypeCheckFunc>::value_type(KEY_CHANNELS, &DistributedHardware::IsInt32),
64 std::map<std::string, JsonTypeCheckFunc>::value_type(KEY_FORMAT, &DistributedHardware::IsInt32),
[all …]
/ohos5.0/foundation/distributedhardware/distributed_camera/services/data_process/src/pipeline_node/multimedia_codec/encoder/
H A Dencode_data_process.cpp32 std::map<int64_t, int32_t>::value_type(WIDTH_320_HEIGHT_240, BITRATE_500000),
33 std::map<int64_t, int32_t>::value_type(WIDTH_480_HEIGHT_360, BITRATE_1110000),
34 std::map<int64_t, int32_t>::value_type(WIDTH_640_HEIGHT_360, BITRATE_1500000),
35 std::map<int64_t, int32_t>::value_type(WIDTH_640_HEIGHT_480, BITRATE_1800000),
36 std::map<int64_t, int32_t>::value_type(WIDTH_720_HEIGHT_540, BITRATE_2100000),
37 std::map<int64_t, int32_t>::value_type(WIDTH_960_HEIGHT_540, BITRATE_2300000),
38 std::map<int64_t, int32_t>::value_type(WIDTH_960_HEIGHT_720, BITRATE_2800000),
39 std::map<int64_t, int32_t>::value_type(WIDTH_1280_HEIGHT_720, BITRATE_3400000),
40 std::map<int64_t, int32_t>::value_type(WIDTH_1440_HEIGHT_1080, BITRATE_5000000),
41 std::map<int64_t, int32_t>::value_type(WIDTH_1920_HEIGHT_1080, BITRATE_6000000),
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/codec/
H A Dbyte_buffer_operator.h90 … readPos_ + static_cast<uint32_t>(sizeof(typename T::value_type) * length) > buffer_.size()) { in ReadArray()
94 auto data = reinterpret_cast<const typename T::value_type*>(buffer_.data() + readPos_); in ReadArray()
96 readPos_ += static_cast<uint32_t>(sizeof(typename T::value_type) * length); in ReadArray()
161 buffer_.insert(buffer_.end(), data, data + sizeof(typename T::value_type) * array.size()); in WriteArray()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/
H A Drender_node_parser_util.cpp353 …ParseArray<decltype(renderPass.attachments)::value_type>(*rp, "attachments", renderPass.attachment… in ParseRenderpass()
415 … ParseArray<decltype(resources.buffers)::value_type>(*res, "buffers", resources.buffers, result); in ParseResources()
416 … ParseArray<decltype(resources.images)::value_type>(*res, "images", resources.images, result); in ParseResources()
417 …ParseArray<decltype(resources.samplers)::value_type>(*res, "samplers", resources.samplers, result); in ParseResources()
419 ParseArray<decltype(resources.customInputBuffers)::value_type>( in ParseResources()
421 ParseArray<decltype(resources.customOutputBuffers)::value_type>( in ParseResources()
424 ParseArray<decltype(resources.customInputImages)::value_type>( in ParseResources()
426 ParseArray<decltype(resources.customOutputImages)::value_type>( in ParseResources()
523 ParseArray<decltype(resources)::value_type>(jsonValue, name.data(), resources, result); in GetGpuImageDescs()
541 ParseArray<decltype(resources)::value_type>(jsonValue, name.data(), resources, result); in GetGpuBufferDescs()
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/distributedWant/
H A Ddistributed_want_params.cpp49 std::map<int, DistributedWantParams::InterfaceQueryToStrFunc>::value_type(
51 std::map<int, DistributedWantParams::InterfaceQueryToStrFunc>::value_type(
53 std::map<int, DistributedWantParams::InterfaceQueryToStrFunc>::value_type(
55 std::map<int, DistributedWantParams::InterfaceQueryToStrFunc>::value_type(
57 std::map<int, DistributedWantParams::InterfaceQueryToStrFunc>::value_type(
59 std::map<int, DistributedWantParams::InterfaceQueryToStrFunc>::value_type(
61 std::map<int, DistributedWantParams::InterfaceQueryToStrFunc>::value_type(
63 std::map<int, DistributedWantParams::InterfaceQueryToStrFunc>::value_type(
65 std::map<int, DistributedWantParams::InterfaceQueryToStrFunc>::value_type(
67 std::map<int, DistributedWantParams::InterfaceQueryToStrFunc>::value_type(
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/recorder/
H A Devent_controller.cpp81 … [&nodeIt](const std::list<std::string>::value_type& id) { nodeIt->second.emplace(id); }); in NotifyConfigChange()
85 … [&nodeSet](const std::list<std::string>::value_type& id) { nodeSet.emplace(id); }); in NotifyConfigChange()
93 … const std::list<ExposureCfg>::value_type& cfg) { exposureIt->second.emplace(cfg); }); in NotifyConfigChange()
97 … [&exposureSet](const std::list<ExposureCfg>::value_type& cfg) { exposureSet.emplace(cfg); }); in NotifyConfigChange()
184 … [&exposureSet](const std::list<ExposureCfg>::value_type& cfg) { exposureSet.emplace(cfg); }); in ApplyExposureCfgInner()
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/
H A Dsession_manager_agent_controller.cpp40 sptr<IWindowManagerAgent>>::value_type(type, windowManagerAgent)); in WM_IMPLEMENT_SINGLE_INSTANCE()
44 sptr<IWindowManagerAgent>>::value_type(type, windowManagerAgent)); in WM_IMPLEMENT_SINGLE_INSTANCE()
46 … std::map<WindowManagerAgentType, sptr<IWindowManagerAgent>>>::value_type(pid, typeAgentMap)); in WM_IMPLEMENT_SINGLE_INSTANCE()
50 … std::pair<int32_t, WindowManagerAgentType>>::value_type(windowManagerAgent->AsObject(), pidPair)); in WM_IMPLEMENT_SINGLE_INSTANCE()
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/continue/
H A Ddsched_continue.cpp83 …std::map<int32_t, int32_t>::value_type(SoftBusErrNo::SOFTBUS_CONN_PASSIVE_TYPE_AP_STA_CHIP_CONFLIC…
85 …std::map<int32_t, int32_t>::value_type(SoftBusErrNo::SOFTBUS_CONN_PASSIVE_TYPE_AP_P2P_CHIP_CONFLIC…
87 …std::map<int32_t, int32_t>::value_type(SoftBusErrNo::SOFTBUS_CONN_PASSIVE_TYPE_AP_HML_CHIP_CONFLIC…
89 …std::map<int32_t, int32_t>::value_type(SoftBusErrNo::SOFTBUS_CONN_PASSIVE_TYPE_AP_STA_HML_CHIP_CON…
91 …std::map<int32_t, int32_t>::value_type(SoftBusErrNo::SOFTBUS_CONN_PASSIVE_TYPE_AP_STA_P2P_CHIP_CON…
93 …std::map<int32_t, int32_t>::value_type(SoftBusErrNo::SOFTBUS_CONN_PASSIVE_TYPE_AP_P2P_HML_CHIP_CON…
95 std::map<int32_t, int32_t>::value_type(ERROR_PEER_THREE_VAP_CONFLICT,
98 …std::map<int32_t, int32_t>::value_type(SoftBusErrNo::SOFTBUS_CONN_PASSIVE_TYPE_HML_NUM_LIMITED_CON…
104 …std::map<int32_t, int32_t>::value_type(SoftBusErrNo::SOFTBUS_CONN_PASSIVE_TYPE_STA_P2P_HML_55_CONF…
114 … std::map<int32_t, int32_t>::value_type(SoftBusErrNo::SOFTBUS_CONN_PASSIVE_TYPE_P2P_GO_GC_CONFLICT,
[all …]
/ohos5.0/base/theme/wallpaper_mgr/utils/include/
H A Dconcurrent_map.h26 using value_type = typename std::map<_Key, _Tp>::value_type; variable
103 auto it = entries_.insert(value_type{ key, value }); in Insert()
141 … entries_, [&action](value_type &value) -> bool { return action(value.first, value.second); }); in EraseIf()
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/framework/include/common/
H A Dconcurrent_map.h27 using value_type = typename std::map<_Key, _Tp>::value_type; variable
106 auto it = entries_.insert(value_type{ key, value }); in Insert()
144 … entries_, [&action](value_type &value) -> bool { return action(value.first, value.second); }); in EraseIf()
/ohos5.0/foundation/ability/ability_runtime/services/dataobsmgr/include/
H A Dconcurrent_map.h32 using value_type = typename std::map<_Key, _Tp>::value_type; variable
131 auto it = entries_.insert(value_type { key, value }); in Insert()
169 [&action](value_type &value) -> bool { return action(value.first, value.second); }); in EraseIf()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/
H A Drs_profiler_packet.h165 return Read(value.data(), size * sizeof(typename T::value_type));
169 typename T::value_type v {};
200 return Write(value.data(), value.size() * sizeof(typename T::value_type));
/ohos5.0/base/inputmethod/imf/frameworks/common/
H A Dconcurrent_map.h32 using value_type = typename std::map<_Key, _Tp>::value_type; variable
131 auto it = entries_.insert(value_type { key, value }); in Insert()
169 [&action](value_type &value) -> bool { return action(value.first, value.second); }); in EraseIf()
/ohos5.0/foundation/distributeddatamgr/relational_store/rdbmock/frameworks/native/rdb/
H A Dconcurrent_map.h32 using value_type = typename std::map<_Key, _Tp>::value_type; variable
131 auto it = entries_.insert(value_type { key, value }); in Insert()
169 [&action](value_type &value) -> bool { return action(value.first, value.second); }); in EraseIf()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/common/
H A Dconcurrent_map.h32 using value_type = typename std::map<_Key, _Tp>::value_type; variable
144 auto it = entries_.insert(value_type { key, value }); in Insert()
182 [&action](value_type &value) -> bool { return action(value.first, value.second); }); in EraseIf()
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/include/
H A Dconcurrent_map.h33 using value_type = typename std::map<_Key, _Tp>::value_type; variable
160 auto it = entries_.insert(value_type { key, value }); in Insert()
212 [&action](value_type &value) -> bool { return action(value.first, value.second); }); in EraseIf()

1234