Home
last modified time | relevance | path

Searched refs:substr (Results 226 - 250 of 972) sorted by relevance

12345678910>>...39

/foundation/communication/netstack/frameworks/js/napi/socket/options/src/
H A Dnet_address.cpp52 auto subAddr = address.substr(0, pos); in SetIpAddress()
89 auto subAddr = address.substr(0, pos); in SetIpAddressInner()
/foundation/distributedhardware/device_manager/radar/src/lite/
H A Ddm_radar_helper.cpp179 return udid.substr(0, SUBSTR_UDID_LENGTH) + "**" + udid.substr(udid.length() - SUBSTR_UDID_LENGTH); in GetAnonyUdid()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/
H A Dmedia_file_utils.cpp366 fileName = filePath.substr(lastSlash + 1); in GetFileName()
521 string suffixName = dirPath.substr(ROOT_MEDIA_DIR.length()); in BackupPhotoDir()
549 string suffixName = fullPath.substr((recoverPath).length()); in RecoverMediaTempDir()
867 string checkedDirName = relativePath.substr(firstPoint, len); in CheckTitle()
905 string path = "/storage/cloud/files/.thumbs" + uri.substr(prefixLen); in CheckTitle()
920 string path = "/storage/cloud/files" + uri.substr(prefixLen); in GetHighlightVideoPath()
934 relativePath = relativePath.substr(1); in FormatRelativePath()
952 rootDir = rootDir.substr(1, dirIndex); in GetRootDirFromRelativePath()
958 rootDir = rootDir.substr(0, dirIndex + 1); in GetRootDirFromRelativePath()
997 name = path.substr(
[all...]
/foundation/window/window_manager/window_scene/screen_session_manager/src/
H A Dscreen_session_dumper.cpp536 if ((commaPos != std::string::npos) && (input.substr(0, commaPos) == ARG_SET_ROTATION_SENSOR)) { in SetMotionSensorvalue()
537 std::string valueStr = input.substr(commaPos + 1, MOTION_SENSOR_PARAM_SIZE); in SetMotionSensorvalue()
558 if ((commaPos != std::string::npos) && (input.substr(0, commaPos) == ARG_SET_ROTATION_LOCK)) { in SetRotationLockedvalue()
559 std::string valueStr = input.substr(commaPos + 1); in SetRotationLockedvalue()
577 if ((commaPos != std::string::npos) && (input.substr(0, commaPos) == ARG_PUBLISH_CAST_EVENT)) { in MockSendCastPublishEvent()
578 std::string valueStr = input.substr(commaPos + 1); in MockSendCastPublishEvent()
661 if ((commaPos != std::string::npos) && (input.substr(0, commaPos) == ARG_SET_HOVER_STATUS)) { in SetHoverStatusChange()
662 std::string valueStr = input.substr(commaPos + 1); in SetHoverStatusChange()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_helper_test/src/
H A Dmedia_file_uri_test.cpp87 auto tmpUri = fileUri.substr(0, slashIdx); in GetUriIdPrefix()
92 fileUri = tmpUri.substr(0, slashIdx); in GetUriIdPrefix()
106 fileUri = uri.substr(0, index - 1); in GetParamsFromUriTest()
120 StrToInt(uri.substr(index, tmpIdx - index), width); in GetParamsFromUriTest()
122 StrToInt(uri.substr(tmpIdx + 1), height); in GetParamsFromUriTest()
129 fileUri = uri.substr(0, qIdx); in GetParamsFromUriTest()
/foundation/multimodalinput/input/util/common/src/
H A Dutil.cpp124 token = str.substr(0, pos); in StringToken()
126 str = str.substr(pos + 1, str.npos); in StringToken()
176 return strPath.substr(nPos + 1, strPath.npos); in GetFileName()
245 return (filePath.substr(pos + 1, filePath.npos) == checkExtension); in CheckFileExtendName()
463 std::string configItem = tmp.substr(0, pos); in ReadConfigFile()
464 std::string value = tmp.substr(pos + 1); in ReadConfigFile()
/foundation/communication/netmanager_ext/services/ethernetmanager/src/
H A Dethernet_configuration.cpp489 const auto &device = fileContent.substr(pos, fileContent.find(WRAP, pos) - pos); in ParseDevice()
500 const auto &bootProto = fileContent.substr(pos, fileContent.find(WRAP, pos) - pos); in ParseBootProto()
521 ipAddresses = fileContent.substr(pos, fileContent.find(WRAP, pos) - pos); in ParseStaticConfig()
527 netMasks = fileContent.substr(pos, fileContent.find(WRAP, pos) - pos); in ParseStaticConfig()
533 gateways = fileContent.substr(pos, fileContent.find(WRAP, pos) - pos); in ParseStaticConfig()
539 routes = fileContent.substr(pos, fileContent.find(WRAP, pos) - pos); in ParseStaticConfig()
545 routeMasks = fileContent.substr(pos, fileContent.find(WRAP, pos) - pos); in ParseStaticConfig()
551 dnsServers = fileContent.substr(pos, fileContent.find(WRAP, pos) - pos); in ParseStaticConfig()
567 cfg->httpProxy_.SetHost(fileContent.substr(pos, fileContent.find(WRAP, pos) - pos)); in ParserFileHttpProxy()
573 uint32_t port = CommonUtils::StrToUint(fileContent.substr(po in ParserFileHttpProxy()
[all...]
/foundation/ability/ability_runtime/frameworks/native/runtime/
H A Djs_quickfix_callback.cpp47 std::string moduleName = baseFileName.substr(prefixLen, moduleLen); in operator ()()
/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/
H A Dzip_file_reader.cpp75 if (filePath_.substr(0, Constants::GetProcPrefix().size()) == Constants::GetProcPrefix()) { in init()
/foundation/arkui/ace_engine/frameworks/core/components/qrcode/
H A Drender_qrcode.cpp38 value_ = value_.substr(QRCODE_START_INDEX, QRCODE_VALUE_MAX_LENGTH); in Update()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_image.h42 return !(src.size() > 4 && src.substr(src.size() - 4) == ".svg");
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/qrcode/
H A Dqrcode_paint_method.cpp49 value = value.substr(QRCODE_START_INDEX, QRCODE_VALUE_MAX_LENGTH); in UpdateContentModifier()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/
H A Drs_uni_render_judgement.cpp53 line = myline.substr(0, myline.size() - 1); in SafeGetLine()
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/stable_sample/enviroment/
H A Dheap_memory_thread.cpp31 pthread_setname_np(heapMemoryLoop_->native_handle(), name.substr(0, 15).c_str()); // 15: max thread name in HeapMemoryThread()
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/base/task_manager/
H A Dthread_utils.cpp28 auto threadName = name.size() > threadNameMaxSize ? name.substr(0, threadNameMaxSize).c_str() : name; in SetThreadName()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_manager/
H A Dmedia_library_manager.cpp196 return uri.substr(0, uriprex.size()) == uriprex; in CheckUri()
352 string postpath = filePath.substr(prePath.length()); in SolvePath()
357 userId = postpath.substr(0, pos); in SolvePath()
358 postpath = postpath.substr(pos + 1); in SolvePath()
411 string relativePath = tempPath.substr((ROOT_MEDIA_DIR + DOCS_PATH).length()); in GetFilePathFromUri()
416 relativePath = relativePath.substr(0, pos + 1); in GetFilePathFromUri()
422 string postpath = tempPath.substr(prePath.length()); in GetFilePathFromUri()
439 string relativePath = tempPath.substr((ROOT_MEDIA_DIR + DOCS_PATH).length()); in GetUriFromFilePath()
444 relativePath = relativePath.substr(0, pos + 1); in GetUriFromFilePath()
474 std::string suffixStr = path.substr(ROOT_MEDIA_DI in GetSandboxPath()
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/object/
H A Dobject_manager.cpp433 std::string propertyName = key.substr(keyPrefix.size()); in GetObjectData()
599 std::string assetPrefix = key.substr(0, key.find(ObjectStore::ASSET_DOT)); in GetAssetsFromDBRecords()
609 asset.name = asset.name.substr(ObjectStore::STRING_PREFIX_LEN); in GetAssetsFromDBRecords()
614 asset.uri = asset.uri.substr(ObjectStore::STRING_PREFIX_LEN); in GetAssetsFromDBRecords()
619 asset.modifyTime = asset.modifyTime.substr(ObjectStore::STRING_PREFIX_LEN); in GetAssetsFromDBRecords()
624 asset.size = asset.size.substr(ObjectStore::STRING_PREFIX_LEN); in GetAssetsFromDBRecords()
1019 std::string fromTime = key.substr(timePos + 1); in SplitEntryKey()
1020 std::string beforeTime = key.substr(0, timePos); in SplitEntryKey()
1027 std::string targetDevice = beforeTime.substr(targetDevicePos + 1); in SplitEntryKey()
1028 std::string beforeTargetDevice = beforeTime.substr( in SplitEntryKey()
[all...]
/foundation/ability/ability_runtime/js_environment/frameworks/js_environment/src/
H A Djs_environment.cpp376 std::string idStr = option.substr(pos + 1); in ParseHdcRegisterOption()
381 idStr = idStr.substr(0, pos); in ParseHdcRegisterOption()
384 idStr = idStr.substr(pos + 1); in ParseHdcRegisterOption()
/foundation/arkui/ace_engine/test/mock/core/image_provider/
H A Dmock_image_source_info.cpp34 auto srcSuffix = src.substr(src.size() - FILE_SUFFIX_LEN); in CheckSvgExtension()
48 std::string cleanUrl = (queryPos != std::string::npos) ? src.substr(0, queryPos) : src; in IsSVGSource()
82 std::string head = uri.substr(0, iter); in ResolveURIType()
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/listener/
H A Ddevice_status_listener.cpp221 anahsName = info.substr(anahsBegin + std::strlen("ANAHS_NAME="), in OnPnpDeviceStatusChanged()
244 name = info.substr(nameBegin + std::strlen("EVENT_NAME="), in OnPnpDeviceStatusChanged()
249 string portId = info.substr(addressBegin + std::strlen("DEVICE_ADDRESS="), in OnPnpDeviceStatusChanged()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/heif_hw_decode/common/
H A Dmock_heif_hw_decode_flow.cpp38 vec.emplace_back(src.substr(startPos, endPos - startPos)); in SplitString()
42 vec.emplace_back(src.substr(startPos)); in SplitString()
143 return stoi(fileName.substr(pos + string(I_FRAME_INDICATOR).size())); in ExtractIFrameNum()
/foundation/multimedia/drm_framework/services/utils/
H A Ddrm_api_operation.cpp71 return (first == std::string::npos) ? "" : str.substr(first, last - first + 1); in Trim()
78 std::string key = Trim(line.substr(0, colonPos)); in ParseKeyValue()
79 std::string value = Trim(line.substr(colonPos + 1)); in ParseKeyValue()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_command.cpp202 return uriString.substr(0, questionMaskPoint); in GetUriStringWithoutSegment()
205 return uriString.substr(0, hashKeyPoint); in GetUriStringWithoutSegment()
333 uriStr = uriStr.substr(0, cutPoint); in ParseQuerySetMapFromUri()
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/restore/
H A Dphotos_restore.cpp78 result = sourcePath.substr(start_pos, end_pos - start_pos); in ParseSourcePathToLPath()
81 result = result.substr(start_pos); in ParseSourcePathToLPath()
98 albumName = albumlPath.substr(fileIndex + 1); in BuildAlbumInfoByLPath()
/foundation/communication/ipc/ipc/native/src/core/source/
H A Ddatabus_socket_listener.cpp69 std::string str = peerName.substr(DBINDER_SOCKET_NAME_PREFIX.length()); in ServerOnBind()
71 std::string peerUid = str.substr(0, pos); in ServerOnBind()
72 std::string peerPid = str.substr(pos + 1); in ServerOnBind()

Completed in 22 milliseconds

12345678910>>...39