Home
last modified time | relevance | path

Searched refs:npos (Results 326 - 350 of 1616) sorted by relevance

1...<<11121314151617181920>>...65

/third_party/gn/src/gn/
H A Dfilesystem_utils.cc194 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 Dvisual_studio_writer_unittest.cc199 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 Dlws-struct-lejp.c210 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 Dapp_log_wrapper.cpp36 if (pos == std::string::npos) { in GetBriefFileName()
/third_party/skia/third_party/externals/tint/src/utils/
H A Dstring.h31 while ((pos = str.find(substr, pos)) != std::string::npos) { in ReplaceAll()
/foundation/ability/idl_tool/idl_tool_2/preprocessor/
H A Dpreprocessor.cpp139 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 Dfile_ex.cpp292 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 Dutils.cpp71 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 Djs_environment.cpp373 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 Dcast_local_file_channel_common.cpp81 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 Dsource_map_test.cpp338 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 Dcast_local_file_channel_common.cpp81 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 Dability_stage_context.cpp81 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 Dability_record_test_call.cpp75 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 Dstring_expression.cpp133 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 Dquick_fix_boot_scanner.cpp145 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 Dcodeclist_core.cpp169 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 Dtexture_layer.cpp128 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 Dmedialibrary_command.cpp201 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 Dsystem_info.cpp76 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 Dnetworkshare_service.cpp348 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 Ddirectory_manager.cpp190 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 Daf_aphaser.c140 int npos; \
143 npos = delay_pos * channels; \
147 buffer[npos + c] = v; \
/third_party/mesa3d/src/gallium/frontends/clover/llvm/codegen/
H A Dcommon.cpp79 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 Ddumb.py162 npos = ((pos + _BLOCKSIZE - 1) // _BLOCKSIZE) * _BLOCKSIZE
163 f.write(b'\0'*(npos-pos))
164 pos = npos

Completed in 15 milliseconds

1...<<11121314151617181920>>...65