Home
last modified time | relevance | path

Searched refs:value_type (Results 1 - 25 of 77) sorted by relevance

1234

/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/
H A Dstring.h40 using value_type = CharT;
41 using pointer = value_type*;
42 using const_pointer = const value_type*;
43 using reference = value_type&;
44 using const_reference = const value_type&;
74 data_.shortString.size = static_cast<value_type>(shortCapacity); in allocator_()
87 CloneData(ptr, len * sizeof(value_type), str.data_.longString.begin, len * sizeof(value_type)); in basic_string()
96 data_.shortString.size = static_cast<value_type>(shortCapacity); in basic_string()
105 a.data_.shortString.size = static_cast<value_type>(shortCapacit in move()
[all...]
H A Dvector.h25 sizeof(value_type) is enough to align to next object) Exceptions are not handled (In engine exceptions are disabled
67 using value_type = E;
138 using value_type = T;
140 using pointer = value_type*;
141 using reference = value_type&;
144 using const_reference = const value_type&;
145 using const_pointer = const value_type*;
224 enable_if_t<is_same<remove_const_t<typename InputIt::value_type>, value_type>::value, int> = 0>
468 pointer tmp = (pointer)allocator_.alloc(size_ * sizeof(value_type)); in shrink_to_fit()
1078 __is_trivially_constructible(value_type, add_lvalue_reference_t<const value_type>) init_copy() argument
1081 __is_constructible(value_type, add_lvalue_reference_t<const value_type>) init_copy() argument
[all...]
H A Darray_view.h35 using value_type = T;
37 using pointer = value_type*;
38 using reference = value_type&;
41 using const_reference = const value_type&;
42 using const_pointer = const value_type*;
55 constexpr array_view(value_type (&arr)[N]) noexcept : begin_(arr), size_(N) in size_()
60 template<class U, class = enable_if_t<is_same<remove_const_t<T>, typename U::value_type>::value>>
63 template<class U, class = enable_if_t<is_same<remove_const_t<T>, typename U::value_type>::value>>
H A Dunordered_map.h55 using value_type = typename base_container::value_type;
118 using value_type = typename base_container::value_type;
184 using key_type = typename data_type::value_type::first_type;
185 using mapped_type = typename data_type::value_type::second_type;
186 using value_type = data_type;
221 using value_type = pair<const Key, T>;
222 using reference = value_type&;
223 using const_reference = const value_type
[all...]
H A Diterator.h47 using value_type = typename T::value_type;
147 using value_type = typename T::value_type;
259 using value_type = typename Iter::value_type;
368 using value_type = typename Iter::value_type;
371 using reference = value_type&&;
/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"),
60 std::map<FormEventName, std::string>::value_type(FormEventName::ACQUIREFORMSTATE_FORM, "ACQUIREFORMSTATE_FORM"),
61 std::map<FormEventName, std::string>::value_type(FormEventName::MESSAGE_EVENT_FORM, "MESSAGE_EVENT_FORM"),
62 std::map<FormEventName, std::string>::value_type(FormEventName::ROUTE_EVENT_FORM, "ROUTE_EVENT_FORM"),
63 std::map<FormEventName, std::string>::value_type(FormEventName::BACKGROUND_EVENT_FORM, "BACKGROUND_EVENT_FORM"),
64 std::map<FormEventName, std::string>::value_type(FormEventNam
[all...]
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/
H A Darray_view.h32 using value_type = T;
69 using value_type = T;
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)
95 template<class U, class = std::enable_if_t<std::is_same<std::remove_const_t<T>, typename U::value_type>::value>>
98 template<class U, class = std::enable_if_t<std::is_same<std::remove_const_t<T>, typename U::value_type>::value>>
/foundation/distributedhardware/distributed_audio/common/src/
H A Ddaudio_util.cpp50 std::map<std::string, JsonTypeCheckFunc>::value_type(KEY_TYPE, &DistributedHardware::IsInt32),
51 std::map<std::string, JsonTypeCheckFunc>::value_type(KEY_EVENT_CONTENT, &DistributedHardware::IsString),
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),
55 std::map<std::string, JsonTypeCheckFunc>::value_type(KEY_CHANGE_TYPE, &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),
59 std::map<std::string, JsonTypeCheckFunc>::value_type(KEY_AUDIO_PARA
[all...]
/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()
/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_108
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/
H A Drs_profiler_packet.h140 return Read(value.data(), size * sizeof(typename T::value_type)); in Read()
144 typename T::value_type v {}; in Read()
175 return Write(value.data(), value.size() * sizeof(typename T::value_type)); in Write()
/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()
/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...]
/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/
H A Drender_node_parser_util.cpp353 ParseArray<decltype(renderPass.attachments)::value_type>(*rp, "attachments", renderPass.attachments, result); 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>(jsonValu in GetGpuBufferDescs()
[all...]
/foundation/ability/ability_runtime/services/dataobsmgr/include/
H A Dconcurrent_map.h32 using value_type = typename std::map<_Key, _Tp>::value_type;
131 auto it = entries_.insert(value_type { key, value });
169 [&action](value_type &value) -> bool { return action(value.first, value.second); });
/foundation/distributeddatamgr/kv_store/frameworks/common/
H A Dconcurrent_map.h32 using value_type = typename std::map<_Key, _Tp>::value_type;
144 auto it = entries_.insert(value_type { key, value });
182 [&action](value_type &value) -> bool { return action(value.first, value.second); });
/foundation/distributeddatamgr/pasteboard/framework/framework/include/common/
H A Dconcurrent_map.h27 using value_type = typename std::map<_Key, _Tp>::value_type;
106 auto it = entries_.insert(value_type{ key, value });
143 auto count = std::erase_if(entries_, [&action](value_type &value) -> bool {
/foundation/distributeddatamgr/relational_store/rdbmock/frameworks/native/rdb/
H A Dconcurrent_map.h32 using value_type = typename std::map<_Key, _Tp>::value_type;
131 auto it = entries_.insert(value_type { key, value });
169 [&action](value_type &value) -> bool { return action(value.first, value.second); });
/foundation/window/window_manager/window_scene/session_manager/src/
H A Dsession_manager_agent_controller.cpp40 sptr<IWindowManagerAgent>>::value_type(type, windowManagerAgent)); in RegisterWindowManagerAgent()
44 sptr<IWindowManagerAgent>>::value_type(type, windowManagerAgent)); in RegisterWindowManagerAgent()
46 std::map<WindowManagerAgentType, sptr<IWindowManagerAgent>>>::value_type(pid, typeAgentMap)); in RegisterWindowManagerAgent()
50 std::pair<int32_t, WindowManagerAgentType>>::value_type(windowManagerAgent->AsObject(), pidPair)); in RegisterWindowManagerAgent()
/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/
H A Dvertex_input_declaration_loader.cpp64 ParseArray<decltype(bindings)::value_type>(jsonData, "vertexInputBindingDescriptions", bindings, result); in LoadState()
65 ParseArray<decltype(attributes)::value_type>(jsonData, "vertexInputAttributeDescriptions", attributes, result); in LoadState()
/foundation/ability/dmsfwk/services/dtbschedmgr/src/continue/
H A Ddsched_continue.cpp84 std::map<int32_t, int32_t>::value_type(SoftBusErrNo::SOFTBUS_CONN_PASSIVE_TYPE_AP_STA_CHIP_CONFLICT,
86 std::map<int32_t, int32_t>::value_type(SoftBusErrNo::SOFTBUS_CONN_PASSIVE_TYPE_AP_P2P_CHIP_CONFLICT,
88 std::map<int32_t, int32_t>::value_type(SoftBusErrNo::SOFTBUS_CONN_PASSIVE_TYPE_AP_HML_CHIP_CONFLICT,
90 std::map<int32_t, int32_t>::value_type(SoftBusErrNo::SOFTBUS_CONN_PASSIVE_TYPE_AP_STA_HML_CHIP_CONFLICT,
92 std::map<int32_t, int32_t>::value_type(SoftBusErrNo::SOFTBUS_CONN_PASSIVE_TYPE_AP_STA_P2P_CHIP_CONFLICT,
94 std::map<int32_t, int32_t>::value_type(SoftBusErrNo::SOFTBUS_CONN_PASSIVE_TYPE_AP_P2P_HML_CHIP_CONFLICT,
96 std::map<int32_t, int32_t>::value_type(ERROR_PEER_THREE_VAP_CONFLICT,
99 std::map<int32_t, int32_t>::value_type(SoftBusErrNo::SOFTBUS_CONN_PASSIVE_TYPE_HML_NUM_LIMITED_CONFLICT,
101 std::map<int32_t, int32_t>::value_type(SoftBusErrNo::SOFTBUS_CONN_PV1_PEER_GC_CONNECTED_TO_ANOTHER_DEVICE,
103 std::map<int32_t, int32_t>::value_type(SoftBusErrN
[all...]
/foundation/window/window_manager/test/fuzztest/window_scene/
H A Ddata_source.h60 auto rawSize = sizeof(std::string::value_type) * num; in GetString()
/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/tools/
H A Dutils.cpp77 userInputShapes.insert(std::map<string, std::vector<int>>::value_type(userInputName, inputDims)); in GetInputNameAndShape()
87 nameIndexs.insert(std::map<string, int>::value_type(interpreter->GetInputName(i), inputIndexes[i])); in FilterDynamicInputs()
113 neededInputShapes.insert(std::map<int, std::vector<int>>::value_type(findName->second, inputShape.second)); in FilterDynamicInputs()
/foundation/arkui/napi/sample/native_module_systemtest/
H A Djs_test_threadsafe_napi.cpp149 napi_valuetype value_type; in StopThread() local
150 NAPI_CALL(env, napi_typeof(env, argv[0], &value_type)); in StopThread()
151 NAPI_ASSERT(env, value_type == napi_function, "StopThread argument is a function"); in StopThread()
/foundation/distributeddatamgr/preferences/frameworks/native/include/
H A Dconcurrent_map.h33 using value_type = typename std::map<_Key, _Tp>::value_type;
160 auto it = entries_.insert(value_type { key, value });
212 [&action](value_type &value) -> bool { return action(value.first, value.second); });

Completed in 17 milliseconds

1234