/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/leakers/ |
test_ctypes.py | 5 from ctypes import Structure, c_int, POINTER
9 class POINT(Structure):
11 class RECT(Structure):
|
/external/python/cpython2/Lib/test/leakers/ |
test_ctypes.py | 4 from ctypes import Structure, c_int, POINTER 8 class POINT(Structure): 10 class RECT(Structure):
|
/external/python/cpython3/Lib/test/leakers/ |
test_ctypes.py | 4 from ctypes import Structure, c_int, POINTER 8 class POINT(Structure): 10 class RECT(Structure):
|
/external/curl/tests/python_dependencies/impacket/ |
smb3structs.py | 13 from impacket.structure import Structure 422 class SMBPacketBase(Structure): 434 Structure.__init__(self,data) 440 structure = ( variable in class:SMB2PacketAsync 457 structure = ( variable in class:SMB3PacketAsync 475 structure = ( variable in class:SMB2Packet 493 structure = ( variable in class:SMB3Packet 511 class SMB2Error(Structure): 512 structure = variable in class:SMB2Error 521 structure = ( variable in class:SMB2ErrorSymbolicLink 537 structure = ( variable in class:SMB2Negotiate 549 structure = ( variable in class:SMB2Negotiate_Response 573 structure = ( variable in class:SMB2SessionSetup 601 structure = ( variable in class:SMB2SessionSetup_Response 614 structure = ( variable in class:SMB2Logoff 621 structure = ( variable in class:SMB2Logoff_Response 629 structure = ( variable in class:SMB2TreeConnect 645 structure = ( variable in class:SMB2TreeConnect_Response 656 structure = ( variable in class:SMB2TreeDisconnect 662 structure = ( variable in class:SMB2TreeDisconnect_Response 670 structure = ( variable in class:SMB2Create 697 structure = ( variable in class:SMB2CreateContext 709 structure = ( variable in class:SMB2_FILEID 715 structure = ( variable in class:SMB2Create_Response 738 structure = ( variable in class:FILE_FULL_EA_INFORMATION 751 structure = ( variable in class:SMB2_CREATE_DURABLE_HANDLE_RECONNECT 756 structure = ( variable in class:SMB2_CREATE_DURABLE_HANDLE_REQUEST 761 structure = ( variable in class:SMB2_CREATE_DURABLE_HANDLE_RESPONSE 766 structure = ( variable in class:SMB2_CREATE_QUERY_MAXIMAL_ACCESS_REQUEST 771 structure = ( variable in class:SMB2_CREATE_QUERY_MAXIMAL_ACCESS_RESPONSE 777 structure = ( variable in class:SMB2_CREATE_ALLOCATION_SIZE 782 structure = ( variable in class:SMB2_CREATE_TIMEWARP_TOKEN 787 structure = ( variable in class:SMB2_CREATE_REQUEST_LEASE 797 structure = ( variable in class:SMB2_CREATE_REQUEST_LEASE_V2 810 structure = ( variable in class:SMB2_CREATE_DURABLE_HANDLE_REQUEST_V2 818 structure = ( variable in class:SMB2_CREATE_DURABLE_HANDLE_RESPONSE_V2 824 structure = ( variable in class:SMB2_CREATE_DURABLE_HANDLE_RECONNECT_V2 831 structure = ( variable in class:SMB2_CREATE_APP_INSTANCE_ID 838 structure = ( variable in class:SMB2_CREATE_QUERY_ON_DISK_ID 847 structure = ( variable in class:SMB2Close 855 structure = ( variable in class:SMB2Close_Response 870 structure = ( variable in class:SMB2Flush 878 structure = ( variable in class:SMB2Flush_Response 886 structure = ( variable in class:SMB2Read 910 structure = ( variable in class:SMB2Read_Response 926 structure = ( variable in class:SMB2Write 949 structure = ( variable in class:SMB2Write_Response 959 structure = ( variable in class:SMB2OplockBreakNotification 971 structure = ( variable in class:SMB2LeaseBreakNotification 984 structure = ( variable in class:SMB2LeaseBreakAcknowledgement 997 structure = ( variable in class:SMB2_LOCK_ELEMENT 1005 structure = ( variable in class:SMB2Lock 1015 structure = ( variable in class:SMB2Lock_Response 1023 structure = ( variable in class:SMB2Echo 1032 structure = ( variable in class:SMB2Cancel 1040 structure = ( variable in class:SMB2Ioctl 1064 structure = ( variable in class:FSCTL_PIPE_WAIT_STRUCTURE 1074 structure = ( variable in class:SRV_COPYCHUNK_COPY 1083 structure = ( variable in class:SRV_COPYCHUNK 1091 structure = ( variable in class:SRV_COPYCHUNK_RESPONSE 1098 structure = ( variable in class:SRV_READ_HASH 1107 structure = ( variable in class:NETWORK_RESILIENCY_REQUEST 1113 structure = ( variable in class:VALIDATE_NEGOTIATE_INFO 1122 structure = ( variable in class:SRV_SNAPSHOT_ARRAY 1131 structure = ( variable in class:SRV_REQUEST_RESUME_KEY 1139 structure = ( variable in class:HASH_HEADER 1153 structure = ( variable in class:SRV_HASH_RETRIEVE_HASH_BASED 1162 structure = ( variable in class:SRV_HASH_RETRIEVE_FILE_BASED 1172 structure = ( variable in class:NETWORK_INTERFACE_INFO 1182 structure = ( variable in class:SMB2Ioctl_Response 1202 structure = ( variable in class:SMB2QueryDirectory 1222 structure = ( variable in class:SMB2QueryDirectory_Response 1234 structure = ( variable in class:SMB2ChangeNotify 1244 structure = ( variable in class:SMB2ChangeNotify_Response 1255 structure = ( variable in class:FILE_NOTIFY_INFORMATION 1266 structure = ( variable in class:SMB2QueryInfo 1289 structure = ( variable in class:SMB2_QUERY_QUOTA_INFO 1301 structure = ( variable in class:SMB2QueryInfo_Response 1314 structure = ( variable in class:SMB2SetInfo 1334 structure = ( variable in class:SMB2SetInfo_Response 1339 structure = ( variable in class:FILE_RENAME_INFORMATION_TYPE_2 1349 structure = ( variable in class:SMB2_TRANSFORM_HEADER 1361 structure = ( variable in class:FileInternalInformation [all...] |
/external/python/cpython2/Lib/ctypes/test/ |
test_anon.py | 11 class Y(Structure): 26 lambda: type(Structure)("Name", 27 (Structure,), 33 lambda: type(Structure)("Name", 34 (Structure,), 39 class ANON_S(Structure): 47 class Y(Structure):
|
test_struct_fields.py | 5 # Structure/Union classes must get 'finalized' sooner or 10 # 3. The type is used as field of another Structure/Union. 16 class X(Structure): 23 class X(Structure): 28 class X(Structure): 34 class X(Structure): 36 class Y(Structure): 41 class X(Structure):
|
/external/python/cpython3/Lib/ctypes/test/ |
test_anon.py | 11 class Y(Structure): 26 lambda: type(Structure)("Name", 27 (Structure,), 33 lambda: type(Structure)("Name", 34 (Structure,), 39 class ANON_S(Structure): 47 class Y(Structure):
|
test_struct_fields.py | 5 # Structure/Union classes must get 'finalized' sooner or 10 # 3. The type is used as field of another Structure/Union. 16 class X(Structure): 23 class X(Structure): 28 class X(Structure): 34 class X(Structure): 36 class Y(Structure): 41 class X(Structure):
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/ |
test_anon.py | 11 class Y(Structure): 26 lambda: type(Structure)("Name", 27 (Structure,), 33 lambda: type(Structure)("Name", 34 (Structure,), 39 class ANON_S(Structure): 47 class Y(Structure):
|
test_struct_fields.py | 5 # Structure/Union classes must get 'finalized' sooner or 10 # 3. The type is used as field of another Structure/Union. 16 class X(Structure): 23 class X(Structure): 28 class X(Structure): 34 class X(Structure): 36 class Y(Structure): 41 class X(Structure):
|
/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/ |
test_anon.py | 11 class Y(Structure): 26 lambda: type(Structure)("Name", 27 (Structure,), 33 lambda: type(Structure)("Name", 34 (Structure,), 39 class ANON_S(Structure): 47 class Y(Structure):
|
test_struct_fields.py | 5 # Structure/Union classes must get 'finalized' sooner or 10 # 3. The type is used as field of another Structure/Union. 16 class X(Structure): 23 class X(Structure): 28 class X(Structure): 34 class X(Structure): 36 class Y(Structure): 41 class X(Structure):
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_anon.py | 11 class Y(Structure): 26 lambda: type(Structure)("Name", 27 (Structure,), 33 lambda: type(Structure)("Name", 34 (Structure,), 39 class ANON_S(Structure): 47 class Y(Structure):
|
test_struct_fields.py | 5 # Structure/Union classes must get 'finalized' sooner or 10 # 3. The type is used as field of another Structure/Union. 16 class X(Structure): 23 class X(Structure): 28 class X(Structure): 34 class X(Structure): 36 class Y(Structure): 41 class X(Structure):
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_anon.py | 11 class Y(Structure): 26 lambda: type(Structure)("Name", 27 (Structure,), 33 lambda: type(Structure)("Name", 34 (Structure,), 39 class ANON_S(Structure): 47 class Y(Structure):
|
test_struct_fields.py | 5 # Structure/Union classes must get 'finalized' sooner or 10 # 3. The type is used as field of another Structure/Union. 16 class X(Structure): 23 class X(Structure): 28 class X(Structure): 34 class X(Structure): 36 class Y(Structure): 41 class X(Structure):
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/PiSmbiosRecordOnDataHubSmbiosRecordThunk/ |
MemoryConv.c | 47 *(UINT8 *) ((UINT8 *) (StructureNode->Structure) + OFFSET_OF (SMBIOS_TABLE_TYPE16, Location)) = (UINT8) (PhyMemArray->MemoryArrayLocation);
48 *(UINT8 *) ((UINT8 *) (StructureNode->Structure) + OFFSET_OF (SMBIOS_TABLE_TYPE16, Use)) = (UINT8) (PhyMemArray->MemoryArrayUse);
49 *(UINT8 *) ((UINT8 *) (StructureNode->Structure) + OFFSET_OF (SMBIOS_TABLE_TYPE16, MemoryErrorCorrection)) = (UINT8) (PhyMemArray->MemoryErrorCorrection);
63 (UINT8 *) StructureNode->Structure + OFFSET_OF (SMBIOS_TABLE_TYPE16, MaximumCapacity),
70 (UINT8 *) (StructureNode->Structure) + OFFSET_OF (SMBIOS_TABLE_TYPE16, MemoryErrorInformationHandle),
76 (UINT8 *) (StructureNode->Structure) + OFFSET_OF (SMBIOS_TABLE_TYPE16, NumberOfMemoryDevices),
192 (UINT8 *) (StructureNode->Structure) + OFFSET_OF (SMBIOS_TABLE_TYPE17, MemoryErrorInformationHandle),
201 (UINT8 *) StructureNode->Structure + OFFSET_OF (SMBIOS_TABLE_TYPE17, TotalWidth),
210 (UINT8 *) StructureNode->Structure + OFFSET_OF (SMBIOS_TABLE_TYPE17, DataWidth),
223 (UINT8 *) StructureNode->Structure + OFFSET_OF (SMBIOS_TABLE_TYPE17, FormFactor), [all...] |
MiscConv.c | 77 (UINT8 *) (StructureNode->Structure) + OFFSET_OF (SMBIOS_TABLE_TYPE0, BiosSegment),
91 (*(UINT8 *) ((UINT8 *) (StructureNode->Structure) + OFFSET_OF (SMBIOS_TABLE_TYPE0, BiosSize)))--;
97 (UINT8 *) (StructureNode->Structure) + OFFSET_OF (SMBIOS_TABLE_TYPE0, BiosCharacteristics),
106 (UINT8 *) (StructureNode->Structure) + OFFSET_OF (SMBIOS_TABLE_TYPE0, BiosCharacteristics) + 4,
115 (UINT8 *) (StructureNode->Structure) + OFFSET_OF (SMBIOS_TABLE_TYPE0, BIOSCharacteristicsExtensionBytes),
124 (UINT8 *) (StructureNode->Structure) + OFFSET_OF (SMBIOS_TABLE_TYPE0, SystemBiosMajorRelease),
133 (UINT8 *) (StructureNode->Structure) + OFFSET_OF (SMBIOS_TABLE_TYPE0, SystemBiosMinorRelease),
142 (UINT8 *) (StructureNode->Structure) + OFFSET_OF (SMBIOS_TABLE_TYPE0, EmbeddedControllerFirmwareMajorRelease),
151 (UINT8 *) (StructureNode->Structure) + OFFSET_OF (SMBIOS_TABLE_TYPE0, EmbeddedControllerFirmwareMinorRelease),
229 (UINT8 *) (StructureNode->Structure) + OFFSET_OF (SMBIOS_TABLE_TYPE1, Uuid), [all...] |
ProcessorConv.c | 48 Pointer = (UINT8 *) (StructureNode->Structure) + OFFSET_OF (SMBIOS_TABLE_TYPE4, L1CacheHandle);
50 SetMem ((UINT8 *) (StructureNode->Structure) + OFFSET_OF (SMBIOS_TABLE_TYPE4, L1CacheHandle), 2, 0xFF);
53 Pointer = (UINT8 *) (StructureNode->Structure) + OFFSET_OF (SMBIOS_TABLE_TYPE4, L2CacheHandle);
55 SetMem ((UINT8 *) (StructureNode->Structure) + OFFSET_OF (SMBIOS_TABLE_TYPE4, L2CacheHandle), 2, 0xFF);
58 Pointer = (UINT8 *) (StructureNode->Structure) + OFFSET_OF (SMBIOS_TABLE_TYPE4, L3CacheHandle);
60 SetMem ((UINT8 *) (StructureNode->Structure) + OFFSET_OF (SMBIOS_TABLE_TYPE4, L3CacheHandle), 2, 0xFF);
105 (UINT8 *) (StructureNode->Structure) + Offset,
111 (UINT8 *) (StructureNode->Structure) + Offset + 4,
161 * (UINT8 *) ((UINT8 *) (StructureNode->Structure) + Offset) = (UINT8) (Value | BIT7);
|
/external/python/cpython2/Lib/ctypes/ |
_endian.py | 18 # if typ is structure 19 if issubclass(typ, Structure): 23 class _swapped_meta(type(Structure)): 37 # Note: The Structure metaclass checks for the *presence* (not the 44 LittleEndianStructure = Structure 46 class BigEndianStructure(Structure): 47 """Structure with big endian byte order""" 54 BigEndianStructure = Structure 55 class LittleEndianStructure(Structure): 56 """Structure with little endian byte order"" [all...] |
/external/python/cpython3/Lib/ctypes/ |
_endian.py | 18 # if typ is structure 19 if issubclass(typ, Structure): 23 class _swapped_meta(type(Structure)): 37 # Note: The Structure metaclass checks for the *presence* (not the 44 LittleEndianStructure = Structure 46 class BigEndianStructure(Structure, metaclass=_swapped_meta): 47 """Structure with big endian byte order""" 54 BigEndianStructure = Structure 55 class LittleEndianStructure(Structure, metaclass=_swapped_meta): 56 """Structure with little endian byte order"" [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/ |
_endian.py | 21 # if typ is structure 22 if issubclass(typ, Structure): 26 class _swapped_meta(type(Structure)): 40 # Note: The Structure metaclass checks for the *presence* (not the 47 LittleEndianStructure = Structure 49 class BigEndianStructure(Structure): 50 """Structure with big endian byte order""" 57 BigEndianStructure = Structure 58 class LittleEndianStructure(Structure): 59 """Structure with little endian byte order"" [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/ |
_endian.py | 21 # if typ is structure 22 if issubclass(typ, Structure): 26 class _swapped_meta(type(Structure)): 40 # Note: The Structure metaclass checks for the *presence* (not the 47 LittleEndianStructure = Structure 49 class BigEndianStructure(Structure): 50 """Structure with big endian byte order""" 57 BigEndianStructure = Structure 58 class LittleEndianStructure(Structure): 59 """Structure with little endian byte order"" [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/ |
_endian.py | 21 # if typ is structure 22 if issubclass(typ, Structure): 26 class _swapped_meta(type(Structure)): 40 # Note: The Structure metaclass checks for the *presence* (not the 47 LittleEndianStructure = Structure 49 class BigEndianStructure(Structure): 50 """Structure with big endian byte order""" 57 BigEndianStructure = Structure 58 class LittleEndianStructure(Structure): 59 """Structure with little endian byte order"" [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/ |
_endian.py | 21 # if typ is structure 22 if issubclass(typ, Structure): 26 class _swapped_meta(type(Structure)): 40 # Note: The Structure metaclass checks for the *presence* (not the 47 LittleEndianStructure = Structure 49 class BigEndianStructure(Structure): 50 """Structure with big endian byte order""" 57 BigEndianStructure = Structure 58 class LittleEndianStructure(Structure): 59 """Structure with little endian byte order"" [all...] |