/third_party/toybox/openharmony/ |
H A D | su.c | 35 struct passwd *xgetpwnam(char *name) in xgetpwnam() argument 37 struct passwd *up = getpwnam(name); in xgetpwnam() 40 fprintf(stderr, "user '%s' is not exist\n", name); in xgetpwnam() 103 char *name, **argu, **args; in main() local 135 name = argv[optind]; in main() 138 name = "root"; in main() 147 printf("Switch to %s\n", name); in main() 148 xsetuser(up = xgetpwnam(name)); in main()
|
/third_party/protobuf/js/ |
H A D | debug.js | 15 // * Neither the name of Google Inc. nor the names of its 107 var messageName = ctor.name || ctor.displayName; 109 '$name': messageName 111 for (var name in ctor.prototype) { 112 var match = /^get([A-Z]\w*)/.exec(name); 113 if (match && name != 'getExtension' && 114 name != 'getJsPbMessageId') { 117 var val = thing[name](); 148 * Formats a field name for output as camelCase. 150 * @param {string} name Nam [all...] |
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
H A D | RubyBuilder.java | 16 * * Neither the name of Google Inc. nor the names of its 41 @JRubyClass(name = "Builder") 79 * Builder.add_message(name, &block) 81 * Creates a new, empty descriptor with the given name, and invokes the block in 88 @JRubyMethod(name = "add_message") 89 public IRubyObject addMessage(ThreadContext context, IRubyObject name, Block block) { in addMessage() argument 92 msgdef.setName(context, name); in addMessage() 108 * Builder.add_enum(name, &block) 110 * Creates a new, empty enum descriptor with the given name, and invokes the block in 116 @JRubyMethod(name 117 addEnum(ThreadContext context, IRubyObject name, Block block) addEnum() argument [all...] |
/third_party/python/Lib/test/test_importlib/builtin/ |
H A D | test_loader.py | 26 def load_module(self, name): 29 return self.machinery.BuiltinImporter.load_module(name) 51 name = 'dssdsdfff' 52 assert name not in sys.builtin_module_names 54 self.load_module(name) 55 self.assertEqual(cm.exception.name, name) 58 # Using the name of a module already imported but not a built-in should 67 self.assertEqual(cm.exception.name, module_name)
|
/third_party/python/Modules/clinic/ |
H A D | _csv.c.h | 26 "unregister_dialect($module, /, name)\n" 29 "Delete the name/dialect mapping associated with a string name.\n" 31 " csv.unregister_dialect(name)"); 37 _csv_unregister_dialect_impl(PyObject *module, PyObject *name); 43 static const char * const _keywords[] = {"name", NULL}; in _csv_unregister_dialect() 46 PyObject *name; in _csv_unregister_dialect() local 52 name = args[0]; in _csv_unregister_dialect() 53 return_value = _csv_unregister_dialect_impl(module, name); in _csv_unregister_dialect() 60 "get_dialect($module, /, name)\ 80 PyObject *name; _csv_get_dialect() local [all...] |
/third_party/rust/crates/clap/clap_complete/src/shells/ |
H A D | shell.rs | 73 fn file_name(&self, name: &str) -> String { in file_name() 75 Shell::Bash => shells::Bash.file_name(name), in file_name() 76 Shell::Elvish => shells::Elvish.file_name(name), in file_name() 77 Shell::Fish => shells::Fish.file_name(name), in file_name() 78 Shell::PowerShell => shells::PowerShell.file_name(name), in file_name() 79 Shell::Zsh => shells::Zsh.file_name(name), in file_name() 146 let name = path.file_stem()?.to_str()?; in parse_shell_from_path() 147 match name { in parse_shell_from_path()
|
/third_party/skia/modules/svg/src/ |
H A D | SkSVGPattern.cpp | 17 bool SkSVGPattern::parseAndSetAttribute(const char* name, const char* value) { in parseAndSetAttribute() argument 18 return INHERITED::parseAndSetAttribute(name, value) || in parseAndSetAttribute() 19 this->setX(SkSVGAttributeParser::parse<SkSVGLength>("x", name, value)) || in parseAndSetAttribute() 20 this->setY(SkSVGAttributeParser::parse<SkSVGLength>("y", name, value)) || in parseAndSetAttribute() 21 this->setWidth(SkSVGAttributeParser::parse<SkSVGLength>("width", name, value)) || in parseAndSetAttribute() 22 this->setHeight(SkSVGAttributeParser::parse<SkSVGLength>("height", name, value)) || in parseAndSetAttribute() 24 "patternTransform", name, value)) || in parseAndSetAttribute() 25 this->setHref(SkSVGAttributeParser::parse<SkSVGIRI>("xlink:href", name, value)); in parseAndSetAttribute()
|
/third_party/skia/gm/ |
H A D | bitmapcopy.cpp | 114 const char* name = color_type_name(src.colorType()); variable 115 SkScalar textWidth = font.measureText(name, strlen(name), SkTextEncoding::kUTF8); 126 // Draw destination config name 127 const char* name = color_type_name(fDst[i].colorType()); variable 128 SkScalar textWidth = font.measureText(name, strlen(name), SkTextEncoding::kUTF8); 131 canvas->drawSimpleText(name, strlen(name), SkTextEncoding::kUTF8, x, y, font, paint);
|
H A D | encode_color_types.cpp | 75 EncodeColorTypesGM(SkEncodedImageFormat format, int quality, Variant variant, const char* name) in EncodeColorTypesGM() argument 79 , fName(name) in EncodeColorTypesGM() 157 #define DEF_ENCODE_GM(format, quality, variant, name) \ 160 return new EncodeColorTypesGM(format, quality, Variant::variant, name);\ 163 #define DEF_VARIANTS(format, quality, name) \ 164 DEF_ENCODE_GM(format, quality, kNormal, name); \ 165 DEF_ENCODE_GM(format, quality, kOpaque, name); \ 166 DEF_ENCODE_GM(format, quality, kGray, name);
|
/third_party/skia/bench/ |
H A D | DecodeBench.cpp | 16 DecodeBench(const char* name, const char* source) in DecodeBench() argument 17 : fName(SkStringPrintf("decode_%s", name)) in DecodeBench() 42 BitmapDecodeBench(const char* name, const char* source) in BitmapDecodeBench() argument 43 : INHERITED(name, source) in BitmapDecodeBench() 60 SkottieDecodeBench(const char* name, const char* source) in SkottieDecodeBench() argument 61 : INHERITED(name, source) in SkottieDecodeBench() 77 SkottiePictureDecodeBench(const char* name, const char* source) in SkottiePictureDecodeBench() argument 78 : INHERITED(name, source) in SkottiePictureDecodeBench()
|
/third_party/rust/crates/syn/examples/lazy-static/lazy-static/src/ |
H A D | lib.rs | 23 name: Ident, 33 let name: Ident = input.parse()?; in parse() 41 name, in parse() 52 name, in lazy_static() 59 // warning: come on, pick a more creative name in lazy_static() 64 if name == "FOO" { in lazy_static() 65 name.span() in lazy_static() 67 .warning("come on, pick a more creative name") in lazy_static() 119 #visibility struct #name; in lazy_static() 121 impl std::ops::Deref for #name { in lazy_static() [all...] |
/third_party/skia/third_party/externals/freetype/src/bdf/ |
H A D | bdflib.c | 175 #define _bdf_strncmp( name, property, n ) \ 176 ( ft_strncmp( name, property, n ) || \ 177 !( name[n] == ' ' || \ 178 name[n] == '\0' || \ 179 name[n] == '\n' || \ 180 name[n] == '\r' || \ 181 name[n] == '\t' ) ) 211 #define ERRMSG7 "[line %ld] Font name too long.\n" 842 bdf_create_property( const char* name, in bdf_create_property() argument 855 if ( ft_hash_str_lookup( name, in bdf_create_property() 892 bdf_get_property( char* name, bdf_font_t* font ) bdf_get_property() argument 981 char name[256]; _bdf_set_default_spacing() local 1046 _bdf_is_atom( char* line, unsigned long linelen, char** name, char** value, bdf_font_t* font ) _bdf_is_atom() argument 1110 _bdf_add_property( bdf_font_t* font, const char* name, char* value, unsigned long lineno ) _bdf_add_property() argument 1780 char* name; _bdf_parse_properties() local [all...] |
/third_party/python/Lib/test/ |
H A D | test_tarfile.py | 210 self.assertEqual(a.name, b.name) 236 def add_dir_and_getmember(self, name): 245 os.mkdir(name) 246 tar.add(name, filter=filter) 248 os.rmdir(name) 251 tar.getmember(name), 252 tar.getmember(name + '/') 336 if 'reg' in tarinfo.name: 495 self.assertIsInstance(fobj.name, st [all...] |
/third_party/mesa3d/src/compiler/ |
H A D | glsl_types.cpp | 48 unsigned matrix_columns, const char *name, in glsl_type() 74 assert(name != NULL); in glsl_type() 75 this->name = ralloc_strdup(this->mem_ctx, name); in glsl_type() 86 glsl_base_type type, const char *name) : in glsl_type() 97 assert(name != NULL); in glsl_type() 98 this->name = ralloc_strdup(this->mem_ctx, name); in glsl_type() 106 const char *name, bool packed, in glsl_type() 123 assert(name ! in glsl_type() 46 glsl_type(GLenum gl_type, glsl_base_type base_type, unsigned vector_elements, unsigned matrix_columns, const char *name, unsigned explicit_stride, bool row_major, unsigned explicit_alignment) glsl_type() argument 84 glsl_type(GLenum gl_type, glsl_base_type base_type, enum glsl_sampler_dim dim, bool shadow, bool array, glsl_base_type type, const char *name) glsl_type() argument 105 glsl_type(const glsl_struct_field *fields, unsigned num_fields, const char *name, bool packed, unsigned explicit_alignment) glsl_type() argument 137 glsl_type(const glsl_struct_field *fields, unsigned num_fields, enum glsl_interface_packing packing, bool row_major, const char *name) glsl_type() argument 686 char name[128]; get_instance() local 1449 get_struct_instance(const glsl_struct_field *fields, unsigned num_fields, const char *name, bool packed, unsigned explicit_alignment) get_struct_instance() argument 3288 char *name = blob_read_string(blob); decode_type_from_blob() local [all...] |
/third_party/ffmpeg/ffbuild/ |
H A D | libversion.sh | 5 name=lib$1 6 ucname=$(toupper ${name}) 15 eval echo "${name}_VERSION=\$${ucname}_VERSION" 16 eval echo "${name}_VERSION_MAJOR=\$${ucname}_VERSION_MAJOR" 17 eval echo "${name}_VERSION_MINOR=\$${ucname}_VERSION_MINOR"
|
/third_party/alsa-lib/include/ |
H A D | pcm_external.h | 43 #define SND_PCM_PLUGIN_ENTRY(name) _snd_pcm_##name##_open 48 #define SND_PCM_PLUGIN_SYMBOL(name) SND_DLSYM_BUILD_VERSION(SND_PCM_PLUGIN_ENTRY(name), SND_PCM_DLSYM_VERSION); 54 int SND_PCM_PLUGIN_ENTRY(plugin) (snd_pcm_t **pcmp, const char *name,\
|
/third_party/mesa3d/src/freedreno/afuc/ |
H A D | util.h | 33 unsigned afuc_control_reg(const char *name); 36 unsigned afuc_pipe_reg(const char *name); 40 unsigned afuc_gpu_reg(const char *name); 43 unsigned afuc_gpr_reg(const char *name); 45 int afuc_pm4_id(const char *name);
|
/third_party/ltp/testcases/kernel/containers/share/ |
H A D | ns_common.h | 27 const char *name; member 42 struct param *get_param(const char *name) in get_param() argument 46 for (i = 0; params[i].name; i++) { in get_param() 47 if (!strcasecmp(params[i].name, name)) in get_param()
|
/third_party/mesa3d/src/mesa/program/ |
H A D | symbol_table.h | 37 const char *name, void *declaration); 40 const char *name, 45 const char *name, 49 const char *name); 52 const char *name);
|
/third_party/ltp/testcases/lib/ |
H A D | tst_ns_common.h | 14 const char *name; member 30 static struct param *get_param(const char *name) in get_param() argument 34 for (i = 0; params[i].name; i++) { in get_param() 35 if (!strcasecmp(params[i].name, name)) in get_param()
|
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/ |
H A D | PackageDescriptor.cs | 16 // * Neither the name of Google Inc. nor the names of its 38 /// that has the same name as an existing package. 42 private readonly string name; field in Google.Protobuf.Reflection.PackageDescriptor 46 internal PackageDescriptor(string name, string fullName, FileDescriptor file) in PackageDescriptor() argument 50 this.name = name; in PackageDescriptor() 55 get { return name; }
|
/third_party/skia/src/gpu/ |
H A D | GrDriverBugWorkarounds.cpp | 18 #define GPU_OP(type, name) \ in GrDriverBugWorkarounds() 20 name = true; \ in GrDriverBugWorkarounds() 34 #define GPU_OP(type, name) \ in applyOverrides() 35 name |= workarounds.name; in applyOverrides()
|
/third_party/toybox/toys/posix/ |
H A D | rmdir.c | 24 static void do_rmdir(char *name) in do_rmdir() argument 29 if (rmdir(name)) { in do_rmdir() 31 perror_msg_raw(name); in do_rmdir() 39 if (!(temp = strrchr(name, '/'))) return; in do_rmdir() 42 } while (*name); in do_rmdir()
|
/third_party/ffmpeg/libavcodec/ |
H A D | tiff_common.h | 84 int ff_tadd_rational_metadata(int count, const char *name, const char *sep, 90 int ff_tadd_long_metadata(int count, const char *name, const char *sep, 96 int ff_tadd_doubles_metadata(int count, const char *name, const char *sep, 102 int ff_tadd_shorts_metadata(int count, const char *name, const char *sep, 108 int ff_tadd_bytes_metadata(int count, const char *name, const char *sep, 114 int ff_tadd_string_metadata(int count, const char *name,
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | ICUConfig.java | 45 * Get ICU configuration property value for the given name. 46 * @param name The configuration property name 49 public static String get(String name) { in get() argument 50 return get(name, null); in get() 54 * Get ICU configuration property value for the given name. 55 * @param name The configuration property name 60 public static String get(String name, String def) { in get() argument 62 final String fname = name; in get() [all...] |