/third_party/rust/crates/clap/clap_complete/tests/ |
H A D | examples.rs | 6 let features: &[&str] = &[ in example_tests()
|
/third_party/python/Tools/demo/ |
H A D | beer.py | 19 return str(n) + " bottles of beer"
|
/third_party/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/ |
H A D | sha1.h | 24 // Computes the SHA-1 hash of the input string |str| and returns the full 26 ANGLEBASE_EXPORT std::string SHA1HashString(const std::string &str);
|
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
H A D | DrawCallPerfParams.cpp | 39 return strstr.str(); in story()
|
/third_party/skia/third_party/externals/icu/source/samples/numfmt/ |
H A D | util.h | 27 void uprintf(const UnicodeString &str);
|
/third_party/skia/third_party/externals/icu/fuzzers/ |
H A D | icu_unicode_string_codepage_create_fuzzer.cc | 69 icu::UnicodeString str(reinterpret_cast<const char*>(data), size, in LLVMFuzzerTestOneInput()
|
/third_party/python/Lib/test/crashers/ |
H A D | mutation_inside_cyclegc.py | 25 lst = [str(i)]
|
/third_party/skia/third_party/externals/tint/src/sem/ |
H A D | parameter_usage.h | 51 const char* str(ParameterUsage usage);
|
/third_party/spirv-tools/source/ |
H A D | binary.h | 32 // Returns the number of non-null characters in str before the first null 34 // first strsz characters in str. Returns 0 if str is nullptr. This is a 36 size_t spv_strnlen_s(const char* str, size_t strsz);
|
/third_party/python/PC/layout/ |
H A D | __main__.py | 10 sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
|
/third_party/rust/crates/cxx/flags/src/ |
H A D | impl.rs | 2 pub const STD: &str = {
|
/third_party/skia/include/utils/ |
H A D | SkParsePath.h | 19 static bool FromSVGString(const char str[], SkPath*);
|
/third_party/rust/crates/syn/examples/lazy-static/example/src/ |
H A D | main.rs | 17 fn validate(name: &str) { in validate()
|
/third_party/rust/crates/shlex/fuzz/fuzz_targets/ |
H A D | fuzz_next.rs | 6 if let Ok(s) = std::str::from_utf8(data) {
|
/third_party/rust/crates/syn/codegen/src/ |
H A D | debug.rs | 8 const DEBUG_SRC: &str = "src/gen/debug.rs"; 11 enum_name: &str, in syntax_tree_enum() 12 variant_name: &str, in syntax_tree_enum() 14 ) -> Option<&'a str> { in syntax_tree_enum() 18 const WHITELIST: &[(&str, &str)] = &[ 46 syntax_tree_variants: &Set<&str>, in expand_impl_body() 132 fn debug(&self, formatter: &mut fmt::Formatter, name: &str) -> fmt::Result { in expand_impl_body() 143 fn expand_impl(defs: &Definitions, node: &Node, syntax_tree_variants: &Set<&str>) -> TokenStream { in expand_impl()
|
/third_party/vk-gl-cts/framework/delibs/decpp/ |
H A D | deDefs.cpp | 39 throw std::runtime_error(msg.str()); in throwRuntimeError()
|
/third_party/vk-gl-cts/framework/randomshaders/ |
H A D | rsgPrettyPrinter.hpp | 38 PrettyPrinter (std::ostringstream& str);
|
/vendor/hisilicon/hispark_pegasus/demo/environment_demo/ |
H A D | app_demo_i2c_oled.h | 26 unsigned char *FloatToString(double d, unsigned char *str);
|
/third_party/alsa-utils/alsactl/ |
H A D | init_parse.c | 942 static char *get_key_attribute(struct space *space, char *str, char *res, size_t ressize) in get_key_attribute() argument 947 attr = strchr(str, '{'); in get_key_attribute() 965 /* extract possible {attr} and move str behind it */ 966 static char *get_format_attribute(struct space *space, char **str) in get_format_attribute() argument 971 if (*str[0] == '{') { in get_format_attribute() 972 pos = strchr(*str, '}'); in get_format_attribute() 978 attr = *str+1; in get_format_attribute() 979 *str = pos+1; in get_format_attribute() 980 dbg("attribute='%s', str='%s'", attr, *str); in get_format_attribute() 986 get_format_len(struct space *space, char **str) get_format_len() argument [all...] |
/third_party/mesa3d/src/compiler/glsl/ |
H A D | ir.cpp | 672 ir_expression::get_operator(const char *str) in get_operator() argument 675 if (strcmp(str, ir_expression_operation_strings[op]) == 0) in get_operator() 1784 ir_texture::get_opcode(const char *str) in get_opcode() argument 1788 if (strcmp(str, tex_opcode_strs[op]) == 0) in get_opcode() 1902 ir_swizzle::create(ir_rvalue *val, const char *str, unsigned vector_length) in create() argument 1949 if ((str[0] < 'a') || (str[0] > 'z')) in create() 1952 const unsigned base = base_idx[str[0] - 'a']; in create() 1955 for (i = 0; (i < 4) && (str[i] != '\0'); i++) { in create() 1959 if ((str[ in create() [all...] |
/third_party/mesa3d/src/gallium/drivers/virgl/ |
H A D | virgl_encode.c | 531 char *str, *sptr; in virgl_encode_shader_state() local 539 str = CALLOC(1, str_total_size); in virgl_encode_shader_state() 540 if (!str) in virgl_encode_shader_state() 546 bret = tgsi_dump_str(tokens, TGSI_DUMP_FLOAT_AS_HEX, str, str_total_size); in virgl_encode_shader_state() 553 str = REALLOC(str, old_size, str_total_size); in virgl_encode_shader_state() 554 if (!str) in virgl_encode_shader_state() 563 debug_printf("TGSI:\n---8<---\n%s\n---8<---\n", str); in virgl_encode_shader_state() 568 const char *barrier = str; in virgl_encode_shader_state() 572 shader_len = strlen(str) in virgl_encode_shader_state() [all...] |
/third_party/python/Lib/collections/ |
H A D | __init__.py | 367 >>> p._replace(x=100) # _replace() is like str.replace() but targets named fields 374 if isinstance(field_names, str): 376 field_names = list(map(str, field_names)) 377 typename = _sys.intern(str(typename)) 390 if type(name) is not str: 1332 if isinstance(seq, str): 1337 self.data = str(seq) 1340 return str(self.data) 1399 elif isinstance(other, str): 1401 return self.__class__(self.data + str(othe [all...] |
/third_party/python/Lib/ |
H A D | pickle.py | 588 if isinstance(rv, str): 616 self.write(PERSID + str(pid).encode("ascii") + b'\n') 795 (str(obj, 'latin1'), 'latin1'), obj=obj) 872 dispatch[str] = save_str 1359 self.append(str(self.readline()[:-1], 'raw-unicode-escape')) 1367 self.append(str(self.read(len), 'utf-8', 'surrogatepass')) 1375 self.append(str(self.read(len), 'utf-8', 'surrogatepass')) 1427 self.append(str(self.read(len), 'utf-8', 'surrogatepass')) 1492 (klass.__name__, str(err)), sys.exc_info()[2]) 1536 if type(name) is not str o [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/ |
H A D | vktMeshShaderSyncTestsEXT.cpp | 420 return decl.str(); in getResourceDecl() 439 return pc.str(); in getPushConstantDecl() 457 return statement.str(); in getReadStatement() 475 return statement.str(); in getWriteStatement() 586 programCollection.glslSources.add("task") << glu::TaskSource(task.str()) << buildOptions; in initPrograms() 625 programCollection.glslSources.add("mesh") << glu::MeshSource(mesh.str()) << buildOptions; in initPrograms() 653 programCollection.glslSources.add("frag") << glu::FragmentSource(frag.str()) << buildOptions; in initPrograms() 1394 TCU_FAIL(msg.str()); in iterate() 1411 TCU_FAIL(msg.str()); in iterate() 1424 TCU_FAIL(msg.str()); in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktShaderIntegerFunctionTests.cpp | 66 std::ostream& operator<< (std::ostream& str, const HexFloat& v) in operator <<() argument 68 return str << v.value << " / " << tcu::toHex(tcu::Float32(v.value).bits()); in operator <<() 79 std::ostream& operator<< (std::ostream& str, const VarValue& varValue) in operator <<() argument 88 str << glu::getDataTypeName(basicType) << "("; in operator <<() 93 str << ", "; in operator <<() 97 case glu::TYPE_FLOAT: str << HexFloat(((const float*)varValue.value)[compNdx]); break; in operator <<() 98 case glu::TYPE_INT: str << ((const deInt32*)varValue.value)[compNdx]; break; in operator <<() 99 case glu::TYPE_UINT: str << tcu::toHex(((const deUint32*)varValue.value)[compNdx]); break; in operator <<() 100 case glu::TYPE_BOOL: str << (((const deUint32*)varValue.value)[compNdx] != 0 ? "true" : "false"); break; in operator <<() 108 str << ")"; in operator <<() [all...] |