/third_party/skia/third_party/externals/icu/source/tools/pkgdata/ |
H A D | pkgtypes.h | 32 const char *str; member 57 CharList *pkg_prependToList(CharList *l, const char *str); 64 CharList *pkg_appendToList(CharList *l, CharList** end, const char *str); 81 UBool pkg_listContains(CharList *l, const char *str);
|
/third_party/skia/src/xml/ |
H A D | SkXMLParser.h | 35 virtual void getErrorString(SkString* str) const; 42 void setNoun(const SkString& str) { fNoun.set(str); } in setNoun() argument 65 static void GetNativeErrorString(int nativeErrorCode, SkString* str);
|
/third_party/skia/third_party/externals/dawn/generator/ |
H A D | remove_files.py | 41 type=str, 46 type=str, 50 type=str, 54 type=str,
|
/third_party/skia/third_party/externals/tint/fuzzers/ |
H A D | generate_spirv_corpus.py | 49 input_dir: str = os.path.abspath(sys.argv[1].rstrip(os.sep)) 50 corpus_dir: str = os.path.abspath(sys.argv[2]) 51 spirv_as_path: str = os.path.abspath(sys.argv[3]) 86 print("Too many (" + str(num_errors) + ") errors occured while generating the SPIR-V corpus.")
|
/third_party/skia/third_party/externals/tint/src/resolver/ |
H A D | atomics_test.cc | 64 auto* str = TypeOf(g)->UnwrapRef()->As<sem::Struct>(); in TEST_F() local 65 ASSERT_NE(str, nullptr); in TEST_F() 66 ASSERT_EQ(str->Members().size(), 1u); in TEST_F() 67 auto* atomic = str->Members()[0]->Type()->As<sem::Atomic>(); in TEST_F()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | noImplicitSymbolToString.js | 5 let str = "hello "; 9 str += symbol; 53 var str = "hello ";
variable 56 str += symbol;
|
/third_party/protobuf/ruby/ext/google/protobuf_c/ |
H A D | protobuf.c | 41 static VALUE create_frozen_string(const char* str, size_t size, bool binary) { in create_frozen_string() argument 42 VALUE str_rb = rb_str_new(str, size); in create_frozen_string() 50 VALUE get_frozen_string(const char* str, size_t size, bool binary) { in get_frozen_string() argument 60 return create_frozen_string(str, size, binary); in get_frozen_string()
|
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | hash.h | 63 inline size_t operator()(const char* str) const { in operator ()() 65 for (; *str != '\0'; str++) { in operator ()() 66 result = 5 * result + static_cast<size_t>(*str); in operator ()()
|
/third_party/python/Lib/test/test_email/ |
H A D | test_pickleable.py | 29 self.assertEqual(str(h), str(header)) 36 self.assertEqual(str(h), str(header))
|
/third_party/rust/crates/clap/examples/ |
H A D | typed-derive.rs | 8 /// Implicitly using `std::str::FromStr` 48 fn parse_key_val<T, U>(s: &str) -> Result<(T, U), Box<dyn Error + Send + Sync + 'static>> in parse_key_val() 50 T: std::str::FromStr, in parse_key_val() 52 U: std::str::FromStr, in parse_key_val() 83 impl std::str::FromStr for LogLevel { 86 fn from_str(s: &str) -> Result<Self, Self::Err> { in from_str()
|
/third_party/rust/crates/io-lifetimes/ |
H A D | build.rs | 24 fn use_feature_or_nothing(feature: &str) { in use_feature_or_nothing() 30 fn use_feature(feature: &str) { in use_feature() 35 fn has_feature(feature: &str) -> bool { in has_feature() 43 fn can_compile<T: AsRef<str>>(test: T) -> bool { in can_compile()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
H A D | resize_uninitialized_test.cc | 93 std::string str; in TEST() local 94 size_t prev_cap = str.capacity(); in TEST() 97 absl::strings_internal::STLStringResizeUninitializedAmortized(&str, i); in TEST() 98 size_t new_cap = str.capacity(); in TEST()
|
/third_party/rust/crates/nom/src/ |
H A D | lib.rs | 22 //! fn from_hex(input: &str) -> Result<u8, std::num::ParseIntError> { 30 //! fn hex_primary(input: &str) -> IResult<&str, u8> { 37 //! fn hex_color(input: &str) -> IResult<&str, Color> { 97 //! fn parens(input: &str) -> IResult<&str, &str> { 131 //! fn take4(input: &str) -> IResult<&str, 458 mod str; global() modules [all...] |
/third_party/rust/crates/nom/src/character/ |
H A D | tests.rs | 17 fn utf8(i: &str) -> IResult<&str, char> { in one_of_test() 53 fn f(i: &str) -> IResult<&str, char> { in char_str()
|
/third_party/skia/docs/examples/ |
H A D | Color_Wheel.cpp | 28 const struct { const char* str; float radius; float angle; SkColor4f color;} kLetters[] = { in REG_FIDDLE() member 39 font.measureText(v.str, strlen(v.str), SkTextEncoding::kUTF8, &bnds); in REG_FIDDLE() 43 canvas->drawString(v.str, x, y, font, SkPaint(v.color)); in REG_FIDDLE()
|
/third_party/rust/crates/syn/tests/repo/ |
H A D | mod.rs | 16 const REVISION: &str = "b10cfcd65fd7f7b1ab9beb34798b2108de003452"; 19 static EXCLUDE_FILES: &[&str] = &[ 217 static EXCLUDE_DIRS: &[&str] = &[ 232 static UI_TEST_DIRS: &[&str] = &["tests/ui", "tests/rustdoc-ui"]; 293 pub fn edition(path: &Path) -> &'static str { in edition()
|
/third_party/spirv-tools/test/opt/ |
H A D | pass_utils.cpp | 86 for (const auto* str : strings) { in SelectiveJoin() 87 if (!skip_dictator(str)) oss << str << delimiter; in SelectiveJoin() 89 return oss.str(); in SelectiveJoin()
|
/third_party/spirv-tools/tools/cfg/ |
H A D | cfg.cpp | 91 std::string str = ss.str(); in main() local 92 WriteFile(outFile.empty() ? nullptr : outFile.c_str(), "w", str.data(), in main() 93 str.size()); in main()
|
/third_party/spirv-tools/utils/ |
H A D | generate_vim_syntax.py | 140 type=str, required=True, 144 type=str, required=False, default=None, 148 type=str, required=False, default=None, 152 type=str, required=False, default=None,
|
/third_party/python/Lib/test/ |
H A D | test_decimal.py | 448 result = str(funct(*vals)) 450 result = str(int(eval(result))) # 'True', 'False' -> '1', '0' 466 'Incorrect flags set in ' + s + ' -- got ' + str(myexceptions)) 514 self.assertEqual(str(d), '45') 518 self.assertEqual(str(d), '500000123') 522 self.assertEqual(str(d), '-45') 526 self.assertEqual(str(d), '0') 534 self.assertEqual(str(d), str(i)) 542 self.assertEqual(str(Decima [all...] |
/third_party/mesa3d/src/compiler/glsl/glcpp/ |
H A D | glcpp-parse.y | 66 const char *str); 94 _token_create_str(glcpp_parser_t *parser, int type, char *str); 200 %type <str> IDENTIFIER FUNC_IDENTIFIER OBJ_IDENTIFIER INTEGER_STRING OTHER ERROR_TOKEN PRAGMA PATH INCLUDE 886 const char *str) 891 node->str = linear_strdup(parser->linalloc, str); 914 if (strcmp (node->str, member) == 0) { 935 if (strcmp (node->str, dup->str) == 0) 936 return node->str; [all...] |
/third_party/mesa3d/src/gallium/auxiliary/hud/ |
H A D | hud_context.c | 143 const char *str, ...) in hud_draw_string() 151 va_start(ap, str); in hud_draw_string() 152 vsnprintf(buf, sizeof(buf), str, ap); in hud_draw_string() 332 char str[32]; in hud_pane_accumulate_vertices() local 348 pane->type, str); in hud_pane_accumulate_vertices() 349 hud_draw_string(hud, x, y, "%s", str); in hud_pane_accumulate_vertices() 358 number_to_human_readable(gr->current_value, pane->type, str); in hud_pane_accumulate_vertices() 359 hud_draw_string(hud, x, y, " %s: %s", gr->name, str); in hud_pane_accumulate_vertices() 406 char str[32]; in hud_pane_accumulate_vertices_simple() local 414 number_to_human_readable(gr->current_value, pane->type, str); in hud_pane_accumulate_vertices_simple() 142 hud_draw_string(struct hud_context *hud, unsigned x, unsigned y, const char *str, ...) hud_draw_string() argument 1085 read_pane_settings(char *str, unsigned * const x, unsigned * const y, unsigned * const width, unsigned * const height, uint64_t * const ceiling, boolean * const dyn_ceiling, boolean *reset_colors, boolean *sort_items) read_pane_settings() argument [all...] |
/kernel/linux/linux-5.10/drivers/block/rsxx/ |
H A D | cregs.c | 529 static void hw_log_msg(struct rsxx_cardinfo *card, const char *str, int len) in hw_log_msg() argument 537 if ((len > 3) && (str[0] == '<') && (str[2] == '>')) { in hw_log_msg() 538 level = str[1]; in hw_log_msg() 539 str += 3; /* Skip past the log level. */ in hw_log_msg() 545 dev_emerg(CARD_TO_DEV(card), "HW: %.*s", len, str); in hw_log_msg() local 548 dev_alert(CARD_TO_DEV(card), "HW: %.*s", len, str); in hw_log_msg() local 551 dev_crit(CARD_TO_DEV(card), "HW: %.*s", len, str); in hw_log_msg() local 554 dev_err(CARD_TO_DEV(card), "HW: %.*s", len, str); in hw_log_msg() local 557 dev_warn(CARD_TO_DEV(card), "HW: %.*s", len, str); in hw_log_msg() local 560 dev_notice(CARD_TO_DEV(card), "HW: %.*s", len, str); hw_log_msg() local 563 dev_info(CARD_TO_DEV(card), "HW: %.*s", len, str); hw_log_msg() local 566 dev_dbg(CARD_TO_DEV(card), "HW: %.*s", len, str); hw_log_msg() local 569 dev_info(CARD_TO_DEV(card), "HW: %.*s", len, str); hw_log_msg() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/ |
H A D | bcmsysport.h | 633 #define STAT_MIB(str, m, _type) { \ 634 .stat_string = str, \ 640 #define STAT_MIB_RX(str, m) STAT_MIB(str, m, BCM_SYSPORT_STAT_MIB_RX) 641 #define STAT_MIB_TX(str, m) STAT_MIB(str, m, BCM_SYSPORT_STAT_MIB_TX) 642 #define STAT_RUNT(str, m) STAT_MIB(str, m, BCM_SYSPORT_STAT_RUNT) 643 #define STAT_MIB_SOFT(str, m) STAT_MIB(str, [all...] |
/kernel/linux/linux-5.10/drivers/xen/xen-pciback/ |
H A D | xenbus.c | 209 char str[64]; in xen_pcibk_publish_pci_dev() local 211 len = snprintf(str, sizeof(str), "vdev-%d", devid); in xen_pcibk_publish_pci_dev() 212 if (unlikely(len >= (sizeof(str) - 1))) { in xen_pcibk_publish_pci_dev() 218 err = xenbus_printf(XBT_NIL, pdev->xdev->nodename, str, in xen_pcibk_publish_pci_dev() 307 char str[64]; in xen_pcibk_publish_pci_root() local 320 len = snprintf(str, sizeof(str), "root-%d", i); in xen_pcibk_publish_pci_root() 321 if (unlikely(len >= (sizeof(str) - 1))) { in xen_pcibk_publish_pci_root() 327 str, " in xen_pcibk_publish_pci_root() [all...] |