/external/llvm/include/llvm/MC/ |
MCLabel.h | 27 // \brief The instance number of this Directional Local Label. 28 unsigned Instance; 32 MCLabel(unsigned instance) : Instance(instance) {} 38 /// \brief Get the current instance of this Directional Local Label. 39 unsigned getInstance() const { return Instance; } 41 /// \brief Increment the current instance of this Directional Local Label. 42 unsigned incInstance() { return ++Instance; }
|
/external/swiftshader/third_party/LLVM/include/llvm/MC/ |
MCLabel.h | 25 // Instance - the instance number of this Directional Local Label 26 unsigned Instance; 30 MCLabel(unsigned instance) 31 : Instance(instance) {} 36 /// getInstance - Get the current instance of this Directional Local Label. 37 unsigned getInstance() const { return Instance; } 39 /// incInstance - Increment the current instance of this Directional Local 41 unsigned incInstance() { return ++Instance; } [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/Mtftp6Dxe/ |
Mtftp6Rrq.c | 22 @param[in] Instance The pointer to the Mtftp6 instance.
32 IN MTFTP6_INSTANCE *Instance,
59 // Reset current retry count of the instance.
61 Instance->CurRetry = 0;
62 Instance->LastPacket = Packet;
64 return Mtftp6TransmitPacket (Instance, Packet);
72 @param[in] Instance The pointer to the Mtftp6 instance.
86 IN MTFTP6_INSTANCE *Instance,
[all...] |
Mtftp6Wrq.c | 23 @param[in] Instance The pointer to the Mtftp6 instance.
33 IN MTFTP6_INSTANCE *Instance,
48 UdpPacket = NetbufAlloc (Instance->BlkSize + MTFTP6_DATA_HEAD_LEN);
67 Token = Instance->Token;
68 DataLen = Instance->BlkSize;
71 Start = MultU64x32 (BlockNum - 1, Instance->BlkSize);
73 if (Token->BufferSize < Start + Instance->BlkSize) {
75 Instance->LastBlk = BlockNum;
76 Mtftp6SetLastBlockNum (&Instance->BlkList, BlockNum); [all...] |
Mtftp6Impl.c | 37 Returns the current operating mode data for the MTFTP6 instance.
40 cached data packet for the MTFTP6 instance.
42 @param[in] This Pointer to the EFI_MTFTP6_PROTOCOL instance.
58 MTFTP6_INSTANCE *Instance;
66 Instance = MTFTP6_INSTANCE_FROM_THIS (This);
69 // Copy back the configure data if the instance already configured.
71 if (Instance->Config != NULL) {
74 Instance->Config,
98 this EFI MTFTPv6 Protocol driver instance.
101 data for this EFI MTFTPv6 Protocol driver instance. The configuration [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Mtftp4Dxe/ |
Mtftp4Rrq.c | 45 @param Instance The Mtftp session
55 IN MTFTP4_PROTOCOL *Instance,
67 Status = Mtftp4InitBlockRange (&Instance->Blocks, 1, 0xffff);
73 Status = Mtftp4SendRequest (Instance);
79 return UdpIoRecvDatagram (Instance->UnicastPort, Mtftp4RrqInput, Instance, 0);
86 @param Instance The Mtftp session
96 IN MTFTP4_PROTOCOL *Instance,
118 return Mtftp4SendPacket (Instance, Packet);
126 @param Instance The Mtftp session [all...] |
Mtftp4Wrq.c | 22 @param Instance The MTFTP upload session.
33 IN OUT MTFTP4_PROTOCOL *Instance,
48 UdpPacket = NetbufAlloc (Instance->BlkSize + MTFTP4_DATA_HEAD_LEN);
63 Token = Instance->Token;
64 DataLen = Instance->BlkSize;
67 Start = MultU64x32 (BlockNum - 1, Instance->BlkSize);
69 if (Token->BufferSize < Start + Instance->BlkSize) {
71 Instance->LastBlock = BlockNum;
72 Mtftp4SetLastBlockNum (&Instance->Blocks, BlockNum);
86 &Instance->Mtftp4, [all...] |
Mtftp4Impl.c | 23 @param Instance The MTFTP session to clean up
29 IN OUT MTFTP4_PROTOCOL *Instance,
41 Token = Instance->Token;
50 Instance->Token = NULL;
53 ASSERT (Instance->UnicastPort != NULL);
54 UdpIoCleanIo (Instance->UnicastPort);
56 if (Instance->LastPacket != NULL) {
57 NetbufFree (Instance->LastPacket);
58 Instance->LastPacket = NULL;
61 if (Instance->McastUdpPort != NULL) { [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/Pei/ |
Pei.h | 51 #define PEI_REPORT_STATUS_CODE(PeiServices, CodeType, Value, Instance, CallerId, Data) \
52 (*PeiServices)->PeiReportStatusCode (PeiServices, CodeType, Value, Instance, CallerId, Data)
55 #define PEI_REPORT_STATUS_CODE(PeiServices, CodeType, Value, Instance, CallerId, Data)
|
/device/linaro/bootloader/edk2/SecurityPkg/Hash2DxeCrypto/ |
Driver.c | 25 @param[in] This Protocol instance pointer.
47 HASH2_INSTANCE_DATA *Instance;
57 // Allocate buffer for the new instance.
59 Instance = AllocateZeroPool (sizeof (HASH2_INSTANCE_DATA));
60 if (Instance == NULL) {
65 // Init the instance data.
67 Instance->Signature = HASH2_INSTANCE_DATA_SIGNATURE;
68 CopyMem (&Instance->Hash2Protocol, &mHash2Protocol, sizeof (Instance->Hash2Protocol));
69 Instance->Hash2ServiceData = Hash2ServiceData; [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Udp4Dxe/ |
Udp4Main.c | 33 UDPv4 Protocol instance into user-supplied buffers. This function is used
37 @param[in] This Pointer to the EFI_UDP4_PROTOCOL instance.
45 available because this instance has not been started.
59 UDP4_INSTANCE_DATA *Instance;
68 Instance = UDP4_INSTANCE_DATA_FROM_THIS (This);
70 if (!Instance->Configured && (Udp4ConfigData != NULL)) {
80 CopyMem (Udp4ConfigData, &Instance->ConfigData, sizeof (*Udp4ConfigData));
83 Ip = Instance->IpInfo->Ip.Ip4;
97 Initializes, changes, or resets the operational parameters for this instance of the EFI UDPv4
101 * Initialize and start this instance of the EFI UDPv4 Protocol. [all...] |
/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/NorFlashDxe/ |
NorFlashFvbDxe.c | 53 IN NOR_FLASH_INSTANCE *Instance
62 if (!Instance->Initialized && Instance->Initialize) {
63 Instance->Initialize (Instance);
74 ASSERT((PcdGet32(PcdFlashNvStorageVariableSize) > 0) && (PcdGet32(PcdFlashNvStorageVariableSize) / Instance->Media.BlockSize > 0));
75 ASSERT((PcdGet32(PcdFlashNvStorageFtwWorkingSize) > 0) && (PcdGet32(PcdFlashNvStorageFtwWorkingSize) / Instance->Media.BlockSize > 0));
76 ASSERT((PcdGet32(PcdFlashNvStorageFtwSpareSize) > 0) && (PcdGet32(PcdFlashNvStorageFtwSpareSize) / Instance->Media.BlockSize > 0));
79 ASSERT(PcdGet32(PcdFlashNvStorageVariableBase) % Instance->Media.BlockSize == 0);
80 ASSERT(PcdGet32(PcdFlashNvStorageFtwWorkingBase) % Instance->Media.BlockSize == 0); [all...] |
/frameworks/base/core/java/android/gesture/ |
Learner.java | 25 private final ArrayList<Instance> mInstances = new ArrayList<Instance>(); 28 * Add an instance to the learner 30 * @param instance 32 void addInstance(Instance instance) { 33 mInstances.add(instance); 41 ArrayList<Instance> getInstances() { 46 * Remove an instance based on its id 51 ArrayList<Instance> instances = mInstances 54 Instance instance = instances.get(i); local 73 final Instance instance = instances.get(i); local [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/Dhcp6Dxe/ |
Dhcp6Impl.c | 43 be called only when the state of Dhcp6 instance is in the Dhcp6Init state.
44 If the DHCP process completes successfully, the state of the Dhcp6 instance
56 @retval EFI_ACCESS_DENIED The EFI DHCPv6 Child instance hasn't been configured.
63 @retval EFI_ALREADY_STARTED Some other Dhcp6 instance already started the DHCPv6
77 DHCP6_INSTANCE *Instance;
84 Instance = DHCP6_INSTANCE_FROM_THIS (This);
85 Service = Instance->Service;
88 // The instance hasn't been configured.
90 if (Instance->Config == NULL) {
94 ASSERT (Instance->IaCb.Ia != NULL); [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/Udp6Dxe/ |
Udp6Main.c | 31 instance into user-supplied buffers. This function is used optionally to retrieve
34 @param[in] This Pointer to the EFI_UDP6_PROTOCOL instance.
49 data is available because this instance has not
64 UDP6_INSTANCE_DATA *Instance;
73 Instance = UDP6_INSTANCE_DATA_FROM_THIS (This);
75 if (!Instance->Configured && (Udp6ConfigData != NULL)) {
85 CopyMem (Udp6ConfigData, &Instance->ConfigData, sizeof (EFI_UDP6_CONFIG_DATA));
88 Ip = Instance->IpInfo->Ip.Ip6;
103 Initialize and start this instance of the EFI UDPv6 Protocol.
105 Reset this instance of the EFI UDPv6 Protocol. [all...] |
/external/clang/test/Sema/ |
overloaded-func-transparent-union.c | 13 } Instance __attribute__((transparent_union)); 15 __attribute__((overloadable)) void Class_Init(Instance this, char *str, void *str2) { 20 __attribute__((overloadable)) void Class_Init(Instance this, char *str) {
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/Ipf/ |
Fvb.c | 54 // The Instance translates into Fvb instance. The Fvb order defined by HOBs and
55 // thus the sequence of FVB protocol addition define Instance.
62 IN UINTN Instance,
74 Instance - The FV instance to be read from
90 return EfiCallEsalService (&Guid, Read, Instance, Lba, Offset, (UINT64) NumBytes, (UINT64) Buffer, 0, 0).Status;
95 IN UINTN Instance,
107 Instance - The FV instance to be written to [all...] |
/cts/suite/audio_quality/lib/include/ |
Log.h | 36 static Log* Instance(const char* dirName = NULL); 55 #define LOGE(x...) do { Log::Instance()->printf(Log::ELogE, x); \ 56 Log::Instance()->printf(Log::ELogE, " file %s line %d", __FILE__, __LINE__); } while(0) 57 #define LOGW(x...) do { Log::Instance()->printf(Log::ELogW, x); } while(0) 58 #define LOGI(x...) do { Log::Instance()->printf(Log::ELogI, x); } while(0) 59 #define LOGD(x...) do { Log::Instance()->printf(Log::ELogD, x); } while(0) 60 #define LOGV(x...) do { Log::Instance()->printf(Log::ELogV, x); } while(0) 62 #define MSG(x...) do { Log::Instance()->printf(Log::ELogE, x); } while(0) 64 #define ASSERT(cond) if(!(cond)) { Log::Instance()->printf(Log::ELogE, \
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/Ia32/ |
Fvb.c | 20 mFvbEntry is an array of Handle Fvb pairs. The Fvb Lib Instance matches the
322 // The Instance translates into Fvb instance. The Fvb order defined by HOBs and
323 // thus the sequence of FVB protocol addition define Instance.
331 IN UINTN Instance,
343 Instance - The FV instance to be read from
360 if (Instance >= mFvbCount) {
364 return mFvbEntry[Instance].Fvb->Read (mFvbEntry[Instance].Fvb, Lba, Offset, NumBytes, Buffer); [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/X64/ |
Fvb.c | 20 mFvbEntry is an array of Handle Fvb pairs. The Fvb Lib Instance matches the
325 // The Instance translates into Fvb instance. The Fvb order defined by HOBs and
326 // thus the sequence of FVB protocol addition define Instance.
334 IN UINTN Instance,
346 Instance - The FV instance to be read from
363 if (Instance >= mFvbCount) {
367 return mFvbEntry[Instance].Fvb->Read (mFvbEntry[Instance].Fvb, Lba, Offset, NumBytes, Buffer); [all...] |
/external/clang/lib/StaticAnalyzer/Frontend/ |
ModelInjector.cpp | 79 CompilerInstance Instance(CI.getPCHContainerOperations()); 80 Instance.setInvocation(&*Invocation); 81 Instance.createDiagnostics( 85 Instance.getDiagnostics().setSourceManager(&SM); 87 Instance.setVirtualFileSystem(&CI.getVirtualFileSystem()); 89 // The instance wants to take ownership, however DisableFree frontend option 91 Instance.setFileManager(&CI.getFileManager()); 92 Instance.setSourceManager(&SM); 93 Instance.setPreprocessor(&CI.getPreprocessor()); 94 Instance.setASTContext(&CI.getASTContext()) [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/ |
AtaAtapiPassThru.c | 19 // EFI_DRIVER_BINDING_PROTOCOL instance
154 @param[in] Instance Pointer to the ATA_ATAPI_PASS_THRU_INSTANCE.
185 IN ATA_ATAPI_PASS_THRU_INSTANCE *Instance,
195 Mode = Instance->Mode;
201 Status = GetIdeRegisterIoAddr (Instance->PciIo, Instance->IdeRegisters);
210 Instance->PciIo,
211 &Instance->IdeRegisters[Port],
220 Instance->PciIo,
221 &Instance->IdeRegisters[Port], [all...] |
/device/linaro/bootloader/edk2/ArmPlatformPkg/FileSystem/BootMonFs/ |
BootMonFsEntryPoint.c | 70 @param[in] Instance Pointer to the description of the volume in which
83 IN BOOTMON_FS_INSTANCE *Instance,
94 for (Entry = GetFirstNode (&Instance->RootFile->Link);
95 !IsNull (&Instance->RootFile->Link, Entry);
96 Entry = GetNextNode (&Instance->RootFile->Link, Entry)
117 IN BOOTMON_FS_INSTANCE *Instance,
126 for (Entry = GetFirstNode (&Instance->RootFile->Link);
127 !IsNull (&Instance->RootFile->Link, Entry) && (&Instance->RootFile->Link != Entry);
128 Entry = GetNextNode (&Instance->RootFile->Link, Entry) [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/ |
Ip4Config2Nv.h | 28 @param[in, out] Instance The IP4 config2 Instance.
37 IN OUT IP4_CONFIG2_INSTANCE *Instance
43 @param[in, out] Instance The IP4 config2 instance to unload a form.
48 IN OUT IP4_CONFIG2_INSTANCE *Instance
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/ |
LcdGraphicsOutputDxe.c | 87 LCD_INSTANCE* Instance;
89 Instance = AllocateCopyPool (sizeof(LCD_INSTANCE), &mLcdTemplate);
90 if (Instance == NULL) {
94 Instance->Gop.Mode = &Instance->Mode;
95 Instance->Gop.Mode->MaxMode = LcdPlatformGetMaxMode ();
96 Instance->Mode.Info = &Instance->ModeInfo;
98 *NewInstance = Instance;
108 IN LCD_INSTANCE* Instance
[all...] |