/third_party/gn/src/gn/ |
H A D | filesystem_utils.cc | 194 if (colon_pos != std::string::npos) in AppendFixedAbsolutePathSuffix() 240 return std::string::npos; in FindExtensionOffset() 245 if (extension_offset == std::string::npos) in FindExtension() 274 if (extension_offset == std::string::npos) in FindFilenameNoExtension() 384 size_t after_common_index = std::string::npos; in MakeAbsolutePathRelativeIfPossible() 768 input_full.append(input, 2, std::string::npos); in RebasePath() 775 dest_full.append(dest_dir.value(), 2, std::string::npos); in RebasePath()
|
H A D | visual_studio_writer_unittest.cc | 199 ASSERT_NE(file_contents.str().find("-tclean baz"), std::string::npos); in TEST_F() 236 std::string::npos); in TEST_F() 245 std::string::npos); in TEST_F()
|
/third_party/libwebsockets/lib/misc/ |
H A D | lws-struct-lejp.c | 210 if (strncmp(map->colname, ctx->buf, ctx->npos)) { in lws_struct_default_lejp_cb() 230 ctx->npos, ctx->buf, in lws_struct_default_lejp_cb() 313 coll->len = ctx->npos; in lws_struct_default_lejp_cb() 316 memcpy(coll->buf, ctx->buf, ctx->npos); in lws_struct_default_lejp_cb() 318 args->chunks_length += ctx->npos; in lws_struct_default_lejp_cb() 420 lim = args->chunks_length + ctx->npos; in lws_struct_default_lejp_cb() 449 b = ctx->npos; in lws_struct_default_lejp_cb()
|
/foundation/bundlemanager/bundle_framework/common/log/src/ |
H A D | app_log_wrapper.cpp | 36 if (pos == std::string::npos) { in GetBriefFileName()
|
/third_party/skia/third_party/externals/tint/src/utils/ |
H A D | string.h | 31 while ((pos = str.find(substr, pos)) != std::string::npos) { in ReplaceAll()
|
/foundation/ability/idl_tool/idl_tool_2/preprocessor/ |
H A D | preprocessor.cpp | 139 if (startIndex == std::string::npos || endIndex == std::string::npos || (startIndex >= endIndex)) {
in ParseFileDetail() 345 if (index == std::string::npos) {
in CheckPackageName()
|
/foundation/ai/intelligent_voice_framework/llt/hdt/depend_libs/src/ |
H A D | file_ex.cpp | 292 return (str.find(subStr) != string::npos); in StringExistsInFile() 299 return (strlower.find(sublower) != string::npos); in StringExistsInFile() 312 while ((position = str.find(subStr, position)) != string::npos) { in CountStrInStr()
|
/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/tools/ |
H A D | utils.cpp | 71 while (dimPos != dimString.npos) { in GetInputNameAndShape() 90 if (settings.inputShape.find(":") == settings.inputShape.npos) { in FilterDynamicInputs() 99 while (pos != inputShapeString.npos) { in FilterDynamicInputs()
|
/foundation/ability/ability_runtime/js_environment/frameworks/js_environment/src/ |
H A D | js_environment.cpp | 373 if (pos == std::string::npos) {
in ParseHdcRegisterOption() 378 if (pos == std::string::npos) {
in ParseHdcRegisterOption() 383 if (pos != std::string::npos) {
in ParseHdcRegisterOption()
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/stream/src/local/src/ |
H A D | cast_local_file_channel_common.cpp | 81 if (pos == std::string::npos) { in CheckAndGetHttpHeader() 84 if (pos == std::string::npos) { in CheckAndGetHttpHeader() 145 if (pos != std::string::npos) { in ParseHttpHeaderList()
|
/foundation/ability/ability_runtime/js_environment/test/unittest/source_map_test/ |
H A D | source_map_test.cpp | 338 EXPECT_NE(pos, std::string::npos); in HWTEST_F() 369 EXPECT_NE(pos, std::string::npos); in HWTEST_F() 400 EXPECT_NE(pos, std::string::npos); in HWTEST_F()
|
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/src/local/src/ |
H A D | cast_local_file_channel_common.cpp | 81 if (pos == std::string::npos) { in CheckAndGetHttpHeader() 84 if (pos == std::string::npos) { in CheckAndGetHttpHeader() 145 if (pos != std::string::npos) { in ParseHttpHeaderList()
|
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/ |
H A D | ability_stage_context.cpp | 81 if (pos == std::string::npos) { in SetOptions() 95 if (pos != std::string::npos) { in GetBundleCodePath() 292 while ((pos = tempStr.find(fileSeparator_, pos)) != std::string::npos) { in CreateMultiDir()
|
/foundation/ability/ability_runtime/test/unittest/ability_record_test/ |
H A D | ability_record_test_call.cpp | 75 return std::string::npos != data.find("previous ability app name [NULL]"); in IsTestAbilityExist() 80 return std::string::npos != data.find("test_pre_app"); in IsTestAbilityExist1() 85 return std::string::npos != data.find("test_next_app"); in IsTestAbilityExist2()
|
/foundation/arkui/ace_engine/frameworks/base/utils/ |
H A D | string_expression.cpp | 133 if (ops.find(i) == ops.npos) { in PushOpStack() 185 bool isNotIncludeEmptyBracket = (emptyBracketPos == std::string::npos); in FilterCalcSpecialString() 261 if (ops.find(i) == ops.npos) { in CalculateExpImpl()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/ |
H A D | quick_fix_boot_scanner.cpp | 145 if (underlinePos == std::string::npos) { in ProcessQuickFixDir() 159 if (firstPos == std::string::npos) { in ProcessQuickFixDir() 165 if (secondPos == std::string::npos) { in ProcessQuickFixDir()
|
/foundation/multimedia/av_codec/services/engine/codeclist/ |
H A D | codeclist_core.cpp | 169 bool isVideo = targetMimeType.find("video") != std::string::npos; in FindCodec() 239 bool isVideo = mime.find("video") != std::string::npos; in GetCapability() 278 bool isVideo = mime.find("video") != std::string::npos; in FindCodecNameArray()
|
/foundation/graphic/graphic_3d/3d_widget_adapter/src/ohos/ |
H A D | texture_layer.cpp | 128 if (bundleName.find("totemweather") != std::string::npos) { in CreateNativeWindow() 149 if (hapPath.find("SceneBoard_MetaBallsTurbo") != std::string::npos) { in CreateNativeWindow() 151 } else if (hapPath.find("HwWeather") != std::string::npos) { in CreateNativeWindow()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | medialibrary_command.cpp | 201 if (questionMaskPoint != string::npos) { in GetUriStringWithoutSegment() 204 if (hashKeyPoint != string::npos) { in GetUriStringWithoutSegment() 332 if (cutPoint != string::npos) { in ParseQuerySetMapFromUri()
|
/foundation/multimodalinput/input/test/unittest/common/src/ |
H A D | system_info.cpp | 76 if ((strLine.find(process_name)) == std::string::npos) { in GetTaskPidFile() 81 if ((strLine.find("Pid")) != std::string::npos) { in GetTaskPidFile() 183 if ((strLine.find("cpu")) == std::string::npos) { in GetSystemCpuStatInfo()
|
/foundation/communication/netmanager_ext/services/networksharemanager/src/ |
H A D | networkshare_service.cpp | 348 if (sharingType.find("wifi") != std::string::npos) { in DisAllowNetworkShareEventCallback() 351 if (sharingType.find("usb") != std::string::npos) { in DisAllowNetworkShareEventCallback() 354 if (sharingType.find("bluetooth") != std::string::npos) { in DisAllowNetworkShareEventCallback()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/directory/ |
H A D | directory_manager.cpp | 190 while (nextPos != std::string::npos) { in Split() 260 if (index == std::string::npos) { in CreateDirectory() 271 } while (index != std::string::npos); in CreateDirectory()
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_aphaser.c | 140 int npos; \ 143 npos = delay_pos * channels; \ 147 buffer[npos + c] = v; \
|
/third_party/mesa3d/src/gallium/frontends/clover/llvm/codegen/ |
H A D | common.cpp | 79 if (type_qualifier.find("const") != std::string::npos) in create_arg_info() 81 if (type_qualifier.find("restrict") != std::string::npos) in create_arg_info() 83 if (type_qualifier.find("volatile") != std::string::npos) in create_arg_info()
|
/third_party/python/Lib/dbm/ |
H A D | dumb.py | 162 npos = ((pos + _BLOCKSIZE - 1) // _BLOCKSIZE) * _BLOCKSIZE 163 f.write(b'\0'*(npos-pos)) 164 pos = npos
|