/external/llvm/include/llvm/DebugInfo/CodeView/ |
ByteStream.h | 1 //===- ByteStream.h - Reads stream data from a byte sequence ----*- C++ -*-===// 31 explicit ByteStream(ArrayType Data) : Data(Data) {} 45 ArrayRef<uint8_t> data() const { return Data; } function in class:llvm::codeview::ByteStream 49 ArrayType Data;
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
ArrayRef.h | 23 /// This class does not own the underlying data, it is expected to be used in 24 /// situations where the data resides in some other buffer, whose lifetime 39 const T *Data; 49 /*implicit*/ ArrayRef() : Data(0), Length(0) {} 53 : Data(&OneElt), Length(1) {} 56 /*implicit*/ ArrayRef(const T *data, size_t length) 57 : Data(data), Length(length) {} 61 : Data(begin), Length(end - begin) {} 65 : Data(Vec.data()), Length(Vec.size()) { 86 const T *data() const { return Data; } function in class:llvm::ArrayRef [all...] |
/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/PL310L2Cache/ |
PL310L2Cache.c | 35 UINT32 Data;
42 Data = L2x0ReadReg(L2X0_CACHEID);
43 if ((Data >> 24) != L2X0_CACHEID_IMPLEMENTER_ARM) {
49 if (((Data >> 6) & 0xF) != L2X0_CACHEID_PARTNUM_PL310) {
55 Revision = Data & 0x3F;
58 Data = L2x0ReadReg(L2X0_CTRL);
59 if (Data & L2X0_CTRL_ENABLED) {
72 Data = L2x0ReadReg(L2X0_AUXCTRL);
73 Aux |= Data & L2X0_AUXCTRL_WAYSIZE_MASK;
75 Aux |= Data & L2X0_AUXCTRL_ASSOCIATIVITY; [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/ |
XhciReg.c | 34 UINT8 Data;
43 &Data
48 Data = 0xFF;
51 return Data;
70 UINT32 Data;
79 &Data
84 Data = 0xFFFFFFFF;
87 return Data;
106 UINT32 Data;
117 &Data
[all...] |
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/ |
IpSecConfigImpl.c | 98 to the internal data structure.
793 @param[in, out] Data Pointer of SPD Data.
799 IN OUT EFI_IPSEC_SPD_DATA *Data
803 // It assumes that all ref buffers in SPD selector and data are
809 if (Data->ProcessingPolicy != NULL) {
810 if (Data->ProcessingPolicy->TunnelOption != NULL) {
811 FIX_REF_BUF_ADDR (Data->ProcessingPolicy->TunnelOption, Data);
814 FIX_REF_BUF_ADDR (Data->ProcessingPolicy, Data); [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/UhciDxe/ |
UhciReg.c | 34 UINT16 Data;
43 &Data
49 Data = 0xFFFF;
52 return Data;
57 Write data to UHCI register.
61 @param Data Data to write.
68 IN UINT16 Data
79 &Data
103 UINT16 Data;
[all...] |
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/GdbSerialLib/ |
GdbSerialLib.c | 90 data buts, and stop bits on a serial device. This call is optional as the serial
97 @param DataBits The number of data bits to use on the serial device. A DataBits
98 vaule of 0 will use the device's default data bit setting.
118 UINT8 Data;
128 Data = (UINT8) (DataBits - (UINT8)5);
138 OutputData = (UINT8)((DLAB << 7) | ((BreakSet << 6) | ((Parity << 3) | ((StopBits << 2) | Data))));
151 OutputData = (UINT8)((~DLAB<<7)|((BreakSet<<6)|((Parity<<3)|((StopBits<<2)| Data))));
178 UINT8 Data;
180 Data = IoRead8 (gPort + LSR_OFFSET);
182 return ((Data & LSR_RXDA) == LSR_RXDA); [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbMouseAbsolutePointerDxe/ |
MouseHid.c | 27 If the item is a short item, its optional data size may be 0, 1, 2, or 4 bytes.
74 HidItem->Data.LongData = StartPos;
86 // No data
92 // 1-byte data
95 HidItem->Data.Uint8 = *StartPos++;
101 // 2-byte data
104 CopyMem (&HidItem->Data.Uint16, StartPos, sizeof (UINT16));
111 // 4-byte data, adjust size
115 CopyMem (&HidItem->Data.Uint32, StartPos, sizeof (UINT32));
127 Get data from HID item. [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbMouseDxe/ |
MouseHid.c | 27 If the item is a short item, its optional data size may be 0, 1, 2, or 4 bytes.
74 HidItem->Data.LongData = StartPos;
86 // No data
92 // 1-byte data
95 HidItem->Data.Uint8 = *StartPos++;
101 // 2-byte data
104 CopyMem (&HidItem->Data.Uint16, StartPos, sizeof (UINT16));
111 // 4-byte data, adjust size
115 CopyMem (&HidItem->Data.Uint32, StartPos, sizeof (UINT32));
127 Get data from HID item. [all...] |
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/SerialPortLib/ |
SerialPortLib.c | 64 UINT8 Data;
69 Data = (UINT8) (gData - (UINT8) 5);
79 OutputData = (UINT8) ((DLAB << 7) | ((gBreakSet << 6) | ((gParity << 3) | ((gStop << 2) | Data))));
91 OutputData = (UINT8) ((~DLAB << 7) | ((gBreakSet << 6) | ((gParity << 3) | ((gStop << 2) | Data))));
119 Write data to serial device.
124 @param Buffer Point of data buffer which need to be writed.
127 @retval 0 Write data failed.
139 UINT8 Data;
152 Data = IoRead8 ((UINT16) PcdGet64 (PcdSerialRegisterBase) + LSR_OFFSET);
153 } while ((Data & LSR_TXRDY) == 0); [all...] |
/external/compiler-rt/lib/ubsan/ |
ubsan_handlers_cxx.cc | 35 DynamicTypeCacheMissData *Data, ValueHandle Pointer, ValueHandle Hash, 37 if (checkDynamicType((void*)Pointer, Data->TypeInfo, Hash)) 46 SourceLocation Loc = Data->Loc.acquire(); 55 << TypeCheckKinds[Data->TypeCheckKind] << (void*)Pointer << Data->Type; 85 DynamicTypeCacheMissData *Data, ValueHandle Pointer, ValueHandle Hash) { 87 HandleDynamicTypeCacheMiss(Data, Pointer, Hash, Opts); 90 DynamicTypeCacheMissData *Data, ValueHandle Pointer, ValueHandle Hash) { 93 if (HandleDynamicTypeCacheMiss(Data, Pointer, Hash, Opts)) 98 void HandleCFIBadType(CFICheckFailData *Data, ValueHandle Vtable [all...] |
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/ |
PVRTPrint3DAPI.cpp | 146 // Optional per-instance data 149 // Shared data across all Print3D instances 247 SPVRTPrint3DAPI::SInstanceData& Data = (m_pAPI->m_pInstanceData ? *m_pAPI->m_pInstanceData : SPVRTPrint3DAPI::s_InstanceData); 260 _ASSERT(Data.uProgramFont != UNDEFINED_HANDLE); 261 glUseProgram(Data.uProgramFont); 266 glUniformMatrix4fv(Data.mvpLocationFont, 1, GL_FALSE, mMVP.f); 365 SPVRTPrint3DAPI::SInstanceData& Data = (m_pAPI->m_pInstanceData ? *m_pAPI->m_pInstanceData : SPVRTPrint3DAPI::s_InstanceData); 368 if( Data.uFragmentShaderLogo != UNDEFINED_HANDLE && Data.uVertexShaderLogo != UNDEFINED_HANDLE && Data.uProgramLogo != UNDEFINED_HANDLE & [all...] |
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
ContactsContract_DataTest.java | 38 import android.provider.ContactsContract.Data; 54 Data._ID, 55 Data.RAW_CONTACT_ID, 56 Data.CONTACT_ID, 57 Data.NAME_RAW_CONTACT_ID, 59 Data.DATA1, 60 Data.DATA2, 61 Data.DATA3, 62 Data.DATA4, 63 Data.DATA5 215 TestData data = rawContact.newDataRow(CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE) local 233 TestData data = rawContact.newDataRow(CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE) local 249 TestData data = rawContact.newDataRow(CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE) local 309 TestData data = rawContact.newDataRow(CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE) local 410 TestData data = rawContact.newDataRow(CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE) local [all...] |
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiLib/ |
ReportStatusCode.c | 33 IN CONST EFI_STATUS_CODE_DATA *Data OPTIONAL
44 Converts the status code specified by CodeType, Value, and Data to the ASSERT()
48 Filename, Description, and LineNumber from the optional data area of the
49 status code buffer specified by Data. The optional data area of Data contains
52 ASSERT() information could be extracted from Data, then return TRUE.
55 If Data is NULL, then ASSERT().
62 @param Data Pointer to status code data buffer. [all...] |
/external/llvm/lib/Support/ |
DataExtractor.cpp | 18 bool isLittleEndian, const char *Data) { 22 std::memcpy(&val, &Data[offset], sizeof(val)); 34 const DataExtractor *de, bool isLittleEndian, const char *Data){ 40 *value_ptr = getU<T>(offset_ptr, de, isLittleEndian, Data); 43 // Return a non-NULL pointer to the converted data as an indicator of 51 return getU<uint8_t>(offset_ptr, this, IsLittleEndian, Data.data()); 57 Data.data()); 62 return getU<uint16_t>(offset_ptr, this, IsLittleEndian, Data.data()) [all...] |
ScopedPrinter.cpp | 24 ArrayRef<uint8_t> Data, bool Block) { 25 if (Data.size() > 16) 33 for (size_t addr = 0, end = Data.size(); addr < end; addr += 16) { 40 OS << hexdigit((Data[addr + i] >> 4) & 0xF, false) 41 << hexdigit(Data[addr + i] & 0xF, false); 48 if (std::isprint(Data[addr + i] & 0xFF)) 49 OS << Data[addr + i]; 62 for (size_t i = 0; i < Data.size(); ++i) { 66 OS << format("%02X", static_cast<int>(Data[i]));
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
DataExtractor.cpp | 18 bool isLittleEndian, const char *Data) { 22 std::memcpy(&val, &Data[offset], sizeof(val)); 34 const DataExtractor *de, bool isLittleEndian, const char *Data){ 40 *value_ptr = getU<T>(offset_ptr, de, isLittleEndian, Data); 43 // Return a non-NULL pointer to the converted data as an indicator of 51 return getU<uint8_t>(offset_ptr, this, IsLittleEndian, Data.data()); 57 Data.data()); 62 return getU<uint16_t>(offset_ptr, this, IsLittleEndian, Data.data()) [all...] |
/external/compiler-rt/lib/esan/ |
esan_circular_buffer.h | 12 // Circular buffer data structure. 19 // A circular buffer for POD data whose memory is allocated using mmap. 40 Data = (T *)MmapOrDie(Capacity * sizeof(T), "CircularBuffer"); 46 UnmapOrDie(Data, Capacity * sizeof(T)); 51 return Data[ArrayIdx]; 56 return Data[ArrayIdx]; 61 Data[ArrayIdx] = Item; 70 return Data[ArrayIdx]; 90 T *Data;
|
/external/llvm/lib/ObjectYAML/ |
YAML.cpp | 42 OS.write((const char *)Data.data(), Data.size()); 45 for (unsigned I = 0, N = Data.size(); I != N; I += 2) { 47 StringRef((const char *)&Data[I], 2).getAsInteger(16, Byte); 56 OS.write((const char *)Data.data(), Data.size()); 59 for (uint8_t Byte : Data)
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseIoLibIntrinsic/ |
IoLibIcc.c | 38 UINT8 Data;
44 mov Data, al
46 return Data;
100 UINT16 Data;
107 mov word ptr [Data], ax
110 return Data;
168 UINT32 Data;
175 mov dword ptr [Data], eax
178 return Data;
|
/external/jsilver/src/com/google/clearsilver/jsilver/data/ |
UnmodifiableData.java | 17 package com.google.clearsilver.jsilver.data; 24 * Data wrapper that prevents modifying the delegated Data node or its tree. 28 private static final String MODIFICATION_ERROR_MSG = "Cannot modify this Data object."; 30 public UnmodifiableData(Data delegate) { 35 protected DelegatedData newInstance(Data newDelegate) { 40 public void copy(Data from) { 45 public void copy(String toPath, Data from) { 54 public Data createChild(String path) { 56 Data child = getChild(path) [all...] |
/external/llvm/lib/DebugInfo/CodeView/ |
ByteStream.cpp | 1 //===- ByteStream.cpp - Reads stream data from a byte sequence ------------===// 31 ::memcpy(Dest.data() + Offset, Src.data(), Src.size()); 38 if (Offset > Data.size()) 40 if (Data.size() < Size + Offset) 42 Buffer = Data.slice(Offset, Size); 49 if (Offset >= Data.size()) 51 Buffer = Data.slice(Offset); 58 return ::writeBytes(Offset, Buffer, Data); 62 return Data.size() [all...] |
/external/llvm/lib/Fuzzer/ |
FuzzerMutate.cpp | 70 size_t MutationDispatcher::Mutate_Custom(uint8_t *Data, size_t Size, 72 return EF->LLVMFuzzerCustomMutator(Data, Size, MaxSize, Rand.Rand()); 75 size_t MutationDispatcher::Mutate_CustomCrossOver(uint8_t *Data, size_t Size, 86 Data, Size, Other.data(), Other.size(), U.data(), U.size(), Rand.Rand()); 90 memcpy(Data, U.data(), NewSize); 94 size_t MutationDispatcher::Mutate_ShuffleBytes(uint8_t *Data, size_t Size, 101 std::random_shuffle(Data + ShuffleStart, Data + ShuffleStart + ShuffleAmount [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
HistoryEvaluator.java | 31 private final ArrayList<Data> mStrokes = new ArrayList<>(); 32 private final ArrayList<Data> mGestureWeights = new ArrayList<>(); 41 mStrokes.add(new Data(evaluation)); 46 mGestureWeights.add(new Data(evaluation)); 56 private float weightedAverage(ArrayList<Data> list) { 61 Data data = list.get(i); local 62 sumValue += data.evaluation * data.weight; 63 sumWeight += data.weight [all...] |
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/ |
HistoryEvaluator.java | 31 private final ArrayList<Data> mStrokes = new ArrayList<>(); 32 private final ArrayList<Data> mGestureWeights = new ArrayList<>(); 41 mStrokes.add(new Data(evaluation)); 46 mGestureWeights.add(new Data(evaluation)); 54 private float weightedAverage(ArrayList<Data> list) { 59 Data data = list.get(i); local 60 sumValue += data.evaluation * data.weight; 61 sumWeight += data.weight [all...] |