Home
last modified time | relevance | path

Searched refs:starts_with (Results 1 – 19 of 19) sorted by relevance

/ohos5.0/base/update/updater/services/rust/hash_signed_data/src/
H A Dhsd.rs37 if res.len() != 2 || !res[0].starts_with(KEY_STR) || !res[1].starts_with(VALUE_STR) { in try_from()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/common/
H A Dmod.rs195 if !str.starts_with(b"multipart") { in get_content_type_boundary()
202 .find(|s| s.starts_with(b"boundary=")); in get_content_type_boundary()
206 if boundary.len() > 2 && boundary.starts_with(&[b'"']) && boundary.ends_with(&[b'"']) { in get_content_type_boundary()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/
H A Dconnector.rs187 if resp.starts_with(b"HTTP/1.1 200") { in tunnel()
197 } else if resp.starts_with(b"HTTP/1.1 407") { in tunnel()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/
H A Dstring_view.h142 constexpr bool starts_with(basic_string_view sv) const noexcept;
143 constexpr bool starts_with(CharT ch) const noexcept;
144 constexpr bool starts_with(const CharT* s) const;
766 constexpr bool basic_string_view<CharT>::starts_with(basic_string_view sv) const noexcept in starts_with() function
772 constexpr bool basic_string_view<CharT>::starts_with(CharT ch) const noexcept in starts_with() function
778 constexpr bool basic_string_view<CharT>::starts_with(const CharT* s) const in starts_with() function
H A Dstring.h736 bool starts_with(basic_string_view<CharT> sv) const noexcept in starts_with() function
738 return operator basic_string_view<CharT>().starts_with(sv); in starts_with()
741 bool starts_with(CharT ch) const noexcept in starts_with() function
743 return operator basic_string_view<CharT>().starts_with(ch); in starts_with()
746 bool starts_with(const CharT* s) const in starts_with() function
748 return operator basic_string_view<CharT>().starts_with(s); in starts_with()
/ohos5.0/base/request/request/services/src/manage/
H A Dapp_state.rs77 if name.starts_with("com.") && name.ends_with(".hmos.hiviewx") { in process_died_callback()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/tests/tcp_server/
H A Dmod.rs100 … assert!(&buf[..size].starts_with(request_line.as_bytes()), "Incorrect Request-Line!");
198 … assert!(&buf[..size].starts_with(request_line.as_bytes()), "Incorrect Request-Line!");
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/
H A Dproxy.rs242 if (block_domain.starts_with('*')) && (block_domain.len() > 1) { in contains_domain()
254 if block_domain.starts_with('.') in contains_domain()
/ohos5.0/foundation/multimodalinput/input/util/rust_key/src/
H A Dlib.rs54 if !line_str.is_empty() && !line_str.starts_with('#') { in ReadConfigInfo()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/
H A Dpath_tools.cpp53 if (uri.starts_with("//")) { in ParseUri()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/connector/
H A Dmod.rs371 if resp.starts_with(b"HTTP/1.1 200") || resp.starts_with(b"HTTP/1.0 200") { in tunnel()
378 } else if resp.starts_with(b"HTTP/1.1 407") { in tunnel()
/ohos5.0/base/request/request/services/src/task/
H A Drequest_task.rs677 …if !spec.is_user_file && !path.starts_with(EL1) && !path.starts_with(EL2) && !path.starts_with(EL5… in check_file_specs()
H A Dupload.rs522 if line.starts_with("--") { in handle_connection()
/ohos5.0/base/security/code_signature/services/key_enable/src/
H A Dcert_path_utils.rs379 if common_name.len() >= organization.len() && common_name.starts_with(organization) { in common_format_fabricate_name()
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dnode_impl.cpp957 !childName.starts_with(MULTI_MESH_CHILD_PREFIX)) { in BuildChildrenIterateOver()
1005 if (fullPath.starts_with("/")) { in BuildChildren()
H A Dscene_holder.cpp123 if (path.starts_with(ROOTNODE_PATH)) { in RemoveRootNodeFromPath()
127 if (path.starts_with("/")) { in RemoveRootNodeFromPath()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Degl_state.cpp625 if (string.starts_with("OpenGL ES ")) { in VerifyVersion()
H A Dgpu_program_gles.cpp321 if (!afterType.starts_with(t.name)) { in FixBindings()
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/
H A Danimation_system.cpp558 if (propertyName.starts_with(entry.property->name)) { in FindDynamicProperty()