Home
last modified time | relevance | path

Searched refs:str (Results 8226 - 8250 of 14857) sorted by relevance

1...<<321322323324325326327328329330>>...595

/third_party/skia/demos.skia.org/demos/textedit/
H A Dtextapi_utils.js164 function string_del(str, start, end) {
165 return str.slice(0, start) + str.slice(end, str.length);
/third_party/rust/crates/rust-openssl/openssl/src/
H A Dcipher_ctx.rs944 fn cipher_wrap_test(cipher: &CipherRef, pt: &str, ct: &str, key: &str, iv: Option<&str>) { in cipher_wrap_test()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fShaderLoopTests.cpp431 StringTemplate vertTemplate(vtx.str().c_str()); in createGenericLoopCase()
432 StringTemplate fragTemplate(frag.str().c_str()); in createGenericLoopCase()
1119 StringTemplate vertTemplate(vtx.str().c_str()); in createSpecialLoopCase()
1120 StringTemplate fragTemplate(frag.str().c_str()); in createSpecialLoopCase()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/
H A DvktRayTracingNullASTests.cpp346 programCollection.glslSources.add("sect") << glu::IntersectionSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
364 programCollection.glslSources.add("ahit") << glu::AnyHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
382 programCollection.glslSources.add("chit") << glu::ClosestHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
399 programCollection.glslSources.add("miss") << glu::MissSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
H A DvktTessellationPrimitiveDiscardTests.cpp274 programCollection.glslSources.add("vert") << glu::VertexSource(src.str());
304 programCollection.glslSources.add("tesc") << glu::TessellationControlSource(src.str());
350 programCollection.glslSources.add(needPointSizeWrite ? "tese_psw" : "tese") << glu::TessellationEvaluationSource(src.str());
366 programCollection.glslSources.add("frag") << glu::FragmentSource(src.str());
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/dbus/
H A Ddbus_dict_helpers.c689 char *str; in _wpa_dbus_dict_entry_get_string_array() local
707 str = os_strdup(value); in _wpa_dbus_dict_entry_get_string_array()
708 if (str == NULL) { in _wpa_dbus_dict_entry_get_string_array()
714 buffer[count++] = str; in _wpa_dbus_dict_entry_get_string_array()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/dbus/
H A Ddbus_dict_helpers.c689 char *str; in _wpa_dbus_dict_entry_get_string_array() local
707 str = os_strdup(value); in _wpa_dbus_dict_entry_get_string_array()
708 if (str == NULL) { in _wpa_dbus_dict_entry_get_string_array()
714 buffer[count++] = str; in _wpa_dbus_dict_entry_get_string_array()
/foundation/multimedia/media_library/frameworks/services/media_thumbnail/src/
H A Dthumbnail_utils.cpp826 std::string ThumbnailUtils::GetHighlightValue(const std::string &str, const std::string &key) in GetHighlightValue() argument
828 std::size_t keyPos = str.find(key); in GetHighlightValue()
832 std::size_t colonPos = str.find(":", keyPos); in GetHighlightValue()
836 std::size_t commaPos = str.find(",", colonPos); in GetHighlightValue()
838 commaPos = str.find("}", colonPos); in GetHighlightValue()
843 std::string valueStr = str.substr(colonPos + 1, commaPos - colonPos - 1); in GetHighlightValue()
2501 bool ThumbnailUtils::ConvertStrToInt32(const std::string &str, int32_t &ret) in ConvertStrToInt32() argument
2503 if (str.empty() || str.length() > INT32_MAX_VALUE_LENGTH) { in ConvertStrToInt32()
2504 MEDIA_ERR_LOG("convert failed, str in ConvertStrToInt32()
[all...]
/kernel/linux/linux-6.6/drivers/accel/habanalabs/common/
H A Dfirmware_if.c45 char *str, *fw_ver, *whitespace; in extract_fw_ver_from_str() local
52 str = strnstr(fw_str, "fw-", VERSION_MAX_LEN); in extract_fw_ver_from_str()
53 if (!str) in extract_fw_ver_from_str()
57 str += 3; in extract_fw_ver_from_str()
58 ver_offset = str - fw_str; in extract_fw_ver_from_str()
61 whitespace = strnstr(str, " ", VERSION_MAX_LEN - ver_offset); in extract_fw_ver_from_str()
65 strscpy(fw_ver, str, whitespace - str + 1); in extract_fw_ver_from_str()
76 * @str: the given string
82 static char *extract_u32_until_given_char(char *str, u3 argument
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cSparseTextureTests.cpp374 mLog.str(""); in iterate()
386 m_testCtx.getLog() << tcu::TestLog::Message << mLog.str() << "Fail [positive tests]" in iterate()
399 mLog.str(""); in iterate()
410 m_testCtx.getLog() << tcu::TestLog::Message << mLog.str() << "Fail [positive tests]" in iterate()
903 m_testCtx.getLog() << tcu::TestLog::Message << mLog.str() << "Fail" << tcu::TestLog::EndMessage; in iterate()
990 TCU_FAIL(log.str().c_str()); in testSipmleQueries()
1097 mLog.str(""); in iterate()
1107 m_testCtx.getLog() << tcu::TestLog::Message << mLog.str() << "Fail" << tcu::TestLog::EndMessage; in iterate()
1124 mLog.str(""); in iterate()
1132 m_testCtx.getLog() << tcu::TestLog::Message << mLog.str() << "Fai in iterate()
[all...]
/third_party/python/Lib/test/
H A Dtest_configparser.py625 self.assertEqual(str(e), "Section 'Foo' already exists")
639 self.assertEqual(str(e), "While reading from '<foo-bar>' "
646 self.assertEqual(str(e), "While reading from '<dict>': option "
709 class mystr(str):
1146 self.assertEqual(str(err), "'int' object has no attribute 'lower'")
1555 str(dse.exception),
1567 str(dse.exception),
1578 str(dse.exception),
1588 str(dse.exception),
1604 self.assertEqual(str(erro
[all...]
/third_party/python/Lib/test/test_email/
H A Dtest__header_value_parser.py15 self.assertEqual(str(x), '')
24 self.assertEqual(str(tl), string)
52 rfc_dtext_chars = rfc_printable_ascii.translate(str.maketrans('','',r'\[]'))
2424 self.assertEqual([str(x) for x in address_list.mailboxes],
2425 [str(x) for x in address_list.addresses])
2441 self.assertEqual([str(x) for x in address_list.mailboxes],
2442 [str(x) for x in address_list.addresses])
2464 self.assertEqual([str(x) for x in address_list.mailboxes],
2465 [str(x) for x in address_list.addresses])
2494 self.assertEqual([str(
[all...]
/third_party/protobuf/python/google/protobuf/internal/
H A Dtext_format_test.py85 return (f.readlines() if str is bytes else # PY3
364 # MessageToString always returns a native str.
449 self.assertEqual('c: 123\n', str(message))
1053 message.my_string = 'str'
1075 'my_string: "str"\n'
1097 'my_string: "str"\n'
1181 str(message),
1190 str(message),
1232 message.message_set.Extensions[ext2].str = 'foo'
1239 ' str
[all...]
/third_party/python/Lib/
H A Dtyping.py9 All subscripted types like X[int], Union[int, str] are generic aliases.
163 if isinstance(arg, str):
173 special forms like Union are not valid, while Union[int, str] is OK, etc.
212 collections.abc.Callable[[int, int], str].__args__ == (int, int, str)
213 collections.abc.Callable[ParamSpec, str].__args__ == (ParamSpec, str)
375 ForwardRef(arg) if isinstance(arg, str) else arg
551 def int_or_str(arg: int | str) -> None:
556 case str()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
H A DvktRenderPassFragmentDensityMapTests.cpp2833 std::stringstream str; in createChildren() local
2834 str << "_" << area.x() << "_" << area.y(); in createChildren()
2855 sampleGroup->addChild(new FragmentDensityMapTest(testCtx, std::string("static_subsampled") + str.str(), "", params)); in createChildren()
2857 sampleGroup->addChild(new FragmentDensityMapTest(testCtx, std::string("deferred_subsampled") + str.str(), "", params)); in createChildren()
2860 sampleGroup->addChild(new FragmentDensityMapTest(testCtx, std::string("dynamic_subsampled") + str.str(), "", params)); in createChildren()
2867 sampleGroup->addChild(new FragmentDensityMapTest(testCtx, std::string("static_nonsubsampled") + str.str(), "", param in createChildren()
[all...]
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/src/
H A Daudio_adapter_interface_impl.cpp867 DHLOGE("String is not number. str:%{public}s.", val.c_str()); in getEventTypeFromCondition()
902 DHLOGE("String is not number. str:%{public}s.", val.c_str()); in ConvertString2Int()
985 std::string res = ss.str(); in GetVolumeChangeString()
1006 DHLOGE("String is not number. str:%{public}s.", val.c_str()); in GetVolFromEvent()
1028 DHLOGI("get ss : %{public}s", ss.str().c_str()); in HandleFocusChangeEvent()
1031 int32_t ret = paramCallback_->ParamCallback(AUDIO_EXT_PARAM_KEY_FOCUS, ss.str(), "", reserved, cookie); in HandleFocusChangeEvent()
1050 DHLOGI("get ss : %{public}s", ss.str().c_str()); in HandleRenderStateChangeEvent()
1053 int32_t ret = paramCallback_->ParamCallback(AUDIO_EXT_PARAM_KEY_STATUS, ss.str(), "", reserved, cookie); in HandleRenderStateChangeEvent()
1183 DHLOGI("get ss : %{public}s", ss.str().c_str()); in HandleDeviceClosed()
1186 int32_t ret = paramCallback_->ParamCallback(AUDIO_EXT_PARAM_KEY_STATUS, ss.str(), in HandleDeviceClosed()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_base_utils.cpp389 std::string str = tag; in TranslateStack() local
391 replace(str.begin(), str.end(), '/', '\\'); in TranslateStack()
393 char* ch = strrchr((char*)str.c_str(), '.'); in TranslateStack()
395 int index = ch - str.c_str(); in TranslateStack()
396 str.insert(index, "_"); in TranslateStack()
398 runningPageTag = str; in TranslateStack()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/utils/
H A Dnapi_common.cpp66 bool SetColorFromJS(napi_env env, napi_value argValue, const std::string& str, Drawing::Color& colorSrc) in SetColorFromJS() argument
70 napi_get_named_property(env, argValue, str.c_str(), &tempValue); in SetColorFromJS()
94 bool GetDecorationFromJS(napi_env env, napi_value argValue, const std::string& str, TextStyle& textStyle) in GetDecorationFromJS() argument
100 napi_get_named_property(env, argValue, str.c_str(), &tempValue); in GetDecorationFromJS()
174 bool GetNamePropertyFromJS(napi_env env, napi_value argValue, const std::string& str, napi_value& propertyValue) in GetNamePropertyFromJS() argument
177 if (napi_has_named_property(env, argValue, str.c_str(), &result) != napi_ok || (!result)) { in GetNamePropertyFromJS()
181 if (napi_get_named_property(env, argValue, str.c_str(), &propertyValue) != napi_ok) { in GetNamePropertyFromJS()
/kernel/linux/linux-6.6/arch/arm64/kernel/
H A Dentry.S309 str w21, [sp, #S_SYSCALLNO]
318 str x20, [sp, #S_PMR_SAVE]
561 str x0, [sp, #S_SP]
836 str lr, [x8]
939 1: str x4, [x1, #(SDEI_EVENT_INTREGS + S_SDEI_TTBR1)]
1003 2: str x19, [x5]
1076 2: str xzr, [x5]
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
H A Dprotection_keys.c57 void cat_into_file(char *str, char *file) in cat_into_file() argument
62 dprintf2("%s(): writing '%s' to '%s'\n", __func__, str, file); in cat_into_file()
68 fprintf(stderr, "error opening '%s'\n", str); in cat_into_file()
73 ret = write(fd, str, strlen(str)); in cat_into_file()
74 if (ret != strlen(str)) { in cat_into_file()
76 fprintf(stderr, "filename: '%s' str: '%s'\n", file, str); in cat_into_file()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Datom.c1269 char *str; in atom_parse() local
1309 str = CSTR(CU16(base + ATOM_ROM_MSG_PTR)); in atom_parse()
1310 while (*str && ((*str == '\n') || (*str == '\r'))) in atom_parse()
1311 str++; in atom_parse()
1314 name[i] = str[i]; in atom_parse()
/kernel/linux/linux-5.10/drivers/media/platform/
H A Drcar_drif.c506 u32 str; in rcar_drif_channel_complete() local
511 str = rcar_drif_read(ch, RCAR_DRIF_SISTR); in rcar_drif_channel_complete()
512 if (unlikely(str & RCAR_DRIF_RFOVF)) { in rcar_drif_channel_complete()
514 rcar_drif_write(ch, RCAR_DRIF_SISTR, str); in rcar_drif_channel_complete()
712 u32 ctr, str; in rcar_drif_start_channel() local
731 str = RCAR_DRIF_RFFUL | RCAR_DRIF_REOF | RCAR_DRIF_RFSERR | in rcar_drif_start_channel()
733 rcar_drif_write(ch, RCAR_DRIF_SISTR, str); in rcar_drif_start_channel()
/kernel/linux/linux-5.10/drivers/net/plip/
H A Dplip.c1376 static int __init plip_setup(char *str) in plip_setup() argument
1380 str = get_options(str, ARRAY_SIZE(ints), ints); in plip_setup()
1383 if (!strncmp(str, "parport", 7)) { in plip_setup()
1384 int n = simple_strtoul(str+7, NULL, 10); in plip_setup()
1389 str); in plip_setup()
1390 } else if (!strcmp(str, "timid")) { in plip_setup()
/kernel/linux/linux-5.10/drivers/s390/char/
H A Dtape_core.c189 const char *str; in tape_state_set() local
198 str = tape_state_verbose[device->tape_state]; in tape_state_set()
200 str = "UNKNOWN TS"; in tape_state_set()
201 DBF_EVENT(4, "%s\n", str); in tape_state_set()
204 str = tape_state_verbose[newstate]; in tape_state_set()
206 str = "UNKNOWN TS"; in tape_state_set()
207 DBF_EVENT(4, "%s\n", str); in tape_state_set()
/kernel/linux/linux-5.10/drivers/scsi/
H A Dxen-scsifront.c971 char str[64]; in scsifront_do_lun_hotplug() local
988 snprintf(str, sizeof(str), "vscsi-devs/%s/state", dir[i]); in scsifront_do_lun_hotplug()
989 err = xenbus_scanf(XBT_NIL, dev->otherend, str, "%u", in scsifront_do_lun_hotplug()
995 snprintf(str, sizeof(str), "vscsi-devs/%s/v-dev", dir[i]); in scsifront_do_lun_hotplug()
996 err = xenbus_scanf(XBT_NIL, dev->otherend, str, in scsifront_do_lun_hotplug()

Completed in 52 milliseconds

1...<<321322323324325326327328329330>>...595