/third_party/typescript/tests/baselines/reference/ |
H A D | spreadExpressionContextualTypeWithNamespace.js | 7 class klass {} 10 export { func, klass, obj }; 18 stuff.klass; 25 thing.klass; 32 getStuff().klass; 41 exports.exportedDirectly = exports.obj = exports.klass = exports.func = void 0;
44 var klass = /** @class */ (function () {
45 function klass() {
47 return klass;
49 exports.klass [all...] |
/third_party/protobuf/ruby/ext/google/protobuf_c/ |
H A D | defs.c | 387 VALUE DescriptorPool_alloc(VALUE klass) { in DescriptorPool_alloc() argument 392 ret = TypedData_Wrap_Struct(klass, &_DescriptorPool_type, self); in DescriptorPool_alloc() 409 VALUE klass = rb_define_class_under( in DescriptorPool_register() local 411 rb_define_alloc_func(klass, DescriptorPool_alloc); in DescriptorPool_register() 412 rb_define_method(klass, "build", DescriptorPool_build, -1); in DescriptorPool_register() 413 rb_define_method(klass, "lookup", DescriptorPool_lookup, 1); in DescriptorPool_register() 414 rb_define_singleton_method(klass, "generated_pool", in DescriptorPool_register() 417 cDescriptorPool = klass; in DescriptorPool_register() 420 generated_pool = rb_class_new_instance(0, NULL, klass); in DescriptorPool_register() 488 rb_gc_mark(self->klass); in Descriptor_mark() 512 Descriptor_alloc(VALUE klass) Descriptor_alloc() argument 523 VALUE klass = rb_define_class_under( Descriptor_register() local 687 FileDescriptor_alloc(VALUE klass) FileDescriptor_alloc() argument 718 VALUE klass = rb_define_class_under( FileDescriptor_register() local 781 FieldDescriptor_alloc(VALUE klass) FieldDescriptor_alloc() argument 789 VALUE klass = rb_define_class_under( FieldDescriptor_register() local 1177 OneofDescriptor_alloc(VALUE klass) OneofDescriptor_alloc() argument 1186 VALUE klass = rb_define_class_under( OneofDescriptor_register() local 1264 EnumDescriptor_alloc(VALUE klass) EnumDescriptor_alloc() argument 1295 VALUE klass = rb_define_class_under( EnumDescriptor_register() local 1422 MessageBuilderContext_alloc(VALUE klass) MessageBuilderContext_alloc() argument 1431 VALUE klass = rb_define_class_under( MessageBuilderContext_register() local 1864 OneofBuilderContext_alloc(VALUE klass) OneofBuilderContext_alloc() argument 1874 VALUE klass = rb_define_class_under( OneofBuilderContext_register() local 1940 EnumBuilderContext_alloc(VALUE klass) EnumBuilderContext_alloc() argument 1950 VALUE klass = rb_define_class_under( EnumBuilderContext_register() local 2048 FileBuilderContext_alloc(VALUE klass) FileBuilderContext_alloc() argument 2058 VALUE klass = rb_define_class_under(module, "FileBuilderContext", rb_cObject); FileBuilderContext_register() local 2176 Builder_alloc(VALUE klass) Builder_alloc() argument 2186 VALUE klass = rb_define_class_under(module, "Builder", rb_cObject); Builder_register() local 2306 get_def_obj(VALUE _descriptor_pool, const void* ptr, VALUE klass) get_def_obj() argument [all...] |
H A D | repeated_field.c | 545 void validate_type_class(upb_fieldtype_t type, VALUE klass) { in validate_type_class() argument 546 if (rb_ivar_get(klass, descriptor_instancevar_interned) == Qnil) { in validate_type_class() 552 VALUE desc = rb_ivar_get(klass, descriptor_instancevar_interned); in validate_type_class() 557 if (rb_get_alloc_func(klass) != &Message_alloc) { in validate_type_class() 562 VALUE enumdesc = rb_ivar_get(klass, descriptor_instancevar_interned); in validate_type_class() 642 VALUE RepeatedField_alloc(VALUE klass) { in RepeatedField_alloc() argument 649 return TypedData_Wrap_Struct(klass, &RepeatedField_type, self); in RepeatedField_alloc() 658 VALUE klass = rb_define_class_under( in RepeatedField_register() local 660 rb_define_alloc_func(klass, RepeatedField_alloc); in RepeatedField_register() 662 cRepeatedField = klass; in RepeatedField_register() [all...] |
H A D | message.c | 60 VALUE Message_alloc(VALUE klass) { in Message_alloc() argument 61 VALUE descriptor = rb_ivar_get(klass, descriptor_instancevar_interned); in Message_alloc() 75 ret = TypedData_Wrap_Struct(klass, &Message_type, msg); in Message_alloc() 713 VALUE Message_descriptor(VALUE klass) { in Message_descriptor() argument 714 return rb_ivar_get(klass, descriptor_instancevar_interned); in Message_descriptor() 720 VALUE klass; in build_class_from_descriptor() local 727 klass = rb_define_class_id( in build_class_from_descriptor() 732 rb_ivar_set(klass, descriptor_instancevar_interned, descriptor); in build_class_from_descriptor() 733 rb_define_alloc_func(klass, Message_alloc); in build_class_from_descriptor() 735 rb_include_module(klass, rb_eval_strin in build_class_from_descriptor() 851 VALUE klass = CLASS_OF(obj); Google_Protobuf_deep_copy() local [all...] |
H A D | map.c | 174 VALUE Map_alloc(VALUE klass) { in Map_alloc() argument 178 return TypedData_Wrap_Struct(klass, &Map_type, self); in Map_alloc() 814 VALUE klass = rb_define_class_under(module, "Map", rb_cObject); in Map_register() local 815 rb_define_alloc_func(klass, Map_alloc); in Map_register() 817 cMap = klass; in Map_register() 819 rb_define_method(klass, "initialize", Map_init, -1); in Map_register() 820 rb_define_method(klass, "each", Map_each, 0); in Map_register() 821 rb_define_method(klass, "keys", Map_keys, 0); in Map_register() 822 rb_define_method(klass, "values", Map_values, 0); in Map_register() 823 rb_define_method(klass, "[]", Map_inde in Map_register() [all...] |
H A D | protobuf.h | 124 VALUE klass; member 198 VALUE DescriptorPool_alloc(VALUE klass); 209 VALUE Descriptor_alloc(VALUE klass); 225 VALUE FileDescriptor_alloc(VALUE klass); 235 VALUE FieldDescriptor_alloc(VALUE klass); 256 VALUE OneofDescriptor_alloc(VALUE klass); 266 VALUE EnumDescriptor_alloc(VALUE klass); 281 VALUE MessageBuilderContext_alloc(VALUE klass); 296 VALUE OneofBuilderContext_alloc(VALUE klass); 306 VALUE EnumBuilderContext_alloc(VALUE klass); [all...] |
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
H A D | DescriptorPool.php | 83 public function addMessage($name, $klass) 85 return new MessageBuilderContext($name, $klass, $this); 88 public function addEnum($name, $klass) 90 return new EnumBuilderContext($name, $klass, $this); 115 public function getDescriptorByClassName($klass) 117 if (isset($this->class_to_desc[$klass])) { 118 return $this->class_to_desc[$klass]; 124 public function getEnumDescriptorByClassName($klass) 126 if (isset($this->class_to_enum_desc[$klass])) { 127 return $this->class_to_enum_desc[$klass]; 136 $klass = $this->proto_to_class[$proto]; global() variable 145 $klass = $this->proto_to_class[$proto]; global() variable 188 foreach ($this->class_to_desc as $klass => $desc) { global() variable [all...] |
H A D | MapField.php | 61 private $klass; variable 72 * @param string $klass Message/Enum class name of value instance 76 public function __construct($key_type, $value_type, $klass = null) variable 81 $this->klass = $klass; variable 85 $desc = $pool->getDescriptorByClassName($klass); 87 new $klass; // No msg class instance has been created before. 88 $desc = $pool->getDescriptorByClassName($klass); 90 $this->klass = $desc->getClass(); variable 116 return $this->klass; [all...] |
H A D | RepeatedField.php | 61 private $klass; variable 71 * @param string $klass Message/Enum class name (message/enum fields only). 74 public function __construct($type, $klass = null) variable 80 $desc = $pool->getDescriptorByClassName($klass); 82 new $klass; // No msg class instance has been created before. 83 $desc = $pool->getDescriptorByClassName($klass); 85 $this->klass = $desc->getClass(); variable 103 return $this->klass; 183 GPBUtil::checkMessage($value, $this->klass);
|
H A D | EnumDescriptor.php | 11 private $klass; variable 69 public function setClass($klass) 71 $this->klass = $klass; variable 76 return $this->klass; 79 public function setLegacyClass($klass) 81 $this->legacy_klass = $klass;
|
H A D | Descriptor.php | 46 private $klass; variable 145 public function setClass($klass) 147 $this->klass = $klass; variable 152 return $this->klass; 155 public function setLegacyClass($klass) 157 $this->legacy_klass = $klass;
|
H A D | GPBUtil.php | 194 public static function checkMessage(&$var, $klass, $newClass = null) 196 if (!$var instanceof $klass && !is_null($var)) { 197 throw new \Exception("Expect $klass."); 201 public static function checkRepeatedField(&$var, $type, $klass = null) variable 207 $tmp = new RepeatedField($type, $klass); 218 $var->getClass() !== $klass && 219 $var->getLegacyClass() !== $klass) { 221 "Expect repeated field of " . $klass . "."); 227 public static function checkMapField(&$var, $key_type, $value_type, $klass = null) variable 233 $tmp = new MapField($key_type, $value_type, $klass); [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-font.hh | 125 hb_font_funcs_t *klass; member 184 hb_font_funcs_t *funcs = this->klass; \ 191 hb_font_funcs_t *funcs = this->klass; \ 201 return klass->get.f.font_h_extents (this, user_data, in get_font_h_extents() 203 klass->user_data.font_h_extents); in get_font_h_extents() 208 return klass->get.f.font_v_extents (this, user_data, in get_font_v_extents() 210 klass->user_data.font_v_extents); in get_font_v_extents() 224 return klass->get.f.nominal_glyph (this, user_data, in get_nominal_glyph() 226 klass->user_data.nominal_glyph); in get_nominal_glyph() 234 return klass in get_nominal_glyphs() [all...] |
H A D | hb-ot-shape-fallback.cc | 36 unsigned int klass) in recategorize_combining_class() 38 if (klass >= 200) in recategorize_combining_class() 39 return klass; in recategorize_combining_class() 44 if (unlikely (klass == 0)) in recategorize_combining_class() 57 klass = HB_UNICODE_COMBINING_CLASS_ABOVE_RIGHT; in recategorize_combining_class() 68 klass = HB_UNICODE_COMBINING_CLASS_ABOVE; in recategorize_combining_class() 72 klass = HB_UNICODE_COMBINING_CLASS_BELOW; in recategorize_combining_class() 78 klass = HB_UNICODE_COMBINING_CLASS_BELOW_RIGHT; in recategorize_combining_class() 82 switch (klass) in recategorize_combining_class() 165 return klass; in recategorize_combining_class() 35 recategorize_combining_class(hb_codepoint_t u, unsigned int klass) recategorize_combining_class() argument [all...] |
/third_party/node/deps/v8/tools/ |
H A D | gen-postmortem-metadata.py | 355 #define FRAME_CONST(value, klass) \ 356 V8_EXPORT int v8dbg_frametype_##klass = StackFrame::value; 374 def get_base_class(klass): 375 if (klass == 'Object'): 376 return klass; 378 if (not (klass in klasses)): 381 k = klasses[klass]; 393 for klass in expected_classes: 394 checktypes[klass] = True; 402 for klass i [all...] |
/third_party/python/Lib/ |
H A D | io.py | 101 for klass in (BytesIO, BufferedReader, BufferedWriter, BufferedRandom, 103 BufferedIOBase.register(klass) 105 for klass in (StringIO, TextIOWrapper): 106 TextIOBase.register(klass) 107 del klass
|
H A D | rlcompleter.py | 202 def get_class_members(klass): 203 ret = dir(klass) 204 if hasattr(klass,'__bases__'): 205 for base in klass.__bases__:
|
/third_party/python/Lib/distutils/ |
H A D | dist.py | 657 klass = command 659 klass = self.get_command_class(command) 660 if (hasattr(klass, 'help_options') and 661 isinstance(klass.help_options, list)): 662 parser.set_option_table(klass.user_options + 663 fix_help_options(klass.help_options)) 665 parser.set_option_table(klass.user_options) 666 parser.print_help("Options for '%s' command:" % klass.__name__) 718 klass = self.cmdclass.get(cmd) 719 if not klass [all...] |
H A D | core.py | 94 klass = attrs.get('distclass') 95 if klass: 98 klass = Distribution 108 _setup_distribution = dist = klass(attrs)
|
/third_party/python/Lib/test/test_zoneinfo/ |
H A D | test_zoneinfo.py | 128 self.klass.clear_cache() 139 return self.klass(key) 164 zi_ff = self.klass.from_file(f) 172 zi = self.klass(key) 180 zi_ff = self.klass.from_file(f, key=file_key) 186 zi_ff_nk = self.klass.from_file(f) 196 return self.klass.from_file(f) 199 ("Primary constructor", self.klass, key), 200 ("no_cache", self.klass.no_cache, key), 227 self.klass(bad_ke [all...] |
/third_party/protobuf/php/src/Google/Protobuf/ |
H A D | Any.php | 278 $klass = $desc->getClass(); variable 279 $msg = new $klass(); 312 * @param klass: The fully qualified PHP class name of a proto message type. 314 public function is($klass) 317 $desc = $pool->getDescriptorByClassName($klass);
|
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
H A D | RubyDescriptor.java | 247 RubyClass klass = RubyClass.newClass(runtime, runtime.getObject()); in buildClassFromDescriptor() 248 klass.setAllocator(allocator); in buildClassFromDescriptor() 249 klass.makeMetaClass(runtime.getObject().getMetaClass()); in buildClassFromDescriptor() 250 klass.inherit(runtime.getObject()); in buildClassFromDescriptor() 252 klass.include(new IRubyObject[] {messageExts}); in buildClassFromDescriptor() 253 klass.instance_variable_set(runtime.newString(Utils.DESCRIPTOR_INSTANCE_VAR), this); in buildClassFromDescriptor() 254 klass.defineAnnotatedMethods(RubyMessage.class); in buildClassFromDescriptor() 255 return klass; in buildClassFromDescriptor()
|
/third_party/python/Lib/xml/dom/ |
H A D | minicompat.py | 101 def defproperty(klass, name, doc): 102 get = getattr(klass, ("_get_" + name)) 106 assert not hasattr(klass, "_set_" + name), \ 109 setattr(klass, name, prop)
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
H A D | nine_debug.c | 88 char klass[96]; /* no class name is this long */ in _nine_debug_printf() local 89 char *ptr = klass; in _nine_debug_printf() 93 _debug_printf("nine:0x%08lx:%s:%s: ", tid, klass, ++f); in _nine_debug_printf() 95 _debug_printf("nine:%s:%s: ", klass, ++f); in _nine_debug_printf()
|
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | ast-model.h | 18 #define AST_NODE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), AST_TYPE_NODE, AstNodeClass)) 20 #define AST_IS_NODE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), AST_TYPE_NODE))
|