/external/llvm/lib/Target/BPF/MCTargetDesc/ |
BPFAsmBackend.cpp | 34 void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize, 66 void BPFAsmBackend::applyFixup(const MCFixup &Fixup, char *Data, 77 Data[Fixup.getOffset() + Idx] = uint8_t(Value >> (i * 8)); 83 Data[Fixup.getOffset() + 2] = Value & 0xFF; 84 Data[Fixup.getOffset() + 3] = Value >> 8; 86 Data[Fixup.getOffset() + 2] = Value >> 8; 87 Data[Fixup.getOffset() + 3] = Value & 0xFF;
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
ProfileInfoLoader.cpp | 43 std::vector<unsigned> &Data) { 47 errs() << ToolName << ": data packet truncated!\n"; 56 // Read in the block of data... 58 errs() << ToolName << ": data packet truncated!\n"; 65 if (Data.size() < NumEntries) 66 Data.resize(NumEntries, ProfileInfoLoader::Uncounted); 68 // Accumulate the data we just read into the data. 71 Data[i] = AddCounts(TempSpace[i], Data[i]) [all...] |
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
AccountImageHelper.java | 36 ContactsContract.Data._ID, 37 ContactsContract.Data.CONTACT_ID, 38 ContactsContract.Data.RAW_CONTACT_ID, 39 ContactsContract.Data.LOOKUP_KEY, 40 ContactsContract.Data.PHOTO_URI, 41 ContactsContract.Data.PHOTO_FILE_ID 67 c = context.getContentResolver().query(ContactsContract.Data.CONTENT_URI,
|
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/ |
DataUtil.java | 25 import android.provider.ContactsContract.Data; 28 * Convenience methods for operating on the Data table. 32 private static final Uri URI = ContactsContract.Data.CONTENT_URI; 46 values.put(ContactsContract.Data.RAW_CONTACT_ID, rawContactId); 47 values.put(ContactsContract.Data.MIMETYPE, 49 Uri resultUri = resolver.insert(ContactsContract.Data.CONTENT_URI, values); 92 values.put(Data.IS_PRIMARY, 1); 93 values.put(Data.IS_SUPER_PRIMARY, 1);
|
/prebuilts/clang/host/linux-x86/clang-3859424/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerDictionary.h | 29 memcpy(Data, B, S); 34 return Size == w.Size && 0 == memcmp(Data, w.Data, Size); 40 return memcmp(Data, w.Data, Size) < 0; 44 const uint8_t *data() const { return Data; } function in class:fuzzer::FixedWord 49 uint8_t Data[kMaxSize]; 72 PrintASCII(W.data(), W.size());
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/AuthVariableLib/ |
AuthServiceInternal.h | 6 This driver will have external input - variable data. It may be input in SMM mode.
197 This function may be invoked in SMM mode, and datasize and data are external input.
198 This function will do basic validation, before parse the data.
204 @param[in] Data Data pointer.
205 @param[in] DataSize Size of Data found. If size is less than the
206 data, this value contains the required size.
208 @param[in] AuthVarType Verify against PK, KEK database, private database or certificate in data payload.
223 IN VOID *Data,
266 Filter out the duplicated EFI_SIGNATURE_DATA from the new data by comparing to the original data. [all...] |
AuthService.c | 5 This driver will have external input - variable data. It may be input in SMM mode.
18 They will do basic validation for authentication data structure, then call crypto library
41 // These data are used to perform SignatureList format check while setting PK/KEK variable.
116 @param[out] Data Pointer to data address.
117 @param[out] DataSize Pointer to data size.
129 OUT VOID **Data,
142 *Data = AuthVariableInfo.Data;
152 @param[in] Data Data pointer. [all...] |
/external/swiftshader/third_party/LLVM/lib/Object/ |
Archive.cpp | 30 char Size[10]; //< Size of data, not including header or padding. 58 ToHeader(Data.data())->getSize(); 63 const char *NextLoc = Data.data() + SpaceToSkip; 66 if (NextLoc >= Parent->Data->getBufferEnd()) 76 StringRef name = ToHeader(Data.data())->getName(); 91 const char *addr = Parent->StringTable->Data.begin() 96 || addr < (Parent->StringTable->Data.begin( [all...] |
/packages/apps/Contacts/src/com/android/contacts/util/ |
DataStatus.java | 23 import android.provider.ContactsContract.Data; 56 final boolean hasStatus = !isNull(cursor, Data.STATUS); 57 final boolean hasTimestamp = !isNull(cursor, Data.STATUS_TIMESTAMP); 66 final long newTimestamp = getLong(cursor, Data.STATUS_TIMESTAMP, -1); 77 mPresence = getInt(cursor, Data.PRESENCE, -1); 78 mStatus = getString(cursor, Data.STATUS); 79 mTimestamp = getLong(cursor, Data.STATUS_TIMESTAMP, -1); 80 mResPackage = getString(cursor, Data.STATUS_RES_PACKAGE); 81 mIconRes = getInt(cursor, Data.STATUS_ICON, -1); 82 mLabelRes = getInt(cursor, Data.STATUS_LABEL, -1) [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
DataStatus.java | 23 import android.provider.ContactsContract.Data; 54 final boolean hasStatus = !isNull(cursor, Data.STATUS); 55 final boolean hasTimestamp = !isNull(cursor, Data.STATUS_TIMESTAMP); 64 final long newTimestamp = getLong(cursor, Data.STATUS_TIMESTAMP, -1); 75 mPresence = getInt(cursor, Data.PRESENCE, -1); 76 mStatus = getString(cursor, Data.STATUS); 77 mTimestamp = getLong(cursor, Data.STATUS_TIMESTAMP, -1); 78 mResPackage = getString(cursor, Data.STATUS_RES_PACKAGE); 79 mIconRes = getInt(cursor, Data.STATUS_ICON, -1); 80 mLabelRes = getInt(cursor, Data.STATUS_LABEL, -1) [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/Application/IpsecConfig/ |
PolicyEntryOperation.c | 214 @param[out] Data The pointer to the EFI_IPSEC_SPD_DATA structure.
226 OUT EFI_IPSEC_SPD_DATA **Data,
249 // SPD DATA
256 *Data = AllocateZeroPool (DataSize);
257 ASSERT (*Data != NULL);
259 (*Data)->ProcessingPolicy = (EFI_IPSEC_PROCESS_POLICY *) ALIGN_POINTER (
260 (*Data + 1),
263 (*Data)->ProcessingPolicy->TunnelOption = (EFI_IPSEC_TUNNEL_OPTION *) ALIGN_POINTER (
264 ((*Data)->ProcessingPolicy + 1),
274 UnicodeStrToAsciiStr (ValueStr, (CHAR8 *) (*Data)->Name); [all...] |
Match.c | 50 @param[in] Data The pointer to the EFI_IPSEC_SPD_DATA structure.
59 IN EFI_IPSEC_SPD_DATA *Data,
67 if ((Data->Name != NULL) && (AsciiStrCmp ((CHAR8 *) Indexer->Name, (CHAR8 *) Data->Name) == 0)) {
85 @param[in] Data The pointer to the EFI_IPSEC_SA_DATA2 structure.
94 IN EFI_IPSEC_SA_DATA2 *Data,
117 @param[in] Data The pointer to the EFI_IPSEC_PAD_DATA structure.
126 IN EFI_IPSEC_PAD_DATA *Data,
|
/external/llvm/lib/DebugInfo/DWARF/ |
DWARFDebugAbbrev.cpp | 25 bool DWARFAbbreviationDeclarationSet::extract(DataExtractor Data, 32 while (AbbrDecl.extract(Data, OffsetPtr)) { 76 void DWARFDebugAbbrev::extract(DataExtractor Data) { 81 while (Data.isValidOffset(Offset)) { 83 if (!AbbrDecls.extract(Data, &Offset))
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
AccelerationClassifier.java | 32 private final HashMap<Stroke, Data> mStrokeMap = new HashMap<>(); 55 mStrokeMap.put(stroke, new Data(point)); 64 Data data = mStrokeMap.get(stroke); local 65 return 2 * SpeedRatioEvaluator.evaluate(data.maxSpeedRatio); 68 private static class Data { 76 public Data(Point point) { 86 // reject this segment and ensure we won't use data about it in the next round.
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/ |
AccelerationClassifier.java | 32 private final Map<Stroke, Data> mStrokeMap = new ArrayMap<>(); 55 mStrokeMap.put(stroke, new Data(point)); 64 Data data = mStrokeMap.get(stroke); local 65 return 2 * SpeedRatioEvaluator.evaluate(data.maxSpeedRatio); 68 private static class Data { 76 public Data(Point point) { 86 // reject this segment and ensure we won't use data about it in the next round.
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciPei/ |
XhcPeim.c | 84 UINT32 Data;
88 Data = MmioRead32 (Xhc->UsbHostControllerBaseAddress + Xhc->CapLength + Offset);
89 return Data;
93 Write the data to the XHCI operation register.
97 @param Data The data to write.
104 IN UINT32 Data
109 MmioWrite32 (Xhc->UsbHostControllerBaseAddress + Xhc->CapLength + Offset, Data);
127 UINT32 Data;
129 Data = XhcPeiReadOpReg (Xhc, Offset); [all...] |
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/ |
Variable.c | 4 There is just a single runtime memory buffer that contans all the data.
31 // UINT8 Data[]
44 IN VOID *Data
71 CopyMem (mVariableArrayNextFree, Data, DataSize);
88 UINT8 *Data;
92 Data = ((UINT8 *)Entry) + Size;
94 CopyMem (Entry, Data, (UINTN)mVariableArrayNextFree - (UINTN)Data);
114 OUT VOID **Data OPTIONAL
132 if (Data != NULL) { [all...] |
/external/llvm/include/llvm/ADT/ |
StringRef.h | 38 /// This class does not own the string data, it is expected to be used in 39 /// situations where the character data resides in some other buffer, whose 51 const char *Data; 69 /*implicit*/ StringRef() : Data(nullptr), Length(0) {} 73 : Data(Str) { 80 /*implicit*/ StringRef(const char *data, size_t length) 81 : Data(data), Length(length) { 82 assert((data || length == 0) && 89 : Data(Str.data()), Length(Str.length()) { 116 const char *data() const { return Data; } function in class:llvm::StringRef [all...] |
/external/llvm/lib/Support/ |
StringRef.cpp | 53 if (int Res = ascii_strncasecmp(Data, RHS.Data, std::min(Length, RHS.Length))) 63 ascii_strncasecmp(Data, Prefix.Data, Prefix.Length) == 0; 69 ascii_strncasecmp(end() - Suffix.Length, Suffix.Data, Suffix.Length) == 0; 76 if (ascii_isdigit(Data[I]) && ascii_isdigit(RHS.Data[I])) { 81 bool ld = J < Length && ascii_isdigit(Data[J]); 82 bool rd = J < RHS.Length && ascii_isdigit(RHS.Data[J]); 89 if (int Res = compareMemory(Data + I, RHS.Data + I, J - I) [all...] |
/external/llvm/unittests/ProfileData/ |
CoverageMappingTest.cpp | 90 // coverage mapping data. 157 std::string writeCoverageRegions(InputFunctionCoverageData &Data) { 158 SmallVector<unsigned, 8> FileIDs(Data.ReverseVirtualFileMapping.size()); 159 for (const auto &E : Data.ReverseVirtualFileMapping) 163 CoverageMappingWriter(FileIDs, None, Data.Regions).write(OS); 168 OutputFunctionCoverageData &Data) { 173 RawCoverageMappingReader Reader(Coverage, Filenames, Data.Filenames, 174 Expressions, Data.Regions); 284 CoverageData Data = LoadedCoverage->getCoverageForFile(FileNames[I]); 285 ASSERT_TRUE(!Data.empty()) [all...] |
/external/clang/lib/Basic/ |
FileManager.cpp | 140 UDE->Name = NamedDirEnt.first().data(); 185 const char *InterndDirName = NamedDirEnt.first().data(); 188 FileData Data; 189 if (getStatValue(InterndDirName, Data, false, nullptr /*directory lookup*/)) { 200 DirectoryEntry &UDE = UniqueRealDirs[Data.UniqueID]; 232 const char *InterndFileName = NamedFileEnt.first().data(); 253 FileData Data; 254 if (getStatValue(InterndFileName, Data, true, openFile ? &F : nullptr)) { 266 FileEntry &UFE = UniqueRealFiles[Data.UniqueID]; 272 if (Data.Name != Filename) [all...] |
/external/llvm/lib/DebugInfo/PDB/Raw/ |
MappedBlockStream.cpp | 1 //===- MappedBlockStream.cpp - Reads stream data from a PDBFile -----------===// 26 MappedBlockStreamImpl(std::unique_ptr<IPDBStreamData> Data, 28 : MappedBlockStream(std::move(Data), File) {} 38 MappedBlockStream::MappedBlockStream(std::unique_ptr<IPDBStreamData> Data, 40 : Pdb(Pdb), Data(std::move(Data)) {} 45 if (Size > Data->getLength()) 47 if (Offset > Data->getLength() - Size) 103 // Otherwise allocate a large enough buffer in the pool, memcpy the data 125 if (Offset >= Data->getLength() [all...] |
/device/linaro/bootloader/edk2/DuetPkg/Library/DxeCoreReportStatusCodeLibFromHob/ |
ReportStatusCodeLib.c | 24 Type, Value, Instance, CallerId, and Data. The result of this call is returned.
32 @param Data Pointer to the extended data buffer. This is an
46 IN EFI_STATUS_CODE_DATA *Data OPTIONAL
53 return (*mStatusProtocol.ReportStatusCode) (Type, Value, Instance, (EFI_GUID *) CallerId, Data);
137 Converts the status code specified by CodeType, Value, and Data to the ASSERT()
141 Filename, Description, and LineNumber from the optional data area of the
142 status code buffer specified by Data. The optional data area of Data contains [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseIoLibIntrinsic/ |
IoLibIcc.c | 229 UINT8 Data;
235 mov Data, al
237 return Data;
290 UINT16 Data;
297 mov word ptr [Data], ax
300 return Data;
359 UINT32 Data;
366 mov dword ptr [Data], eax
369 return Data;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/ |
FirmwarePerformanceSmm.c | 2 This module collects performance data for SMM driver boot records and S3 Suspend Performance Record.
4 This module registers report status code listener to collect performance data
57 data for S3 Suspend Start and S3 Suspend End in FPDT.
68 @param[in] Data This optional parameter may be used to pass additional data.
81 IN EFI_STATUS_CODE_DATA *Data
99 if (Data != NULL && CompareGuid (&Data->Type, &gEfiFirmwarePerformanceGuid)) {
102 if (mBootRecordSize + Data->Size > mBootRecordMaxSize) {
104 // Try to allocate big SMRAM data to store Boot record. [all...] |