/third_party/ntfs-3g/ntfsprogs/ |
H A D | utils.c | 51 #include <string.h> 319 * utils_parse_size - Convert a string representing a size 324 * Read a string and convert it to a number. Strings may be suffixed to scale 339 * 0 Error, the string was malformed 393 * utils_parse_range - Convert a string representing a range of numbers 394 * @string: The string to be parsed 398 * Read a string of the form n-m. If the lower end is missing, zero will be 400 * string cannot be parsed correctly, @start and @finish will not be changed. 402 * Return: 1 Success, a valid string wa 405 utils_parse_range(const char *string, s64 *start, s64 *finish, BOOL scale) utils_parse_range() argument [all...] |
/third_party/node/deps/v8/src/torque/ |
H A D | earley-parser.h | 160 std::string ToString() const { return {begin, end}; } in ToString() 323 std::string SplitByChildren(const LexerResult& tokens) const; 405 Symbol* Token(const std::string& keyword) { return &keywords_[keyword]; } in Token() 406 V8_EXPORT_PRIVATE LexerResult RunLexer(const std::string& input); 411 std::map<std::string, Symbol> keywords_; 424 base::Optional<ParseResult> Parse(const std::string& input) { in Parse() 430 Symbol* Token(const std::string& s) { return lexer_.Token(s); } in Token()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiMaintenance3Check.cpp | 49 using ::std::string; 81 Limit(const string& name_, deUint32 maxValue_, const TypeSet& affectedTypes_) in Limit() 85 const string name; 440 string getBindingsDescription (const vector<VkDescriptorSetLayoutBinding>& bindings) in getBindingsDescription() 669 string description = getBindingsDescription(bindings); in iterate() 871 std::string getDescriptorTypeShortName (const VkDescriptorType descType) in getDescriptorTypeShortName() 874 std::string name = getDescriptorTypeName(descType); in getDescriptorTypeShortName()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawExplicitVertexParameterTests.cpp | 50 #include <string> 115 std::string barycentricVariableString (Interpolation interpolation, AuxiliaryQualifier aux) in barycentricVariableString() 166 std::string getTestName (DrawParams params) in getTestName() 261 const tcu::StringTemplate vertShader (string( in initPrograms() 282 const tcu::StringTemplate fragShader (string( in initPrograms() 320 map<string, string> attributes; in initPrograms()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRender.hpp | 63 mutable std::string m_string; 289 const std::string& name, 296 const std::string& name, 307 std::string m_vertShaderSource; 308 std::string m_fragShaderSource; 547 std::string m_vertexShaderName; 548 std::string m_fragmentShaderName;
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktDrawExplicitVertexParameterTests.cpp | 50 #include <string> 115 std::string barycentricVariableString (Interpolation interpolation, AuxiliaryQualifier aux) in barycentricVariableString() 166 std::string getTestName (DrawParams params) in getTestName() 261 const tcu::StringTemplate vertShader (string( in initPrograms() 282 const tcu::StringTemplate fragShader (string( in initPrograms() 320 map<string, string> attributes; in initPrograms()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | OverlayWidgets.cpp | 139 void GetTextString(const std::string &src, uint8_t textOut[kMaxTextLength]) 206 const std::string &text, 210 using FormatGraphTitleFunc = std::function<std::string(size_t maxValue)>; 219 std::function<std::string(size_t peakRange, size_t maxValueRange, size_t numRanges)>; 238 const std::string &text, 290 std::string text = formatFunc(maxValue); in AppendRunningGraphCommon() 322 std::string text = formatFunc(peakRange, maxValueRange, histogram.size()); in AppendRunningHistogramCommon()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
H A D | COFFImportFile.cpp | 22 #include <string> 67 ArrayRef<const std::string> Strings) { in writeStringTable() 68 // The COFF string table consists of a 4-byte value which is the size of the in writeStringTable() 70 // string content itself, which is an array of null-terminated C-style in writeStringTable() 78 // computed the length while emitting the string content itself. in writeStringTable() 109 static Expected<std::string> replace(StringRef S, StringRef From, in replace() 129 static const std::string NullImportDescriptorSymbolName = 144 std::string ImportDescriptorSymbolName; 145 std::string NullThunkSymbolName; 602 Expected<std::string> Nam in writeImportLibrary() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcFragDepthTests.cpp | 51 using std::string; 100 static std::string specializeVersion(const std::string& source, glu::GLSLVersion version) in specializeVersion() 104 std::map<std::string, std::string> args; in specializeVersion() 120 string m_fragSrc; 279 string m_fragSrc;
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl3cTransformFeedbackTests.hpp | 38 #include <string> 1298 * @param [in] geometry_shader_source Pointer to C string of the geometry shader or NULL if not used. 1299 * @param [in] tessellation_control_shader_source Pointer to C string of the tessellation control shader or NULL if not used. 1300 * @param [in] tessellation_evaluation_shader_source Pointer to C string of the tessellation evaluation shader or NULL if not used. 1301 * @param [in] vertex_shader_source Pointer to C string of the vertex shader or NULL if not used. 1302 * @param [in] geometry_shader_source Pointer to C string of the fragment shader or NULL if not used. 1320 /** Preprocess source string by replacing key tokens with new values. 1322 * @param [in] source Source string. 1326 * @return Preprocessed string. 1328 std::string preprocessCod [all...] |
/third_party/skia/third_party/externals/sfntly/cpp/src/test/tinyxml/ |
H A D | tinyxml.cpp | 534 TiXmlElement::TiXmlElement( const std::string& _value ) in TiXmlElement() 587 const std::string* TiXmlElement::Attribute( const std::string& name ) const in Attribute() 613 const std::string* TiXmlElement::Attribute( const std::string& name, int* i ) const in Attribute() 616 const std::string* result = 0; in Attribute() 645 const std::string* TiXmlElement::Attribute( const std::string& name, double* d ) const in Attribute() 648 const std::string* result = 0; in Attribute() 710 int TiXmlElement::QueryIntAttribute( const std::string [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/Coverage/ |
H A D | CoverageMapping.h | 36 #include <string> 72 std::string message() const override; 303 std::string Name; 310 std::vector<std::string> Filenames; 481 std::string Filename; 517 std::vector<std::pair<std::string, uint64_t>> FuncHashMismatches; 558 ArrayRef<std::pair<std::string, uint64_t>> getHashMismatches() const { in getHashMismatches() 778 // name string pointer to MD5 to support name section compression. Name
|
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
H A D | function_composite_test.cc | 28 std::string Caps() { in Caps() 37 std::string CommonTypes() { in CommonTypes() 78 std::string Preamble() { in Preamble() 184 const auto expected = std::string( in TEST_F() 353 const std::string assembly = R"( in TEST_F() 623 const std::string assembly = R"( in TEST_F() 663 const std::string expected = R"(var var0 : S; in TEST_F()
|
/third_party/skia/third_party/externals/tint/src/transform/ |
H A D | canonicalize_entry_point_io.cc | 18 #include <string> 84 std::string name; 117 std::unordered_set<std::string> input_names; 158 const ast::Expression* AddInput(std::string name, in AddInput() 217 void AddOutput(std::string name, in AddOutput() 377 std::unordered_set<std::string> member_names; in CreateOutputStruct() 562 "missing transform data for " + std::string(TypeInfo().name)); in Run()
|
/third_party/protobuf/src/google/protobuf/util/internal/ |
H A D | json_stream_parser.cc | 90 const std::string& replacement, in ReplaceInvalidCodePoints() 91 std::string* dst) { in ReplaceInvalidCodePoints() 171 // and create a new StringPiece pointing at the string's data. This could in Parse() 206 std::unique_ptr<std::string> scratch; in FinishParse() 210 scratch.reset(new std::string); in FinishParse() 251 // string left to parse, we report an error. in ParseChunk() 257 leftover_ = std::string(p_); in ParseChunk() 341 // This handles things like 'fals' being at the end of the string, we in ParseValue() 379 // If we ran out of string after the \, cancel or report an error in ParseStringHelper() 385 return ReportFailure("Closing quote expected in string in ParseStringHelper() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
H A D | nanobenchmark.cc | 26 #include <string> 100 std::string BrandString() { in BrandString() 104 // Check if brand string is supported (it is on all reasonable Intel/AMD) in BrandString() 107 return std::string(); in BrandString() 118 // Returns the frequency quoted inside the brand string. This does not 121 const std::string& brand_string = BrandString(); in NominalClockRate() 128 if (pos_prefix != std::string::npos) { in NominalClockRate() 130 if (pos_space != std::string::npos) { in NominalClockRate() 131 const std::string digits = in NominalClockRate()
|
/third_party/skia/fuzz/ |
H A D | FuzzMain.cpp | 270 static std::map<std::string, std::string> cf_api_map = { 291 static std::map<std::string, std::string> cf_map = { 324 std::string type = m.str(2); in try_auto_detect() 335 std::string a1 = m.str(1); in try_auto_detect() 336 std::string typeOrName = m.str(2); in try_auto_detect()
|
/third_party/rust/crates/proc-macro2/tests/ |
H A D | test.rs | 99 assert_eq!(Literal::string("foo").to_string(), "\"foo\""); in literal_string() 100 assert_eq!(Literal::string("\"").to_string(), "\"\\\"\""); in literal_string() 101 assert_eq!(Literal::string("didn't").to_string(), "\"didn't\""); in literal_string() 103 Literal::string("a\00b\07c\08d\0e\0").to_string(), in literal_string() 399 fail("b\"\r\""); // bare carriage return in byte string in fail() 400 fail("r\"\r\""); // bare carriage return in raw string in fail() 750 let string = "\u{feff}foo"; in byte_order_mark() 751 let tokens = string.parse::<TokenStream>().unwrap(); in byte_order_mark() 757 let string = "foo\u{feff}"; in byte_order_mark() 758 string in byte_order_mark() [all...] |
/third_party/vk-gl-cts/framework/platform/lnx/X11/ |
H A D | tcuLnxX11GlxPlatform.cpp | 65 using std::string; 117 set<string> m_extensions; 261 m_extensions = set<string>(istream_iterator<string>(srvExtStream), in GlxDisplay() 262 istream_iterator<string>()); in GlxDisplay() 263 m_extensions.insert(istream_iterator<string>(cliExtStream), in GlxDisplay() 264 istream_iterator<string>()); in GlxDisplay()
|
/kernel/linux/linux-5.10/drivers/net/bonding/ |
H A D | bond_sysfs.c | 14 #include <linux/string.h> 206 return sprintf(buf, "%s %d\n", val->string, BOND_MODE(bond)); in bonding_show_mode() 220 return sprintf(buf, "%s %d\n", val->string, bond->params.xmit_policy); in bonding_show_xmit_hash() 236 return sprintf(buf, "%s %d\n", val->string, bond->params.arp_validate); in bonding_show_arp_validate() 252 val->string, bond->params.arp_all_targets); in bonding_show_arp_all_targets() 268 return sprintf(buf, "%s %d\n", val->string, bond->params.fail_over_mac); in bonding_show_fail_over_mac() 352 return sprintf(buf, "%s %d\n", val->string, bond->params.lacp_fast); in bonding_show_lacp() 377 return sprintf(buf, "%s %d\n", val->string, bond->params.ad_select); in bonding_show_ad_select() 439 val->string, bond->params.primary_reselect); in bonding_show_primary_reselect()
|
/kernel/linux/linux-5.10/net/ceph/ |
H A D | ceph_common.c | 20 #include <linux/string.h> 268 /* string args above */ 436 err = ceph_parse_ips(param->string, in ceph_parse_param() 437 param->string + param->size, in ceph_parse_param() 448 err = parse_fsid(param->string, &opt->fsid); in ceph_parse_param() 457 opt->name = param->string; in ceph_parse_param() 458 param->string = NULL; in ceph_parse_param() 467 err = ceph_crypto_key_unarmor(opt->key, param->string); in ceph_parse_param() 480 return get_secret(opt->key, param->string, &log); in ceph_parse_param() 483 err = ceph_parse_crush_location(param->string, in ceph_parse_param() [all...] |
/kernel/linux/linux-6.6/drivers/phy/ |
H A D | phy-core.c | 61 * @con_id: connection ID string on device 92 * @con_id: connection ID string on device 727 * @string: the phy name as given in the dt data or the name of the controller 734 struct phy *phy_get(struct device *dev, const char *string) in phy_get() argument 741 if (string) in phy_get() 743 string); in phy_get() 748 if (string == NULL) { in phy_get() 749 dev_WARN(dev, "missing string\n"); in phy_get() 752 phy = phy_find(dev, string); in phy_get() 774 * @string 781 devm_phy_get(struct device *dev, const char *string) devm_phy_get() argument 814 devm_phy_optional_get(struct device *dev, const char *string) devm_phy_optional_get() argument [all...] |
/kernel/linux/linux-6.6/net/ceph/ |
H A D | ceph_common.c | 20 #include <linux/string.h> 242 /* string args above */ 432 err = ceph_parse_ips(param->string, in ceph_parse_param() 433 param->string + param->size, in ceph_parse_param() 443 err = ceph_parse_fsid(param->string, &opt->fsid); in ceph_parse_param() 452 opt->name = param->string; in ceph_parse_param() 453 param->string = NULL; in ceph_parse_param() 462 err = ceph_crypto_key_unarmor(opt->key, param->string); in ceph_parse_param() 475 return get_secret(opt->key, param->string, &log); in ceph_parse_param() 478 err = ceph_parse_crush_location(param->string, in ceph_parse_param() [all...] |
/third_party/googletest/googletest/test/ |
H A D | googletest-death-test-test.cc | 107 void DieWithMessage(const ::std::string& message) { in DieWithMessage() 122 void DieInside(const ::std::string& function) { in DieInside() 526 const ::std::string regex_std_str(regex_c_str); in TEST_F() 531 EXPECT_DEATH(GlobalFunction(), ::std::string(regex_c_str).c_str()); in TEST_F() 930 testing::Matcher<const std::string&> matcher, const char* file, 1039 const char* /*statement*/, testing::Matcher<const std::string&> /*matcher*/, in Create() 1192 // Tests that GetLastErrnoDescription returns an empty string when the 1193 // last error is 0 and non-empty string when it is non-zero. 1245 EXPECT_FALSE(ParseNaturalNumber("non-number string", &result)); in TEST() 1386 Matcher<const std::string in TEST() [all...] |
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/ |
H A D | json.cc | 49 void StartElement(std::string* out) { StartElementTmpl(out); } in StartElement() 103 // Implements a handler for JSON parser events to emit a JSON string. 242 // string termination / control. 296 std::string str_value = json::platform::DToStr(value); 302 if (str_value.find_first_of(".eE") == std::string::npos) 352 void Emit(const std::string& str) { in Emit() 368 std::unique_ptr<ParserHandler> NewJSONEncoder(std::string* out, in NewJSONEncoder() 371 new JSONEncoder<std::string>(out, status)); in NewJSONEncoder() 420 std::string buffer; in CharsToDouble() 432 std::string buffe in CharsToDouble() [all...] |