Searched refs:struct (Results 1 - 25 of 242) sorted by relevance

12345678910

/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_struct.py4 import struct namespace
19 struct.pack('q', 5)
20 except struct.error:
37 # SF bug 1530559. struct.pack raises TypeError where it used
41 got = struct.pack(format, number)
46 expected = struct.pack(format, int(number))
50 self.assertEqual((struct.pack('=i', 1)[0] == chr(0)), ISBIGENDIAN)
53 self.assertRaises(struct.error, struct.calcsize, 'Z')
55 sz = struct
[all...]
H A Dtest_ioctl.py4 import os, struct namespace
17 rpgrp = struct.unpack("i", r)[0]
35 rpgrp = struct.unpack("i", r)[0]
78 set_winsz_opcode_maybe_neg, = struct.unpack("i",
79 struct.pack("I", termios.TIOCSWINSZ))
81 our_winsz = struct.pack("HHHH",80,25,0,0)
H A Dtest_applesingle.py6 import struct namespace
17 applesingledata = struct.pack(">ll16sh", AS_MAGIC, AS_VERSION, "foo", 2) + \
18 struct.pack(">llllll", 1, 50, len(dataforkdata),
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_struct.py4 import struct namespace
19 struct.pack('q', 5)
20 except struct.error:
37 # SF bug 1530559. struct.pack raises TypeError where it used
41 got = struct.pack(format, number)
46 expected = struct.pack(format, int(number))
50 self.assertEqual((struct.pack('=i', 1)[0] == chr(0)), ISBIGENDIAN)
53 self.assertRaises(struct.error, struct.calcsize, 'Z')
55 sz = struct
[all...]
H A Dtest_ioctl.py4 import os, struct namespace
17 rpgrp = struct.unpack("i", r)[0]
35 rpgrp = struct.unpack("i", r)[0]
78 set_winsz_opcode_maybe_neg, = struct.unpack("i",
79 struct.pack("I", termios.TIOCSWINSZ))
81 our_winsz = struct.pack("HHHH",80,25,0,0)
H A Dtest_applesingle.py6 import struct namespace
17 applesingledata = struct.pack(">ll16sh", AS_MAGIC, AS_VERSION, "foo", 2) + \
18 struct.pack(">llllll", 1, 50, len(dataforkdata),
/prebuilts/misc/common/swig/include/2.0.11/tcl/
H A Dtclapi.swg17 typedef struct swig_const_info {
31 typedef struct swig_method {
36 typedef struct swig_attribute {
42 typedef struct swig_class {
49 struct swig_class **bases;
55 typedef struct swig_instance {
64 typedef struct {
71 typedef struct {
/prebuilts/misc/common/swig/include/2.0.11/pike/
H A Dpikerun.swg20 typedef struct swig_object_wrapper {
46 SWIG_Pike_ConvertPtr(struct object *obj, void **ptr, swig_type_info *ty, int flags) {
47 struct program *pr;
52 pr = (struct program *) ty->clientdata;
68 static struct object *
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
H A Dwhichdb.py5 import struct namespace
89 (magic,) = struct.unpack("=l", s)
90 except struct.error:
104 (magic,) = struct.unpack("=l", s16[-4:])
105 except struct.error:
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/
H A Dwhichdb.py5 import struct namespace
89 (magic,) = struct.unpack("=l", s)
90 except struct.error:
104 (magic,) = struct.unpack("=l", s16[-4:])
105 except struct.error:
/prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/scriptc/
H A Drs_types.rsh122 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_element;
128 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_type;
134 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_allocation;
140 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_sampler;
146 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_script;
152 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_mesh;
158 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_path;
164 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_program_fragment;
170 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_program_vertex;
176 typedef struct { cons
[all...]
/prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/scriptc/
H A Drs_types.rsh122 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_element;
128 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_type;
134 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_allocation;
140 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_sampler;
146 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_script;
152 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_mesh;
158 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_path;
164 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_program_fragment;
170 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_program_vertex;
176 typedef struct { cons
[all...]
/prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/rs/scriptc/
H A Drs_types.rsh122 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_element;
128 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_type;
134 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_allocation;
140 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_sampler;
146 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_script;
152 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_mesh;
158 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_path;
164 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_program_fragment;
170 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_program_vertex;
176 typedef struct { cons
[all...]
/prebuilts/ndk/current/platforms/android-19/arch-arm/usr/include/rs/scriptc/
H A Drs_types.rsh122 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_element;
128 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_type;
134 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_allocation;
140 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_sampler;
146 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_script;
152 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_mesh;
158 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_path;
164 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_program_fragment;
170 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_program_vertex;
176 typedef struct { cons
[all...]
/prebuilts/ndk/current/platforms/android-19/arch-mips/usr/include/rs/scriptc/
H A Drs_types.rsh122 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_element;
128 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_type;
134 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_allocation;
140 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_sampler;
146 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_script;
152 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_mesh;
158 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_path;
164 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_program_fragment;
170 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_program_vertex;
176 typedef struct { cons
[all...]
/prebuilts/ndk/current/platforms/android-19/arch-x86/usr/include/rs/scriptc/
H A Drs_types.rsh122 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_element;
128 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_type;
134 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_allocation;
140 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_sampler;
146 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_script;
152 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_mesh;
158 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_path;
164 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_program_fragment;
170 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_program_vertex;
176 typedef struct { cons
[all...]
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/mingw/include/
H A Dd3d10_1.idl35 typedef struct D3D10_RENDER_TARGET_BLEND_DESC1
47 typedef struct D3D10_BLEND_DESC1
65 typedef struct D3D10_TEXCUBE_ARRAY_SRV1
75 typedef struct D3D10_SHADER_RESOURCE_VIEW_DESC1
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
H A Dd3d10_1.idl35 typedef struct D3D10_RENDER_TARGET_BLEND_DESC1
47 typedef struct D3D10_BLEND_DESC1
65 typedef struct D3D10_TEXCUBE_ARRAY_SRV1
75 typedef struct D3D10_SHADER_RESOURCE_VIEW_DESC1
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/config/
H A Dconfig.c.in33 struct _inittab _PyImport_Inittab[] = {
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/config/
H A Dconfig.c.in33 struct _inittab _PyImport_Inittab[] = {
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
H A Dtest_byteswap.py1 import sys, unittest, struct, math, ctypes namespace
32 self.assertEqual(bin(struct.pack(">h", 0x1234)), "1234")
37 self.assertEqual(bin(struct.pack("<h", 0x1234)), "3412")
42 self.assertEqual(bin(struct.pack(">h", 0x1234)), "1234")
47 self.assertEqual(bin(struct.pack("<h", 0x1234)), "3412")
60 self.assertEqual(bin(struct.pack(">i", 0x12345678)), "12345678")
65 self.assertEqual(bin(struct.pack("<i", 0x12345678)), "78563412")
70 self.assertEqual(bin(struct.pack(">I", 0x12345678)), "12345678")
75 self.assertEqual(bin(struct.pack("<I", 0x12345678)), "78563412")
88 self.assertEqual(bin(struct
[all...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
H A Dtest_byteswap.py1 import sys, unittest, struct, math, ctypes namespace
32 self.assertEqual(bin(struct.pack(">h", 0x1234)), "1234")
37 self.assertEqual(bin(struct.pack("<h", 0x1234)), "3412")
42 self.assertEqual(bin(struct.pack(">h", 0x1234)), "1234")
47 self.assertEqual(bin(struct.pack("<h", 0x1234)), "3412")
60 self.assertEqual(bin(struct.pack(">i", 0x12345678)), "12345678")
65 self.assertEqual(bin(struct.pack("<i", 0x12345678)), "78563412")
70 self.assertEqual(bin(struct.pack(">I", 0x12345678)), "12345678")
75 self.assertEqual(bin(struct.pack("<I", 0x12345678)), "78563412")
88 self.assertEqual(bin(struct
[all...]
/prebuilts/misc/common/swig/include/2.0.11/ruby/
H A Drubystdfunctors.swg64 struct BinaryFunction {
69 struct UnaryFunction {
74 struct BinaryPredicate {
79 struct UnaryPredicate {
93 struct BinaryPredicate : GC_VALUE, std::binary_function< _T, _T, bool >
112 struct BinaryFunction : GC_VALUE, std::binary_function< _T, _T, _T >
131 struct UnaryPredicate : GC_VALUE, std::unary_function< _T, bool >
145 struct UnaryFunction : GC_VALUE, std::unary_function< _T, _T >
/prebuilts/misc/common/swig/include/2.0.11/typemaps/
H A Dimplicit.swg12 struct B { };
13 struct A
67 template <> struct traits<Type > {
72 template <> struct traits_asptr< Type > {
103 template <> struct traits< Type > {
108 template <> struct traits_asptr< Type > {
141 template <> struct traits< Type > {
146 template <> struct traits_asptr< Type > {
182 template <> struct traits< Type > {
187 template <> struct traits_aspt
[all...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/Carbon/
H A DControlAccessor.py4 import struct namespace
39 data = struct.pack(structfmt, data)
51 data = struct.unpack(structfmt, data)

Completed in 813 milliseconds

12345678910