/third_party/typescript/tests/baselines/reference/ |
D | spreadExpressionContextualTypeWithNamespace.types | 7 class klass {} 8 >klass : klass 16 export { func, klass, obj }; 18 >klass : typeof klass 33 stuff.klass; 34 >stuff.klass : typeof stuff.klass 36 >klass : typeof stuff.klass 49 >getStuff : <T>() => { exportedDirectly(): void; func: () => void; klass: typeof stuff.klass; obj: … 52 >thing : { exportedDirectly(): void; func: () => void; klass: typeof stuff.klass; obj: { x: boolean… 53 >{ ...stuff } : { exportedDirectly(): void; func: () => void; klass: typeof stuff.klass; obj: { x: … [all …]
|
D | spreadExpressionContextualTypeWithNamespace.js | 7 class klass {} class 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 () { function 45 function klass() { function 47 return klass; 49 exports.klass = klass; [all …]
|
D | spreadExpressionContextualTypeWithNamespace.symbols | 7 class klass {} 8 >klass : Symbol(klass, Decl(spreadExpressionContextualTypeWithNamespace_0.ts, 2, 18)) 14 export { func, klass, obj }; 16 >klass : Symbol(klass, Decl(spreadExpressionContextualTypeWithNamespace_0.ts, 6, 14)) 31 stuff.klass; 32 >stuff.klass : Symbol(stuff.klass, Decl(spreadExpressionContextualTypeWithNamespace_0.ts, 6, 14)) 34 >klass : Symbol(stuff.klass, Decl(spreadExpressionContextualTypeWithNamespace_0.ts, 6, 14)) 59 thing.klass; 60 >thing.klass : Symbol(stuff.klass, Decl(spreadExpressionContextualTypeWithNamespace_0.ts, 6, 14)) 62 >klass : Symbol(stuff.klass, Decl(spreadExpressionContextualTypeWithNamespace_0.ts, 6, 14)) [all …]
|
/third_party/protobuf/ruby/ext/google/protobuf_c/ |
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() [all …]
|
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_string("::Google::Protobuf::MessageExts")); in build_class_from_descriptor() [all …]
|
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 …]
|
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_index, 1); in Map_register() [all …]
|
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/ |
D | DescriptorPool.php | 83 public function addMessage($name, $klass) argument 85 return new MessageBuilderContext($name, $klass, $this); 88 public function addEnum($name, $klass) argument 90 return new EnumBuilderContext($name, $klass, $this); 115 public function getDescriptorByClassName($klass) argument 117 if (isset($this->class_to_desc[$klass])) { 118 return $this->class_to_desc[$klass]; 124 public function getEnumDescriptorByClassName($klass) argument 126 if (isset($this->class_to_enum_desc[$klass])) { 127 return $this->class_to_enum_desc[$klass]; [all …]
|
D | MapField.php | 61 private $klass; variable in Google\\Protobuf\\Internal\\MapField 72 * @param string $klass Message/Enum class name of value instance 76 public function __construct($key_type, $value_type, $klass = null) argument 81 $this->klass = $klass; 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(); 116 return $this->klass; 194 GPBUtil::checkMessage($value, $this->klass);
|
D | RepeatedField.php | 61 private $klass; variable in Google\\Protobuf\\Internal\\RepeatedField 71 * @param string $klass Message/Enum class name (message/enum fields only). 74 public function __construct($type, $klass = null) argument 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(); 103 return $this->klass; 183 GPBUtil::checkMessage($value, $this->klass);
|
D | EnumDescriptor.php | 11 private $klass; variable in Google\\Protobuf\\Internal\\EnumDescriptor 69 public function setClass($klass) argument 71 $this->klass = $klass; 76 return $this->klass; 79 public function setLegacyClass($klass) argument 81 $this->legacy_klass = $klass;
|
D | Descriptor.php | 46 private $klass; variable in Google\\Protobuf\\Internal\\Descriptor 145 public function setClass($klass) argument 147 $this->klass = $klass; 152 return $this->klass; 155 public function setLegacyClass($klass) argument 157 $this->legacy_klass = $klass;
|
D | GPBUtil.php | 194 public static function checkMessage(&$var, $klass, $newClass = null) argument 196 if (!$var instanceof $klass && !is_null($var)) { 197 throw new \Exception("Expect $klass."); 201 public static function checkRepeatedField(&$var, $type, $klass = null) argument 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) argument 233 $tmp = new MapField($key_type, $value_type, $klass); [all …]
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
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->get.f.nominal_glyphs (this, user_data, in get_nominal_glyphs() [all …]
|
/third_party/node/deps/v8/tools/ |
D | gen-postmortem-metadata.py | 374 def get_base_class(klass): argument 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 in checktypes: 403 print('error: expected class \"%s\" not found' % klass); 471 klass = match.group(1).strip(); [all …]
|
/third_party/python/Lib/test/test_zoneinfo/ |
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_key) [all …]
|
/third_party/typescript/tests/cases/compiler/ |
D | spreadExpressionContextualTypeWithNamespace.ts | 6 class klass {} class 9 export { func, klass, obj }; 17 stuff.klass; 24 thing.klass; 31 getStuff().klass;
|
/third_party/python/Lib/distutils/ |
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 …]
|
/third_party/python/Lib/ |
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
|
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyDescriptor.java | 247 RubyClass klass = RubyClass.newClass(runtime, runtime.getObject()); in buildClassFromDescriptor() local 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/protobuf/php/src/Google/Protobuf/ |
D | Any.php | 278 $klass = $desc->getClass(); 279 $msg = new $klass(); 312 * @param klass: The fully qualified PHP class name of a proto message type. 314 public function is($klass) argument 317 $desc = $pool->getDescriptorByClassName($klass);
|
/third_party/python/Lib/xml/dom/ |
D | minicompat.py | 101 def defproperty(klass, name, doc): argument 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/ |
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/ |
D | ast-model.h | 18 #define AST_NODE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), AST_TYPE_NODE, AstNodeCl… argument 20 #define AST_IS_NODE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), AST_TYPE_NODE)) argument
|