Home
last modified time | relevance | path

Searched refs:position (Results 1 - 14 of 14) sorted by relevance

/drivers/hdf_core/framework/tools/hdi-gen/util/
H A Dstring_helper.cpp103 const std::string &value, size_t position, const std::string &substr, const std::string &newstr) in Replace()
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::string &newStr) 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()
102 Replace( const std::string &value, size_t position, const std::string &substr, const std::string &newstr) Replace() argument
H A 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::string &newStr);
/drivers/peripheral/display/composer/test/common/
H A Dhdi_test_render_utils.cpp42 int32_t position = y * handle.width + x; in SetPixel() local
43 if ((position * PIXEL_BYTES) > handle.size) { in SetPixel()
44 DISPLAY_TEST_LOGE("the pixel position outside\n"); in SetPixel()
46 uint32_t* pixel = reinterpret_cast<uint32_t *>(handle.virAddr) + position; in SetPixel()
H A Ddisplay_test_utils.cpp108 int32_t position = y * handle.width + x; in GetPixelValue() local
109 if ((position * PIXEL_BYTES) > handle.size) { in GetPixelValue()
110 DISPLAY_TEST_LOGE("the pixel position outside\n"); in GetPixelValue()
112 uint32_t *pixel = reinterpret_cast<uint32_t *>(handle.virAddr) + position; in GetPixelValue()
141 int32_t position = y * handle.width + x; in CheckPixel() local
142 if ((position * PIXEL_BYTES) > handle.size) { in CheckPixel()
143 DISPLAY_TEST_LOGE("the pixel position outside\n"); in CheckPixel()
145 uint32_t *pixel = reinterpret_cast<uint32_t *>(handle.virAddr) + position; in CheckPixel()
182 int32_t position = y * handle.stride / PIXEL_BYTES + x; in SetPixel() local
183 if ((position * PIXEL_BYTE in SetPixel()
[all...]
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/engine/graphics/shaders/
H A Dshader_fast.js17 attribute vec3 position;
34 vec4 tv=vec4(position.x, position.y, position.z, 1.0)*tmpMat*uMat;
/drivers/peripheral/display/hal/default_standard/src/display_device/core/
H A Dhdi_layer.cpp194 int32_t position = y * handle.width + x; in SetPixel() local
195 if ((position * pixelBytes) > handle.size) { in SetPixel()
196 DISPLAY_LOGE("the pixel position outside\n"); in SetPixel()
198 uint32_t *pixel = reinterpret_cast<uint32_t *>(handle.virAddr) + position; in SetPixel()
/drivers/hdf_core/framework/tools/hdi-gen/preprocessor/
H A 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/peripheral/display/composer/vdi_base/src/
H A Dhdi_layer.cpp248 int32_t position = y * handle.width + x; in SetPixel() local
249 if ((position * pixelBytes) > handle.size) { in SetPixel()
252 uint32_t *pixel = reinterpret_cast<uint32_t *>(handle.virAddr) + position; in SetPixel()
/drivers/peripheral/wlan/hostapd/interfaces/hdi_service/service_common/
H A Dhdi_hostapd_hal.c633 static int AddParam(unsigned int position, const char *cmd, const char *arg, char outDataBuf[], unsigned int outSize) in AddParam() argument
640 if ((unsigned int)(position + strlen(cmd) + strlen(arg) + ADDITIONAL_SPACE_FOR_FORMATTING) >= outSize) { in AddParam()
645 int ret = sprintf_s(&outDataBuf[position], outSize - position, "%s=%s,", cmd, arg); in AddParam()
650 position += ret; in AddParam()
651 return position; in AddParam()
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/engine/graphics/
H A DXShader.js36 this.shaderFast.position = gl.getAttribLocation(
38 'position'
/drivers/external_device_manager/services/native/driver_extension_manager/src/drivers_pkg_manager/
H A Dpkg_db_helper.cpp344 int32_t position = 0; in QueryAndGetResultColumnValues() local
345 resultSet->GetRowIndex(position); in QueryAndGetResultColumnValues()
348 columnIndex, rowCount, position, columnValues.size(), (endFlag ? "yes" : "no")); in QueryAndGetResultColumnValues()
/drivers/peripheral/distributed_camera/hdi_service/src/dcamera_device/
H A Ddmetadata_processor.cpp186 const uint8_t position = OHOS_CAMERA_POSITION_BACK; in InitDCameraDefaultAbilityKeys() local
187 AddAbilityEntry(OHOS_ABILITY_CAMERA_POSITION, &position, 1); in InitDCameraDefaultAbilityKeys()
189 const uint8_t position = OHOS_CAMERA_POSITION_FRONT; in InitDCameraDefaultAbilityKeys() local
190 AddAbilityEntry(OHOS_ABILITY_CAMERA_POSITION, &position, 1); in InitDCameraDefaultAbilityKeys()
192 const uint8_t position = OHOS_CAMERA_POSITION_OTHER; in InitDCameraDefaultAbilityKeys() local
193 AddAbilityEntry(OHOS_ABILITY_CAMERA_POSITION, &position, 1); in InitDCameraDefaultAbilityKeys()
/drivers/peripheral/format/interfaces/include/
H A Dformat_type.h93 FORMAT_SEEK_MODE_FORWARD_KEY, /**< Seeks forwards for the keyframe closest to specified position. */
94 FORMAT_SEEK_MODE_BACKWARD_KEY, /**< Seeks backwards for the keyframe closest to specified position. */
95 FORMAT_SEEK_MODE_CLOSEST_KEY, /**< Seeks for the keyframe closest to specified position. */
180 int64_t position; /**< Position of the data frame in the file */ member
656 * @param extra Indicates other information, for example, the start time position of the captured file.
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/src/
H A Daudio_adapter_interface_impl.cpp859 std::string::size_type position = condition.find_first_of(";"); in getEventTypeFromCondition() local
860 int32_t len = static_cast<int32_t>(position) - TYPE_CONDITION; in getEventTypeFromCondition()
861 if (len < 0 || len > MAX_EVENT_DIGITS || position == std::string::npos) { in getEventTypeFromCondition()

Completed in 11 milliseconds