Searched refs:Struct (Results 1 - 25 of 74) sorted by relevance

123

/macosx-10.9.5/llvmCore-3425.0.33/unittests/VMCore/
H A DTypesTest.cpp21 StructType *Struct = StructType::create(C, "FooBar"); local
22 EXPECT_EQ("FooBar", Struct->getName());
23 Struct->setName(Struct->getName().substr(0, 3));
24 EXPECT_EQ("Foo", Struct->getName());
25 Struct->setName("");
26 EXPECT_TRUE(Struct->getName().empty());
27 EXPECT_FALSE(Struct->hasName());
/macosx-10.9.5/ruby-104/ruby/bootstraptest/
H A Dtest_struct.rb1 assert_equal 'Struct::Foo', %q{
2 Struct.instance_eval { const_set(:Foo, nil) }
3 Struct.new("Foo")
4 Struct::Foo
/macosx-10.9.5/CPAN-52/Modules/Inline-Struct-0.06/
H A DMakefile1 NAME = Inline-Struct
/macosx-10.9.5/ruby-104/ruby/test/ruby/
H A Dtest_struct.rb8 struct_test = @Struct.new("Test", :foo, :bar)
9 assert_equal(@Struct::Test, struct_test)
32 c = @Struct.new(* list.map {|ch| ch.intern }).new
44 klass = @Struct.new(*fields)
57 klass = @Struct.new(:a)
64 klass = @Struct.new(:a)
71 klass = @Struct.new(:a)
78 klass = Struct.new(:a)
89 klass = @Struct.new(:a)
97 assert_raise(NameError) { @Struct
[all...]
/macosx-10.9.5/ruby-104/ruby/lib/rdoc/markup/
H A Dattr_changer.rb3 AttrChanger = Struct.new :turn_on, :turn_off # :nodoc:
H A Drule.rb4 class RDoc::Markup::Rule < Struct.new :weight
H A Dheading.rb5 Struct.new :level, :text do
/macosx-10.9.5/ruby-104/ruby/ext/psych/lib/psych/
H A Dparser.rb33 class Mark < Struct.new(:index, :line, :column)
/macosx-10.9.5/ruby-104/ruby/ext/json/lib/json/add/
H A Dstruct.rb5 # Struct serialization/deserialization
6 class Struct class
8 # Deserializes JSON string by constructing new Struct object with values
25 # Stores class name (Struct) with Struct values <tt>v</tt> as a JSON string.
/macosx-10.9.5/ruby-104/ruby/test/psych/
H A Dtest_struct.rb3 class PsychStructWithIvar < Struct.new(:foo)
13 class StructSubclass < Struct.new(:foo)
H A Dtest_engine_manager.rb18 A = Struct.new(:name)
H A Dtest_serialize_subclasses.rb22 class StructSubclass < Struct.new(:foo)
H A Dtest_to_yaml_properties.rb25 class Bar < Struct.new(:foo, :bar)
/macosx-10.9.5/ruby-104/ruby/test/psych/visitors/
H A Dtest_yaml_tree.rb42 foo = Struct.new("Foo", :bar)
44 Struct.instance_eval { remove_const(:Foo) }
47 A = Struct.new(:foo)
54 s = Struct.new(:foo).new('bar')
60 s = Struct.new(:method).new('override')
H A Dtest_depth_first.rb6 class Collector < Struct.new(:calls)
H A Dtest_to_ruby.rb26 foo = Struct.new('AWESOME', :bar)
54 A = Struct.new(:foo)
71 s = Struct.new(:foo).new('bar')
81 s = Struct.new(:foo).new('bar')
/macosx-10.9.5/ruby-104/ruby/lib/rake/contrib/
H A Dpublisher.rb13 HostInfo = Struct.new(:name, :webdir, :pkgdir)
/macosx-10.9.5/ruby-104/ruby/lib/
H A Dprofiler.rb61 class Wrapper < Struct.new(:defined_class, :method_id, :hash) # :nodoc:
66 self.hash = Struct.instance_method(:hash).bind(self).call
/macosx-10.9.5/ruby-104/ruby/
H A Dinits.c38 CALL(Struct);
/macosx-10.9.5/ruby-104/ruby/test/
H A Dtest_pp.rb16 OverriddenStruct = Struct.new("OverriddenStruct", :members, :class)
19 assert_equal("#<struct Struct::OverriddenStruct members=1, class=2>\n", PP.pp(a, ''))
135 S = Struct.new("S", :a, :b)
139 assert_equal("#<struct Struct::S a=1, b=#<struct Struct::S:...>>\n", PP.pp(a, ''))
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/
H A DIntrinsics.h83 Integer, Vector, Pointer, Struct, enumerator in enum:llvm::Intrinsic::IITDescriptor::IITDescriptorKind
/macosx-10.9.5/ruby-104/ruby/ext/readline/
H A Dextconf.rb3 readline = Struct.new(:headers, :extra_check).new(["stdio.h"])
/macosx-10.9.5/ruby-104/ruby/lib/rubygems/
H A Davailable_set.rb2 Tuple = Struct.new(:spec, :source)
/macosx-10.9.5/ruby-104/ruby/test/-ext-/symbol/
H A Dtest_inadvertent_creation.rb165 assert_raise(NameError) {Struct.new(name)}
170 s = Struct.new(:foo).new
177 s = Struct.new(:foo).new
/macosx-10.9.5/ruby-104/ruby/lib/net/
H A Dimap.rb1598 ContinuationRequest = Struct.new(:data, :raw_data)
1617 UntaggedResponse = Struct.new(:name, :data, :raw_data)
1641 TaggedResponse = Struct.new(:tag, :name, :data, :raw_data)
1655 ResponseText = Struct.new(:code, :text)
1673 ResponseCode = Struct.new(:name, :data)
1690 MailboxList = Struct.new(:attr, :delim, :name)
1711 MailboxQuota = Struct.new(:mailbox, :usage, :quota)
1725 MailboxQuotaRoot = Struct.new(:mailbox, :quotaroots)
1743 MailboxACLItem = Struct.new(:user, :rights, :mailbox)
1754 StatusData = Struct
[all...]

Completed in 262 milliseconds

123