/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/ |
H A D | vktGeometryBasicGeometryShaderTests.cpp | 598 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 D | inspector.cc | 380 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 D | find.c | 149 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 D | vktPipelineImageTests.cpp | 289 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 D | vktPipelineNoPositionTests.cpp | 188 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 D | vktRayTracingOpacityMicromapTests.cpp | 170 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 D | vktRayTracingTraversalControlTests.cpp | 460 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 D | wps_upnp_web.c | 1117 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 D | wps_upnp_web.c | 1117 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/pulseaudio/src/pulsecore/ |
H A D | core-util.c | 894 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 D | mailbox.py | 224 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 D | usettest.cpp | 1363 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...] |
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/dash/mpd_parser/ |
H A D | dash_mpd_parser.cpp | 224 std::string str; in GetAdaptationSetAttr() local 225 adptSetNode->GetAttr("codingDependency", str); in GetAdaptationSetAttr() 226 if (str == "true") { in GetAdaptationSetAttr() 230 adptSetNode->GetAttr("scanType", str); in GetAdaptationSetAttr() 231 if (str == "interlaced") { in GetAdaptationSetAttr() 233 } else if (str == "unknown") { in GetAdaptationSetAttr() 254 adptSetNode->GetAttr("bitstreamSwitching", str); in GetAdaptationSetAttr() 255 if (str == "true") { in GetAdaptationSetAttr() 259 adptSetNode->GetAttr("segmentAlignment", str); in GetAdaptationSetAttr() 260 if (str in GetAdaptationSetAttr() [all...] |
/foundation/communication/dsoftbus/core/common/dfx/statistics/instant/ |
H A D | instant_statistics.cpp | 90 static void InstPackAndAnonymizeStringIfNotNull(cJSON *json, std::string &str, const char *key, bool isDeviceId) 92 if (json == NULL || str.empty() || key == NULL) { 96 (void)AddStringToJsonObject(json, key, WifiDirectAnonymizeDeviceId(str).c_str()); 98 (void)AddStringToJsonObject(json, key, WifiDirectAnonymizeMac(str).c_str()); 783 char *str = cJSON_PrintUnformatted(json); 785 COMM_CHECK_AND_RETURN_LOGE(str != NULL, COMM_DFX, "cJSON_PrintUnformatted fail"); 786 cJSON_AddItemToArray(upperJson, cJSON_CreateString(str)); 787 cJSON_free(str); 808 char *str = cJSON_PrintUnformatted(channelJson); 810 COMM_CHECK_AND_RETURN_LOGE(str ! [all...] |
/foundation/communication/ipc/ipc/native/src/core/source/ |
H A D | ipc_object_proxy.cpp | 76 std::u16string str(descriptor_); in IPCObjectProxy() 77 current->AttachValidObject(this, str); in IPCObjectProxy() 914 std::string str = dbinderData.peerServiceName.substr(DBINDER_SOCKET_NAME_PREFIX.length()); in GetDBinderNegotiationData() local 915 std::string::size_type pos = str.find("_"); in GetDBinderNegotiationData() 916 if (pos == str.npos) { in GetDBinderNegotiationData() 920 std::string peerUid = str.substr(0, pos); in GetDBinderNegotiationData() 921 std::string peerPid = str.substr(pos + 1); in GetDBinderNegotiationData() 955 std::string str = dbinderData.peerServiceName.substr(DBINDER_SOCKET_NAME_PREFIX.length()); in GetDBinderNegotiationData() local 956 std::string::size_type pos = str.find("_"); in GetDBinderNegotiationData() 957 if (pos == str in GetDBinderNegotiationData() [all...] |
/foundation/filemanagement/app_file_service/frameworks/native/backup_ext/src/ |
H A D | sub_ext_extension.cpp | 155 AppRadar::Info info (bundleName_, "", ss.str()); in CheckTmpDirFileInfos() 191 AppRadar::Info info (bundleName_, "", ss.str()); in CheckRestoreFileInfos() 281 AppRadar::Info info (extensionPtr->bundleName_, "", ss.str()); in OnRestoreCallback() 314 AppRadar::Info info (extensionPtr->bundleName_, "", ss.str()); in OnRestoreExCallback() 372 AppRadar::Info info (extensionPtr->bundleName_, "", ss.str()); 410 AppRadar::Info info (extensionPtr->bundleName_, "", ss.str()); 939 auto getStringHash = [](const TarMap &tarMap, const string &str) -> string { 944 size_t szHash = strHash(str); 946 string name = strHex.str(); 947 for (int i = 0; tarMap.find(name) != tarMap.end(); ++i, strHex.str("")) { [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/obex/ |
H A D | obex_headers.cpp | 228 std::u16string str((char16_t *)tmpBuf.get()); in ParseUnicodeText() 229 AppendUnicode(headerId, str); in ParseUnicodeText() 466 void ObexHeader::AppendString(const uint8_t headerId, const std::string &str) in AppendString() argument 468 std::unique_ptr<ObexOptionalHeader> header = std::make_unique<ObexOptionalStringHeader>(headerId, str); in AppendString() 1026 ObexOptionalStringHeader::ObexOptionalStringHeader(const uint8_t headerId, const std::string &str) in ObexOptionalStringHeader() argument 1027 : ObexOptionalBytesHeader(headerId, reinterpret_cast<uint8_t *>(const_cast<char *>(str.c_str())), in ObexOptionalStringHeader() 1028 (str.size() == 0) ? 0 : (str.size() + 1), 1) in ObexOptionalStringHeader() 1041 std::string str((char *)data_.data(), dataSize_ - 1); in GetString() 1042 return str; in GetString() [all...] |
/test/xts/acts/graphic/acts_drawing_native/ |
H A D | DrawingNativeCanvasTestPart3.cpp | 597 const char *str = "123456"; in HWTEST_F() local 601 OH_Drawing_TextBlobCreateFromText(str, strlen(str), font, OH_Drawing_TextEncoding::TEXT_ENCODING_UTF8); in HWTEST_F() 622 const char *str = "123456"; in HWTEST_F() local 626 OH_Drawing_TextBlobCreateFromText(str, strlen(str), font, OH_Drawing_TextEncoding::TEXT_ENCODING_UTF8); in HWTEST_F() 653 const char *str = "123456"; in HWTEST_F() local 656 OH_Drawing_TextBlobCreateFromText(str, strlen(str), font, OH_Drawing_TextEncoding::TEXT_ENCODING_UTF8); in HWTEST_F() 680 const char *str in HWTEST_F() local [all...] |
/third_party/gn/src/gn/ |
H A D | functions.cc | 1229 return Value(function, stream.str()); 1240 result = string_replace(str, old, new[, max]) 1242 Returns a copy of the string str in which the occurrences of old have been 1268 const std::string str = args[0].string_value(); 1290 std::string val(str); 1309 result = string_split(str[, sep]) 1315 any leading/trailing whitespace is ignored; similar to Python's str.split(). 1337 "Usage: string_split(str[, sep])"); 1341 // Check usage: str is a string. 1345 const std::string str [all...] |
/third_party/backends/backend/ |
H A D | st400.c | 173 static int str_at_offset(char *str, size_t offset, unsigned char *data) in str_at_offset() argument 177 len = strlen(str); in str_at_offset() 178 return !strncmp((char *)&data[offset], str, len); in str_at_offset() 687 char line[PATH_MAX], *str; in sane_init() local 694 str = line; in sane_init() 695 if( str[0] == '#' ) in sane_init() 697 str = (char *)sanei_config_skip_whitespace(str); in sane_init() 698 len = strlen(str); in sane_init() 701 if( strncmp(str, "optio in sane_init() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/ |
H A D | DecimalQuantityTest.java | 109 for (String str : cases) { in testBehavior() 110 testDecimalQuantity(i++, str, formats, 0); in testBehavior() 114 for (String str : hardCases) { in testBehavior() 115 testDecimalQuantity(i++, str, formats, 1); in testBehavior() 119 for (String str : doubleCases) { in testBehavior() 120 testDecimalQuantity(i++, str, formats, 2); in testBehavior() 126 String str, in testDecimalQuantity() 130 assertEquals("Double is not valid", Double.toString(Double.parseDouble(str)), str); in testDecimalQuantity() 134 BigDecimal d = new BigDecimal(str); in testDecimalQuantity() 124 testDecimalQuantity( int t, String str, List<LocalizedNumberFormatter> formats, int mode) testDecimalQuantity() argument [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
H A D | DecimalQuantityTest.java | 106 for (String str : cases) { in testBehavior() 107 testDecimalQuantity(i++, str, formats, 0); in testBehavior() 111 for (String str : hardCases) { in testBehavior() 112 testDecimalQuantity(i++, str, formats, 1); in testBehavior() 116 for (String str : doubleCases) { in testBehavior() 117 testDecimalQuantity(i++, str, formats, 2); in testBehavior() 123 String str, in testDecimalQuantity() 127 assertEquals("Double is not valid", Double.toString(Double.parseDouble(str)), str); in testDecimalQuantity() 131 BigDecimal d = new BigDecimal(str); in testDecimalQuantity() 121 testDecimalQuantity( int t, String str, List<LocalizedNumberFormatter> formats, int mode) testDecimalQuantity() argument [all...] |
/third_party/mesa3d/src/gtest/include/gtest/internal/ |
H A D | gtest-port.h | 889 // FullMatch(str, re) returns true if and only if regular expression re 890 // matches the entire str. 891 // PartialMatch(str, re) returns true if and only if regular expression re 892 // matches a substring of str (including str itself). 893 static bool FullMatch(const ::std::string& str, const RE& re) { in FullMatch() argument 894 return FullMatch(str.c_str(), re); in FullMatch() 896 static bool PartialMatch(const ::std::string& str, const RE& re) { in PartialMatch() argument 897 return PartialMatch(str.c_str(), re); in PartialMatch() 900 static bool FullMatch(const char* str, cons 1944 StripTrailingSpaces(std::string str) StripTrailingSpaces() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/bn/asm/ |
H A D | armv4-mont.pl | 171 str $tp,[$_bpend] @ save &bp[num] 174 str $n0,[$_n0] @ save n0 value 189 str $nlo,[$tp],#4 @ tp[j-1]=,tp++ 199 str $nlo,[$num] @ tp[num-1]= 201 str $nhi,[$num,#4] @ tp[num]= 216 str $tp,[$_bp] @ save bp 233 str $nlo,[$tp],#4 @ tp[j-1]=,tp++ 246 str $nlo,[$num] @ tp[num-1]= 247 str $nhi,[$num,#4] @ tp[num]= 269 str [all...] |
/third_party/rust/crates/bindgen/bindgen/ir/ |
H A D | comp.rs | 138 fn name(&self) -> Option<&str>; in name() 144 fn comment(&self) -> Option<&str>; in comment() 372 pub fn getter_name(&self) -> &str { in getter_name() 387 pub fn setter_name(&self) -> &str { in setter_name() 400 fn name(&self) -> Option<&str> { in name() 408 fn comment(&self) -> Option<&str> { in comment() 460 fn name(&self) -> Option<&str> { in name() 468 fn comment(&self) -> Option<&str> { in comment() 768 name: &str, in deanonymize_fields() 893 fn name(&self) -> Option<&str> { in name() [all...] |