Home
last modified time | relevance | path

Searched refs:str (Results 5351 - 5375 of 14584) sorted by relevance

1...<<211212213214215216217218219220>>...584

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
H A DvktRayTracingTraversalControlTests.cpp460 programCollection.glslSources.add("rgen") << glu::RaygenSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
475 programCollection.glslSources.add("isect_report") << glu::IntersectionSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
487 programCollection.glslSources.add("isect_pass_through") << glu::IntersectionSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
501 programCollection.glslSources.add("ahit") << glu::AnyHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
513 programCollection.glslSources.add("ahit_pass_through") << glu::AnyHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
529 programCollection.glslSources.add("ahit_ignore") << glu::AnyHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
545 programCollection.glslSources.add("ahit_terminate") << glu::AnyHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
559 programCollection.glslSources.add("chit") << glu::ClosestHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
573 programCollection.glslSources.add("miss") << glu::MissSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/
H A DvktGeometryBasicGeometryShaderTests.cpp598 sourceCollections.glslSources.add("vertex") << glu::VertexSource(src.str()); in initPrograms()
637 sourceCollections.glslSources.add("geometry") << glu::GeometrySource(src.str()); in initPrograms()
649 sourceCollections.glslSources.add("fragment") << glu::FragmentSource(src.str()); in initPrograms()
719 sourceCollections.glslSources.add("vertex") << glu::VertexSource(src.str()); in initPrograms()
843 sourceCollections.glslSources.add("geometry") << glu::GeometrySource(src.str()); in initPrograms()
855 sourceCollections.glslSources.add("fragment") << glu::FragmentSource(src.str()); in initPrograms()
938 sourceCollections.glslSources.add("vertex") << glu::VertexSource(src.str()); in initPrograms()
1014 sourceCollections.glslSources.add("geometry") << glu::GeometrySource(src.str()); in initPrograms()
1054 sourceCollections.glslSources.add("fragment") << glu::FragmentSource(src.str()); in initPrograms()
/third_party/skia/third_party/externals/tint/src/inspector/
H A Dinspector.cc380 auto* str = unwrapped_type->As<sem::Struct>(); in GetUniformBufferResourceBindings() local
381 if (str == nullptr) { in GetUniformBufferResourceBindings()
385 if (!str->IsBlockDecorated()) { in GetUniformBufferResourceBindings()
393 entry.size = str->Size(); in GetUniformBufferResourceBindings()
394 entry.size_no_padding = str->SizeNoPadding(); in GetUniformBufferResourceBindings()
674 auto* str = var->Type()->UnwrapRef()->As<sem::Struct>(); in GetStorageBufferResourceBindingsImpl() local
675 if (!str) { in GetStorageBufferResourceBindingsImpl()
685 entry.size = str->Size(); in GetStorageBufferResourceBindingsImpl()
686 entry.size_no_padding = str->SizeNoPadding(); in GetStorageBufferResourceBindingsImpl()
/third_party/toybox/toys/posix/
H A Dfind.c149 static int compare_numsign(long val, long units, char *str) in compare_numsign() argument
154 if (*str == '+' || *str == '-') sign = *(str++); in compare_numsign()
155 else if (!isdigit(*str)) error_exit("%s not [+-]N", str); in compare_numsign()
156 myval = atolx(str); in compare_numsign()
157 if (units && isdigit(str[strlen(str)-1])) myval *= units; in compare_numsign()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineImageTests.cpp289 sourceCollections.glslSources.add("tex_vert") << glu::VertexSource(vertexSrc.str()); in initPrograms()
290 sourceCollections.glslSources.add("tex_frag") << glu::FragmentSource(fragmentSrc.str()); in initPrograms()
342 return samplerType.str(); in getGlslSamplerType()
388 return textureType.str(); in getGlslTextureType()
396 return imageCount > 1 ? samplerArray.str() : "texSampler"; in getGlslSamplerDecl()
404 return imageCount > 1 ? textureArray.str() : "texImage"; in getGlslTextureDecl()
412 return imageCount > 1 ? samplerArray.str() : "fragColor"; in getGlslFragColorDecl()
473 return caseName.str(); in getSizeName()
658 de::MovePtr<tcu::TestCaseGroup> countGroup(new tcu::TestCaseGroup(testCtx, caseName.str().c_str(), "")); in createImageCountTests()
H A DvktPipelineNoPositionTests.cpp188 programCollection.glslSources.add("vert") << glu::VertexSource(vert.str()); in initPrograms()
229 programCollection.glslSources.add("tesc") << glu::TessellationControlSource(tesc.str()); in initPrograms()
267 programCollection.glslSources.add("tese") << glu::TessellationEvaluationSource(tese.str()); in initPrograms()
306 programCollection.glslSources.add("geom") << glu::GeometrySource(geom.str()); in initPrograms()
321 << " out_color = " << colorStr.str() << ";\n" in initPrograms()
325 programCollection.glslSources.add("frag") << glu::FragmentSource(frag.str()); in initPrograms()
687 log << tcu::TestLog::Message << msg.str() << tcu::TestLog::EndMessage; in iterate()
689 TCU_FAIL(msg.str()); in iterate()
734 TCU_FAIL(msg.str()); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/
H A DvktRayTracingOpacityMicromapTests.cpp170 const auto layoutDeclsStr = layoutDecls.str(); in initPrograms()
246 programCollection.glslSources.add("rgen") << glu::RaygenSource(updateRayTracingGLSL(rgen.str())) << buildOptions; in initPrograms()
247 programCollection.glslSources.add("miss") << glu::MissSource(updateRayTracingGLSL(miss.str())) << buildOptions; in initPrograms()
248 programCollection.glslSources.add("ah") << glu::AnyHitSource(updateRayTracingGLSL(ah.str())) << buildOptions; in initPrograms()
249 programCollection.glslSources.add("ch") << glu::ClosestHitSource(updateRayTracingGLSL(ch.str())) << buildOptions; in initPrograms()
725 TCU_FAIL(msg.str()); in iterate()
732 std::cout << msg.str(); in iterate()
798 specialGroup->addChild(new OpacityMicromapCase(testCtx, css.str().c_str(), "", testParams)); in createOpacityMicromapTests()
830 modeGroup->addChild(new OpacityMicromapCase(testCtx, css.str().c_str(), "", testParams)); in createOpacityMicromapTests()
H A DvktRayTracingTraversalControlTests.cpp460 programCollection.glslSources.add("rgen") << glu::RaygenSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
475 programCollection.glslSources.add("isect_report") << glu::IntersectionSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
487 programCollection.glslSources.add("isect_pass_through") << glu::IntersectionSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
501 programCollection.glslSources.add("ahit") << glu::AnyHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
513 programCollection.glslSources.add("ahit_pass_through") << glu::AnyHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
529 programCollection.glslSources.add("ahit_ignore") << glu::AnyHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
545 programCollection.glslSources.add("ahit_terminate") << glu::AnyHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
559 programCollection.glslSources.add("chit") << glu::ClosestHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
573 programCollection.glslSources.add("miss") << glu::MissSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
H A Dwps_upnp_web.c1117 char str[80]; in web_connection_parse_subscribe() local
1118 uuid_bin2str(uuid, str, sizeof(str)); in web_connection_parse_subscribe()
1120 "SID %s", str); in web_connection_parse_subscribe()
1289 char str[80]; in web_connection_parse_unsubscribe() local
1291 uuid_bin2str(uuid, str, sizeof(str)); in web_connection_parse_unsubscribe()
1300 s, str, (sa && sa->domain_and_port) ? in web_connection_parse_unsubscribe()
1307 str); in web_connection_parse_unsubscribe()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
H A Dwps_upnp_web.c1117 char str[80]; in web_connection_parse_subscribe() local
1118 uuid_bin2str(uuid, str, sizeof(str)); in web_connection_parse_subscribe()
1120 "SID %s", str); in web_connection_parse_subscribe()
1289 char str[80]; in web_connection_parse_unsubscribe() local
1291 uuid_bin2str(uuid, str, sizeof(str)); in web_connection_parse_unsubscribe()
1300 s, str, (sa && sa->domain_and_port) ? in web_connection_parse_unsubscribe()
1307 str); in web_connection_parse_unsubscribe()
/kernel/linux/linux-5.10/fs/unicode/
H A Dmkutf8data.c262 static int utf8encode(char *str, unsigned int val) in utf8encode() argument
267 str[0] = val; in utf8encode()
270 str[1] = val & UTF8_V_MASK; in utf8encode()
271 str[1] |= UTF8_N_BITS; in utf8encode()
273 str[0] = val; in utf8encode()
274 str[0] |= UTF8_2_BITS; in utf8encode()
277 str[2] = val & UTF8_V_MASK; in utf8encode()
278 str[2] |= UTF8_N_BITS; in utf8encode()
280 str[1] = val & UTF8_V_MASK; in utf8encode()
281 str[ in utf8encode()
306 utf8decode(const char *str) utf8decode() argument
2662 utf8hangul(const char *str, unsigned char *hangul) utf8hangul() argument
[all...]
/kernel/linux/linux-6.6/fs/unicode/
H A Dmkutf8data.c262 static int utf8encode(char *str, unsigned int val) in utf8encode() argument
267 str[0] = val; in utf8encode()
270 str[1] = val & UTF8_V_MASK; in utf8encode()
271 str[1] |= UTF8_N_BITS; in utf8encode()
273 str[0] = val; in utf8encode()
274 str[0] |= UTF8_2_BITS; in utf8encode()
277 str[2] = val & UTF8_V_MASK; in utf8encode()
278 str[2] |= UTF8_N_BITS; in utf8encode()
280 str[1] = val & UTF8_V_MASK; in utf8encode()
281 str[ in utf8encode()
306 utf8decode(const char *str) utf8decode() argument
2662 utf8hangul(const char *str, unsigned char *hangul) utf8hangul() argument
[all...]
/third_party/pulseaudio/src/pulsecore/
H A Dcore-util.c894 char str[64]; in pa_parse_volume() local
904 memcpy(str, v, len + 1); in pa_parse_volume()
906 if (str[len - 1] == '%') { in pa_parse_volume()
907 str[len - 1] = '\0'; in pa_parse_volume()
908 if (pa_atod(str, &d) < 0) in pa_parse_volume()
920 if (len > 2 && (str[len - 1] == 'b' || str[len - 1] == 'B') && in pa_parse_volume()
921 (str[len - 2] == 'd' || str[len - 2] == 'D')) { in pa_parse_volume()
922 str[le in pa_parse_volume()
2571 pa_snprintf(char *str, size_t size, const char *format, ...) pa_snprintf() argument
2587 pa_vsnprintf(char *str, size_t size, const char *format, va_list ap) pa_vsnprintf() argument
3130 pa_str_strip_suffix(const char *str, const char *suffix) pa_str_strip_suffix() argument
[all...]
/third_party/python/Lib/
H A Dmailbox.py224 elif isinstance(message, (str, bytes, io.StringIO)):
229 if isinstance(message, str):
812 if isinstance(message, str):
957 new_path = os.path.join(self._path, str(new_key))
986 path = os.path.join(self._path, str(key))
1000 path = os.path.join(self._path, str(key))
1026 f = open(os.path.join(self._path, str(key)), 'rb+')
1028 f = open(os.path.join(self._path, str(key)), 'rb')
1051 f = open(os.path.join(self._path, str(key)), 'rb+')
1053 f = open(os.path.join(self._path, str(ke
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Dusettest.cpp1363 UnicodeString str, buf2; in TestCloseOver()
1372 str.setTo(c); in TestCloseOver()
1373 str.foldCase(); in TestCloseOver()
1374 sens2.add(str); in TestCloseOver()
1466 UnicodeString str("Range "); in TestEscapePattern()
1467 str.append((UChar)(u'0' + i)) in TestEscapePattern()
1472 str = str + " (" + set.getRangeStart(i) + " - " + in TestEscapePattern()
1475 errln((UnicodeString)"FAIL: " + escape(str)); in TestEscapePattern()
1477 logln(escape(str)); in TestEscapePattern()
1747 UnicodeString str = UnicodeString(DATA[i], -1, US_INV); TestSurrogate() local
2539 const UnicodeString *str; containsSpanUTF16() local
2559 const UnicodeString *str; containsSpanUTF16() local
2640 const UnicodeString *str; containsSpanBackUTF16() local
2659 const UnicodeString *str; containsSpanBackUTF16() local
[all...]
/applications/standard/app_samples/code/BasicFeature/Connectivity/VPN/entry/src/main/cpp/
H A Dvpn_client.cpp65 char str[MAX_STRING_LENGTH] = {0}; in GetStringFromValueUtf8() local
67 napi_get_value_string_utf8(env, value, str, MAX_STRING_LENGTH, &length); in GetStringFromValueUtf8()
69 return result.append(str, length); in GetStringFromValueUtf8()
/foundation/graphic/graphic_3d/lume/metaobject/test/src/
H A Dtest_utils.cpp49 return os << ss.str(); in operator <<()
128 return os << ss.str(); in operator <<()
134 return os << ss.str(); in operator <<()
/foundation/graphic/graphic_3d/lume/metaobject/src/serialization/backend/
H A Djson_input.cpp53 BASE_NS::string str; in ReadString() local
56 str = CORE_NS::json::unescape(v->string_); in ReadString()
59 return str; in ReadString()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_text_blob.cpp125 OH_Drawing_TextBlob* OH_Drawing_TextBlobCreateFromString(const char* str, in OH_Drawing_TextBlobCreateFromString() argument
128 if (str == nullptr || cFont == nullptr) { in OH_Drawing_TextBlobCreateFromString()
137 std::shared_ptr<TextBlob> textBlob = TextBlob::MakeFromString(str, in OH_Drawing_TextBlobCreateFromString()
/foundation/filemanagement/storage_service/services/storage_daemon/mtpfs/src/
H A Dmtpfs_sha.cpp94 return result.str(); in Final()
168 std::string MtpFsSha::SumString(const std::string &str) in SumString() argument
171 sha1.Update(str); in SumString()
/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/
H A Dstd_filesystem.cpp55 std::filesystem::path U8Path(string_view str) in U8Path() argument
57 return std::filesystem::u8path(str.begin().ptr(), str.end().ptr()); in U8Path()
H A Dstd_file.cpp82 std::filesystem::path U8Path(string_view str) in U8Path() argument
84 return std::filesystem::u8path(str.begin().ptr(), str.end().ptr()); in U8Path()
/foundation/multimedia/media_foundation/engine/plugin/plugins/source/file_source/
H A Dfile_fd_source_plugin.cpp146 fd_ = std::stoi(fdUriMatch[1].str()); // 1: sub match fd subscript in ParseUriInfo()
151 offset_ = std::stoll(fdUriMatch[2].str()); // 2: sub match offset subscript in ParseUriInfo()
155 size_ = static_cast<uint64_t>(std::stoll(fdUriMatch[3].str())); // 3: sub match size subscript in ParseUriInfo()
/foundation/multimodalinput/input/tools/event_inject/src/
H A Dinput_parse.cpp184 return ss.str(); in ToString()
216 return ss.str(); in ToString()
229 return ss.str(); in ToString()
/foundation/communication/netmanager_base/services/common/src/
H A Droute_utils.cpp184 char str[INET6_ADDRSTRLEN] = {0}; in MaskAddress() local
205 if (inet_ntop(af, array, str, INET6_ADDRSTRLEN) == nullptr) { in MaskAddress()
209 return std::string(str); in MaskAddress()

Completed in 35 milliseconds

1...<<211212213214215216217218219220>>...584