| /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...] |
| SpeedAnglesClassifier.java | 37 private HashMap<Stroke, Data> mStrokeMap = new HashMap<>(); 60 mStrokeMap.put(stroke, new Data()); 73 Data data = mStrokeMap.get(stroke); local 74 return SpeedVarianceEvaluator.evaluate(data.getAnglesVariance()) 75 + SpeedAnglesPercentageEvaluator.evaluate(data.getAnglesPercentage()); 78 private static class Data { 93 public Data() {
|
| /external/opencv3/3rdparty/openexr/IlmImf/ |
| ImfOutputFile.cpp | 28 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 133 bool partiallyFull; // has incomplete data 170 struct OutputFile::Data: public Mutex 179 int minX; // data window's min x coord 180 int maxX; // data window's max x coord 181 int minY; // data window's min y coord 182 int maxY; // data window's max x coord 189 Compressor::Format format; // compressor's data format 202 Data (bool deleteStream, int numThreads); 203 ~Data (); [all...] |
| ImfScanLineInputFile.cpp | 28 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 178 struct ScanLineInputFile::Data: public Mutex 184 int minX; // data window's min x coord 185 int maxX; // data window's max x coord 186 int minY; // data window's min y coord 187 int maxY; // data window's max x coord 205 Data (IStream *is, int numThreads); 206 ~Data (); 214 ScanLineInputFile::Data::Data (IStream *is, int numThreads) [all...] |
| ImfTiledInputFile.cpp | 28 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 184 // struct TiledInputFile::Data stores things that will be 188 struct TiledInputFile::Data: public Mutex 195 int minX; // data window's min x coord 196 int maxX; // data window's max x coord 197 int minY; // data window's min y coord 198 int maxY; // data window's max x coord 231 Data (bool deleteStream, int numThreads); 232 ~Data (); 240 TiledInputFile::Data::Data (bool del, int numThreads) [all...] |
| /external/avahi/avahi-sharp/ |
| RecordBrowser.cs | 59 public byte[] Data; 198 info.Data = new byte[size]; 201 Marshal.Copy (rdata, info.Data, 0, size);
|
| /external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1-modules/pyasn1_modules/ |
| rfc2315.py | 5 # http://www.trl.ibm.com/projects/xml/xss4j/data/asn1/grammars/pkcs7.asn 26 data = univ.ObjectIdentifier('1.2.840.113549.1.7.1') variable 205 class Data(univ.OctetString): pass
|
| /external/clang/include/clang/AST/ |
| NestedNameSpecifier.h | 227 void *Data; 229 /// \brief Determines the data length for the last component in the 233 /// \brief Determines the data length for the entire 239 NestedNameSpecifierLoc() : Qualifier(nullptr), Data(nullptr) { } 243 NestedNameSpecifierLoc(NestedNameSpecifier *Qualifier, void *Data) 244 : Qualifier(Qualifier), Data(Data) { } 260 /// \brief Retrieve the opaque pointer that refers to source-location data. 261 void *getOpaqueData() const { return Data; } 313 return NestedNameSpecifierLoc(Qualifier->getPrefix(), Data); [all...] |
| /external/clang/include/clang/Frontend/ |
| VerifyDiagnosticConsumer.h | 232 llvm::PointerIntPair<const FileEntry *, 1, bool> Data; 235 : Data(File, FoundDirectives) {} 236 const FileEntry *getFile() const { return Data.getPointer(); } 237 bool foundDirectives() const { return Data.getInt(); }
|
| /external/clang/include/clang/Sema/ |
| TemplateDeduction.h | 180 /// \brief Opaque pointer containing additional data about 182 void *Data;
|
| /external/clang/lib/Basic/ |
| FileManager.cpp | 141 UDE->Name = NamedDirEnt.first().data(); 186 const char *InterndDirName = NamedDirEnt.first().data(); 189 FileData Data; 190 if (getStatValue(InterndDirName, Data, false, nullptr /*directory lookup*/)) { 201 DirectoryEntry &UDE = UniqueRealDirs[Data.UniqueID]; 233 const char *InterndFileName = NamedFileEnt.first().data(); 254 FileData Data; 255 if (getStatValue(InterndFileName, Data, true, openFile ? &F : nullptr)) { 267 FileEntry &UFE = UniqueRealFiles[Data.UniqueID]; 273 if (Data.Name != Filename) [all...] |
| /external/clang/lib/CodeGen/ |
| CGDebugInfo.h | 446 /// \return debug info descriptor to describe in-class static data 448 /// is an out-of-class definition of a static data member of a 519 char *Data = DebugInfoNames.Allocate<char>(A.size() + B.size()); 521 std::memcpy(Data, A.data(), A.size()); 523 std::memcpy(Data + A.size(), B.data(), B.size()); 524 return StringRef(Data, A.size() + B.size());
|
| ObjectFilePCHContainerOperations.cpp | 220 auto &SerializedAST = Buffer->Data; 224 auto *Data = llvm::ConstantDataArray::getString( 225 *VMContext, StringRef(SerializedAST.data(), Size), 228 *M, Ty, /*constant*/ true, llvm::GlobalVariable::InternalLinkage, Data,
|
| /external/clang/lib/Edit/ |
| EditedSource.cpp | 57 SmallString<128> Data; 58 return copyString(twine.toStringRef(Data)); 350 assert((end + 1 != buffer.size() || buffer.data()[end + 1] == 0) && 354 /*right=*/buffer.data()[end + 1], // zero-terminated
|
| /external/clang/lib/Sema/ |
| CodeCompleteConsumer.cpp | 255 SmallString<128> Data; 256 StringRef Ref = String.toStringRef(Data); 277 // data pointer will be non-null. 278 if (CachedParentName.data() != nullptr) 310 // Assign an empty StringRef but with non-null data to distinguish 334 = new (Mem) CodeCompletionString(Chunks.data(), Chunks.size(), 336 Annotations.data(), Annotations.size(),
|
| /external/clang/lib/Serialization/ |
| ASTReaderInternals.h | 52 data_type &Data; 55 data_type_builder(data_type &D) : Data(D) {} 58 if (Found.empty() && !Data.empty()) { 59 if (Data.size() <= 4) { 63 Data.push_back(ID); 68 Found.insert(Data.begin(), Data.end()); 72 Data.push_back(ID); 105 To.Data.reserve(To.Data.size() + From.size()) [all...] |
| MultiOnDiskHashTable.h | 10 // This file provides a hash table data structure suitable for incremental and 61 llvm::DenseMap<internal_key_type, data_type> Data; 146 data_type_builder ValueBuilder(Merged->Data[Key]); 181 /// \brief Add the table \p Data loaded from file \p File. 182 void add(file_type File, storage_type Data, Info InfoObj = Info()) { 184 storage_type Ptr = Data; 200 storage_type Buckets = Data + BucketOffset; 207 Buckets, Ptr, Data, std::move(InfoObj)); 225 auto It = M->Data.find(Key); 226 if (It != M->Data.end() [all...] |
| /external/clang/test/SemaCXX/ |
| cxx1y-variable-templates_in_class.cpp | 45 template<typename T, typename T0> CONST T B2::right = T(100); // expected-error {{static data member 'right' already has an initializer}} 46 template<typename T> CONST T B2::right<T,int> = T(5); // expected-error {{static data member 'right' already has an initializer}} 75 template<typename T> static T wrong_inst_defined = T(10); // expected-error {{non-const static data member must be initialized out of line}} 83 template int A::wrong_inst_defined<int>; // expected-note {{in instantiation of static data member 'non_const_init::A::wrong_inst_defined<int>' requested here}} 90 template<typename T> static T wrong_inst<T*> = T(100); // expected-error {{non-const static data member must be initialized out of line}} expected-note {{refers here}} 99 template int B::wrong_inst<int*>; // expected-note {{in instantiation of static data member 'non_const_init::B::wrong_inst<int *>' requested here}} 114 template<typename U> static U Data; 115 template<typename U> static CONST U Data<U*> = U(); // expected-note {{here}} 120 const int c0_test = C0::Data<int*>; 122 template const int C0::Data<int*>; // expected-error {{undefined} [all...] |
| references.cpp | 103 char *Data;
|
| /external/compiler-rt/lib/ubsan/ |
| ubsan_handlers.cc | 44 static void handleTypeMismatchImpl(TypeMismatchData *Data, ValueHandle Pointer, 46 Location Loc = Data->Loc.acquire(); 51 else if (Data->Alignment && (Pointer & (Data->Alignment - 1))) 56 // Use the SourceLocation from Data to track deduplication, even if it's 62 if (Data->Loc.isInvalid()) { 72 << TypeCheckKinds[Data->TypeCheckKind] << Data->Type; 77 << TypeCheckKinds[Data->TypeCheckKind] << (void *)Pointer 78 << Data->Alignment << Data->Type [all...] |
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
| CompoundTransliteratorTest.java | 157 String Data[]={ 175 for(int i=0; i<Data.length; i+=3){ 177 ct2=Transliterator.getInstance(Data[i+0]); 179 errln("FAIL: CompoundTransliterator construction failed for " + Data[i+0]); 182 expect(ct2, Data[i+1], Data[i+2]);
|
| /external/icu/icu4c/source/test/intltest/ |
| cpdtrtst.cpp | 370 UnicodeString Data[]={ 388 for(i=0; i<sizeof(Data)/sizeof(Data[0]); i=i+3){ 391 CompoundTransliterator *ct2=new CompoundTransliterator(Data[i+0], parseError, status); 393 dataerrln("CompoundTransliterator construction failed for " + Data[i+0] + " - " + u_errorName(status)); 395 expect(*ct2, Data[i+1], Data[i+2]);
|
| /external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
| CompoundTransliteratorTest.java | 153 String Data[]={ 171 for(int i=0; i<Data.length; i+=3){ 173 ct2=Transliterator.getInstance(Data[i+0]); 175 errln("FAIL: CompoundTransliterator construction failed for " + Data[i+0]); 178 expect(ct2, Data[i+1], Data[i+2]);
|
| /external/jhead/ |
| iptc.c | 2 // Process IPTC data and XMP data. 45 // - IPTC Data which consists of a number of entries, each of which has the following format: 49 // - entry data 'entry length' bytes 52 void show_IPTC (unsigned char* Data, unsigned int itemlen) 58 unsigned char * pos = Data + sizeof(short); // position data pointer after length field 59 unsigned char * maxpos = Data+itemlen; 66 pos += sizeof(IptcSig1); // move data pointer to the next field 69 pos += sizeof(IptcSig2)-1; // move data pointer to the next fiel [all...] |
| jpgfile.c | 47 static void process_COM (const uchar * Data, int length) 59 ch = Data[a]; 61 if (ch == '\r' && Data[a+1] == '\n') continue; // Remove cr followed by lf. 84 static void process_SOFn (const uchar * Data, int marker) 88 data_precision = Data[2]; 89 ImageInfo.Height = Get16m(Data+3); 90 ImageInfo.Width = Get16m(Data+5); 91 num_components = Data[7]; 120 ErrFatal("could not allocate data for entire image"); 143 uchar * Data; [all...] |