Home
last modified time | relevance | path

Searched refs:position (Results 1 – 16 of 16) sorted by relevance

/drivers/hdf_core/framework/tools/hdi-gen/util/
Dstring_helper.cpp103 const std::string &value, size_t position, const std::string &substr, const std::string &newstr) in Replace() argument
105 if (position >= value.size()) { in Replace()
109 std::string prefix = value.substr(0, position); in Replace()
110 std::string suffix = value.substr(position); in Replace()
114 std::string StringHelper::Replace(const std::string &value, size_t position, size_t len, const std:… in Replace() argument
116 if (position >= value.size() || len == 0) { in Replace()
120 std::string prefix = value.substr(0, position); in Replace()
121 std::string suffix = value.substr(position); in Replace()
Dstring_helper.h35 … const std::string &value, size_t position, const std::string &substr, const std::string &newstr);
37 …static std::string Replace(const std::string &value, size_t position, size_t len, const std::strin…
/drivers/peripheral/display/composer/test/common/
Ddisplay_test_utils.cpp109 int32_t position = y * handle.width + x; in GetPixelValue() local
110 if ((position * PIXEL_BYTES) > handle.size) { in GetPixelValue()
113 uint32_t *pixel = reinterpret_cast<uint32_t *>(handle.virAddr) + position; in GetPixelValue()
142 int32_t position = y * handle.width + x; in CheckPixel() local
143 if ((position * PIXEL_BYTES) > handle.size) { in CheckPixel()
146 uint32_t *pixel = reinterpret_cast<uint32_t *>(handle.virAddr) + position; in CheckPixel()
183 int32_t position = y * handle.width + x; in SetPixel() local
184 if ((position * PIXEL_BYTES) > handle.size) { in SetPixel()
187 uint32_t *pixel = reinterpret_cast<uint32_t *>(handle.virAddr) + position; in SetPixel()
Dhdi_test_render_utils.cpp42 int32_t position = y * handle.width + x; in SetPixel() local
43 if ((position * PIXEL_BYTES) > handle.size) { in SetPixel()
46 uint32_t* pixel = reinterpret_cast<uint32_t *>(handle.virAddr) + position; in SetPixel()
/drivers/peripheral/display/hal/default_standard/src/display_device/core/
Dhdi_layer.cpp194 int32_t position = y * handle.width + x; in SetPixel() local
195 if ((position * pixelBytes) > handle.size) { in SetPixel()
198 uint32_t *pixel = reinterpret_cast<uint32_t *>(handle.virAddr) + position; in SetPixel()
/drivers/hdf_core/framework/tools/hdi-gen/preprocessor/
Dpreprocessor.cpp260 auto position = otherFile.imports_.find(curFile.GetFullName()); in CheckCircularReference() local
261 if (position != otherFile.imports_.end()) { in CheckCircularReference()
262 otherFile.imports_.erase(position); in CheckCircularReference()
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/engine/graphics/
DXShader.js36 this.shaderFast.position = gl.getAttribLocation(
DX2DFast.js248 gl.vertexAttribPointer(ps.position, 3, gl.FLOAT, false, 4 * 14, 0);
249 gl.enableVertexAttribArray(ps.position);
/drivers/peripheral/distributed_camera/hdi_service/src/dcamera_device/
Ddmetadata_processor.cpp174 const uint8_t position = OHOS_CAMERA_POSITION_BACK; in InitDCameraDefaultAbilityKeys() local
175 AddAbilityEntry(OHOS_ABILITY_CAMERA_POSITION, &position, 1); in InitDCameraDefaultAbilityKeys()
177 const uint8_t position = OHOS_CAMERA_POSITION_FRONT; in InitDCameraDefaultAbilityKeys() local
178 AddAbilityEntry(OHOS_ABILITY_CAMERA_POSITION, &position, 1); in InitDCameraDefaultAbilityKeys()
180 const uint8_t position = OHOS_CAMERA_POSITION_OTHER; in InitDCameraDefaultAbilityKeys() local
181 AddAbilityEntry(OHOS_ABILITY_CAMERA_POSITION, &position, 1); in InitDCameraDefaultAbilityKeys()
/drivers/peripheral/format/interfaces/include/
Dformat_type.h180 int64_t position; /**< Position of the data frame in the file */ member
/drivers/interface/camera/v1_0/
DTypes.idl185 * The camera device is not in position or is unavailable.
/drivers/interface/codec/v1_0/
DCodecTypes.idl359 …unsigned int offset; /**< Offset to the start position of the valid data in the bu…
/drivers/interface/audio/v1_0/
DAudioTypes.idl100 * A mask describes an audio channel position.
DIAudioCapture.idl266 * @brief Obtains the read/write position of the current mmap buffer.
DIAudioRender.idl350 * @brief Obtains the read/write position of the current mmap buffer.
/drivers/peripheral/format/
DREADME.md157 …10484641162215"></a><a name="p10484641162215"></a>Seeks for a specified position for the demuxer.<…