/build/blueprint/bootstrap/bpdoc/ |
bpdoc.go | 22 type Context struct { 27 ps map[string]*PropertyStruct // Map of type name to property struct, protected by mutex 38 // Return the PropertyStruct associated with a property struct type. The type should be in the 93 type PropertyStruct struct { 99 type Property struct { 166 if f.Kind() == reflect.Struct { 246 return nil, fmt.Errorf("type of %q is not a struct", t.Name) 263 // TODO: hide the name and make the properties show up in the embedding struct 506 case reflect.Struct: 510 // We leave the pointer intact and zero out the struct that' [all...] |
/prebuilts/go/darwin-x86/src/go/types/ |
lookup.go | 20 // 3) the list of fields of a struct type. 22 // The earlier index entries are the indices of the anonymous struct fields 130 case *Struct: 143 // Collect embedded struct fields for searching the next 155 // have fields or methods (only Named, Struct, and 195 type embeddedType struct { 314 // (named or unnamed) struct and returns its base. Otherwise it returns typ. 317 if _, ok := p.base.Underlying().(*Struct); ok {
|
/prebuilts/go/linux-x86/src/go/types/ |
lookup.go | 20 // 3) the list of fields of a struct type. 22 // The earlier index entries are the indices of the anonymous struct fields 130 case *Struct: 143 // Collect embedded struct fields for searching the next 155 // have fields or methods (only Named, Struct, and 195 type embeddedType struct { 314 // (named or unnamed) struct and returns its base. Otherwise it returns typ. 317 if _, ok := p.base.Underlying().(*Struct); ok {
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_struct.py | 4 import struct
18 struct.pack('q', 5)
19 except struct.error:
36 # SF bug 1530559. struct.pack raises TypeError where it used
40 got = struct.pack(format, number)
45 expected = struct.pack(format, int(number))
49 self.assertEqual((struct.pack('=i', 1)[0] == chr(0)), ISBIGENDIAN)
52 self.assertRaises(struct.error, struct.calcsize, 'Z')
54 sz = struct.calcsize('i') [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineInternal.h | 451 Constant *Struct = ConstantStruct::get(ST, V); 452 return InsertValueInst::Create(Struct, Result, 0);
|
/external/protobuf/python/google/protobuf/internal/ |
json_format_test.py | 513 struct_message = struct_pb2.Struct() 520 ' "@type": "type.googleapis.com/google.protobuf.Struct",\n' 741 'Failed to parse value field: Struct must be in a dict which is 1234',
|
well_known_types.py | 37 - Struct 662 class Struct(object): 663 """Class for Struct message type.""" 678 """Returns a struct for this key, creating if it didn't exist already.""" 709 """Appends and returns a struct value as the next value in the list.""" 722 'google.protobuf.Struct': Struct,
|
/prebuilts/go/darwin-x86/src/cmd/compile/internal/syntax/ |
dumper.go | 43 type dumper struct { 87 type localError struct { 99 // If x is the reflect.Value of a struct s, where &s 158 case reflect.Struct:
|
/prebuilts/go/darwin-x86/src/cmd/vet/ |
cgo.go | 10 // or slice to C, either directly, or via a pointer, array, or struct. 133 case *types.Struct:
|
/prebuilts/go/darwin-x86/src/encoding/gob/ |
encode.go | 26 type encoderState struct { 37 type encBuffer struct { 137 type encInstr struct { 140 index []int // struct index 141 indir int // how many pointer indirections to reach the value in the struct 260 // encStructTerminator encodes the end of an encoded struct 269 // data, typically a struct. It is executed top to bottom, walking the struct. 270 type encEngine struct { 288 // encodeSingle encodes a single top-level non-struct value [all...] |
encoder.go | 16 type Encoder struct { 118 case reflect.Struct: 160 case reflect.Struct: 164 // If we get here, it's a field of a struct; ignore it.
|
/prebuilts/go/darwin-x86/src/runtime/ |
append_test.go | 22 struct24 struct{ a, b, c int64 } 23 struct32 struct{ a, b, c, d int64 } 24 struct40 struct{ a, b, c, d, e int64 } 46 b.Run("Struct", func(b *testing.B) {
|
/prebuilts/go/linux-x86/src/cmd/compile/internal/syntax/ |
dumper.go | 43 type dumper struct { 87 type localError struct { 99 // If x is the reflect.Value of a struct s, where &s 158 case reflect.Struct:
|
/prebuilts/go/linux-x86/src/cmd/vet/ |
cgo.go | 10 // or slice to C, either directly, or via a pointer, array, or struct. 133 case *types.Struct:
|
/prebuilts/go/linux-x86/src/encoding/gob/ |
encode.go | 26 type encoderState struct { 37 type encBuffer struct { 137 type encInstr struct { 140 index []int // struct index 141 indir int // how many pointer indirections to reach the value in the struct 260 // encStructTerminator encodes the end of an encoded struct 269 // data, typically a struct. It is executed top to bottom, walking the struct. 270 type encEngine struct { 288 // encodeSingle encodes a single top-level non-struct value [all...] |
encoder.go | 16 type Encoder struct { 118 case reflect.Struct: 160 case reflect.Struct: 164 // If we get here, it's a field of a struct; ignore it.
|
/prebuilts/go/linux-x86/src/runtime/ |
append_test.go | 22 struct24 struct{ a, b, c int64 } 23 struct32 struct{ a, b, c, d int64 } 24 struct40 struct{ a, b, c, d, e int64 } 46 b.Run("Struct", func(b *testing.B) {
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
template.rb | 286 Parameter = Struct.new( :name, :default )
|
/external/autotest/client/cros/cellular/pseudomodem/ |
modem_cdma.py | 106 dbus.types.Struct(
|
/external/golang-protobuf/proto/ |
equal.go | 89 if v1.Kind() != reflect.Struct { 232 case reflect.Struct: 243 // base is the struct type that the extensions are based on.
|
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/generate/ |
test_support.py | 42 if kind1.__class__ == mojom.Struct: 111 struct = module.AddStruct('teststruct') 112 struct.AddField('testfield1', mojom.INT32) 113 struct.AddField('testfield2', mojom.Array(mojom.INT32), 42) 118 method.AddParameter('bar', mojom.Array(struct))
|
/external/llvm/lib/IR/ |
Function.cpp | 727 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Struct, 0)); 733 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Struct,StructElts)); 805 case IITDescriptor::Struct: { [all...] |
/external/protobuf/conformance/ |
Makefile.am | 10 $(top_srcdir)/src/google/protobuf/struct.proto \ 51 com/google/protobuf/Struct.java \ 76 google/protobuf/struct.pb.cc \ 77 google/protobuf/struct.pb.h \ 78 google/protobuf/struct.rb \ 115 lite/com/google/protobuf/Struct.java \
|
/kernel/tests/net/test/ |
cstruct.py | 19 >>> # Declare a struct type by specifying name, field formats and field names. 20 ... # Field formats are the same as those used in the struct module, except: 21 ... # - S: Nested Struct. 25 >>> NLMsgHdr = cstruct.Struct("NLMsgHdr", "=LHHLL", "length type flags seq pid") 51 >>> # Parse the beginning of a byte stream as a struct, and return the struct 59 >>> # Structs can contain one or more nested structs. The nested struct types 62 ... S = cstruct.Struct("S", "=BI", "byte1 int2") 63 >>> N = cstruct.Struct("N", "!BSiS", "byte1 s2 int3 s2", [S, S]) 64 >>> NN = cstruct.Struct("NN", "SHS", "s1 word2 n3", [S, N] [all...] |
/external/golang-protobuf/jsonpb/ |
jsonpb.go | 56 stpb "github.com/golang/protobuf/ptypes/struct" 61 type Marshaler struct { 126 // marshalObject writes a struct to the Writer. 179 case "Struct", "ListValue": 180 // Let marshalValue handle the `Struct.fields` map or the `ListValue.values` slice. 498 if v.Kind() == reflect.Struct { 589 type Unmarshaler struct { 751 case "Struct": 794 sv := &stpb.Struct{} 826 if targetType.Kind() == reflect.Struct { [all...] |