/drivers/hdf_core/framework/tools/hdi-gen/util/ |
H A D | string_helper.cpp | 103 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 D | string_helper.h | 35 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 D | hdi_test_render_utils.cpp | 42 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 D | display_test_utils.cpp | 108 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 D | shader_fast.js | 17 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 D | hdi_layer.cpp | 194 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 D | preprocessor.cpp | 260 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 D | hdi_layer.cpp | 248 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 D | hdi_hostapd_hal.c | 633 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 D | XShader.js | 36 this.shaderFast.position = gl.getAttribLocation( 38 'position'
|
/drivers/external_device_manager/services/native/driver_extension_manager/src/drivers_pkg_manager/ |
H A D | pkg_db_helper.cpp | 344 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 D | dmetadata_processor.cpp | 186 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 D | format_type.h | 93 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 D | audio_adapter_interface_impl.cpp | 859 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()
|