/frameworks/base/libs/hwui/utils/ |
D | SortedListImpl.cpp | 84 ssize_t SortedListImpl::merge(const VectorImpl& vector) { in merge() argument 86 if (!vector.isEmpty()) { in merge() 87 const void* buffer = vector.arrayImpl(); in merge() 89 size_t s = vector.size(); in merge() 100 ssize_t SortedListImpl::merge(const SortedListImpl& vector) { in merge() argument 103 if (!vector.isEmpty()) { in merge() 105 if (do_compare(vector.itemLocation(vector.size() - 1), arrayImpl()) <= 0) { in merge() 106 err = VectorImpl::insertVectorAt(static_cast<const VectorImpl&> (vector), 0); in merge() 107 } else if (do_compare(vector.arrayImpl(), itemLocation(size() - 1)) >= 0) { in merge() 108 err = VectorImpl::appendVector(static_cast<const VectorImpl&> (vector)); in merge() [all …]
|
D | SortedListImpl.h | 36 ssize_t merge(const VectorImpl& vector); 37 ssize_t merge(const SortedListImpl& vector); 52 ssize_t insertVectorAt(const VectorImpl& vector, size_t index); 53 ssize_t appendVector(const VectorImpl& vector);
|
/frameworks/base/tools/localize/ |
D | localize.h | 23 vector<string> apps; 24 vector<Reject> reject; 33 const vector<string>& configs); 34 int select_files(vector<string> *resFiles, const string& config, 36 int select_files(vector<vector<string> > *allResFiles, const vector<string>& configs,
|
D | XMLHandler.h | 37 static string Find(const vector<XMLAttribute>& list, 48 void AddToAttributes(vector<XMLAttribute>* attrs) const; 67 const vector<XMLAttribute>& attrs, int pretty); 90 inline const vector<XMLAttribute>& Attributes() const { return m_attrs; } in Attributes() 91 inline vector<XMLAttribute>& EditAttributes() { return m_attrs; } in EditAttributes() 92 inline const vector<XMLNode*>& Children() const { return m_children; } in Children() 93 inline vector<XMLNode*>& EditChildren() { return m_children; } in EditChildren() 94 vector<XMLNode*> GetElementsByName(const string& ns, const string& name) const; 118 vector<XMLAttribute> m_attrs; 119 vector<XMLNode*> m_children; [all …]
|
D | Perforce.h | 14 const vector<string>& apps, vector<string>* result, 19 static int EditFiles(const vector<string>& filename, bool printOnFailure); 20 static int AddFiles(const vector<string>& files, bool printOnFailure); 21 static int DeleteFiles(const vector<string>& files, bool printOnFailure);
|
D | localize.cpp | 36 vector<XMLNode*> configNodes = root->GetElementsByName("", "configuration"); in read_settings() 59 vector<XMLNode*> appNodes = configNode->GetElementsByName("", "app"); in read_settings() 76 vector<XMLNode*> rejectNodes = configNode->GetElementsByName("", "reject"); in read_settings() 130 const vector<Reject>& reject = settings.reject; in contains_reject() 207 const vector<string>& configs) in validate_configs() 218 select_files(vector<string> *resFiles, const string& config, in select_files() 222 vector<vector<string> > allResFiles; in select_files() 223 vector<string> configs; in select_files() 233 select_files(vector<vector<string> > *allResFiles, const vector<string>& configs, in select_files() 244 vector<string> resFiles; in select_files() [all …]
|
D | xmb.cpp | 40 vector<XMLAttribute>& attrs = node->EditAttributes(); in rename_id_attribute() 72 vector<XMLNode*>& children = node->EditChildren(); in convert_xliff_to_ph() 85 vector<XMLAttribute> attrs; in resource_to_xmb_msg() 99 for (vector<XMLNode*>::const_iterator it=value->Children().begin(); in resource_to_xmb_msg() 109 for (vector<XMLNode*>::iterator it=msg->EditChildren().begin(); in resource_to_xmb_msg() 122 do_xlb_export(const string& outfile, const vector<string>& resFiles) in do_xlb_export() 149 vector<XMLAttribute> attrs; in do_xlb_export()
|
D | XLIFFFile.cpp | 65 vector<XMLNode*> files = root->GetElementsByName(XLIFF_XMLNS, "file"); in Parse() 88 vector<XMLNode*> transUnits = body->GetElementsByName(XLIFF_XMLNS, "trans-unit"); in Parse() 169 for (vector<File>::const_iterator f = m_files.begin(); f != m_files.end(); f++) { in Files() 350 vector<XMLAttribute> attrs; in convert_html_to_xliff() 355 const vector<XMLNode*>& children = original->Children(); in convert_html_to_xliff() 370 vector<XMLAttribute> attrs; in convert_html_to_xliff() 401 const vector<XMLNode*>& children = original->Children(); in convert_html_to_xliff() 423 vector<XMLAttribute> attrs; in create_string_node() 427 const vector<XMLNode*>& children = str.value->Children(); in create_string_node() 461 vector<XMLAttribute> attrs; in ToXMLNode() [all …]
|
D | Perforce.cpp | 100 const vector<string>& apps, vector<string>* results, in GetResourceFileNames() 177 do_files(const string& op, const vector<string>& files, bool printOnFailure) in do_files() 193 Perforce::EditFiles(const vector<string>& files, bool printOnFailure) in EditFiles() 199 Perforce::AddFiles(const vector<string>& files, bool printOnFailure) in AddFiles() 205 Perforce::DeleteFiles(const vector<string>& files, bool printOnFailure) in DeleteFiles()
|
D | XMLHandler.cpp | 104 XMLNamespaceMap::AddToAttributes(vector<XMLAttribute>* attrs) const in AddToAttributes() 158 XMLAttribute::Find(const vector<XMLAttribute>& list, const string& ns, const string& name, in Find() 172 vector<XMLHandler*> stack; 174 vector<vector<XMLAttribute>*> attributes; 209 const vector<XMLAttribute>& attrs, int pretty) in NewElement() 306 vector<XMLAttribute> attrs = m_attrs; in open_tag_to_string() 393 vector<XMLNode*> 396 vector<XMLNode*> result; in GetElementsByName() 410 vector<XMLNode*> result; in GetElementByNameAt() 459 convert_attrs(const char** in, vector<XMLAttribute>* out) in convert_attrs() [all …]
|
D | ValuesFile.cpp | 32 const vector<XMLAttribute>& attrs, XMLHandler** next); 57 const vector<XMLAttribute>& attrs, XMLHandler** next) in OnStartElement() 94 const vector<XMLAttribute>& attrs, XMLHandler** next); 114 const vector<XMLAttribute>& attrs, XMLHandler** next) in OnStartElement() 217 vector<XMLAttribute> attrs; in ToXMLNode() 225 vector<XMLAttribute> arrayAttrs; in ToXMLNode() 245 vector<XMLAttribute> attrs; in ToXMLNode()
|
/frameworks/base/core/java/android/gesture/ |
D | InstanceLearner.java | 44 ArrayList<Prediction> classify(int sequenceType, int orientationType, float[] vector) { in classify() argument 51 if (sample.vector.length != vector.length) { in classify() 56 … distance = GestureUtils.minimumCosineDistance(sample.vector, vector, orientationType); in classify() 58 distance = GestureUtils.squaredEuclideanDistance(sample.vector, vector); in classify()
|
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
D | BitcodeReader.h | 41 std::vector<WeakVH> ValuePtrs; 50 typedef std::vector<std::pair<Constant*, unsigned> > ResolveConstantsTy; 100 std::vector<WeakVH> MDValuePtrs; 139 std::vector<Type*> TypeList; 144 std::vector<std::pair<GlobalVariable*, unsigned> > GlobalInits; 145 std::vector<std::pair<GlobalAlias*, unsigned> > AliasInits; 150 std::vector<AttrListPtr> MAttributes; 154 std::vector<BasicBlock*> FunctionBBs; 158 std::vector<Function*> FunctionsWithBodies; 162 typedef std::vector<std::pair<Function*, Function*> > UpgradedIntrinsicMap; [all …]
|
/frameworks/compile/slang/BitWriter_2_9/ |
D | ValueEnumerator.h | 38 typedef std::vector<Type*> TypeList; 41 typedef std::vector<std::pair<const Value*, unsigned> > ValueList; 56 std::vector<AttrListPtr> Attributes; 68 std::vector<const BasicBlock*> BasicBlocks; 117 const std::vector<const BasicBlock*> &getBasicBlocks() const { in getBasicBlocks() 120 const std::vector<AttrListPtr> &getAttributes() const { in getAttributes()
|
/frameworks/base/tools/aidl/ |
D | search_path.cpp | 10 static vector<string> g_importPaths; 13 set_import_paths(const vector<string>& importPaths) in set_import_paths() 32 vector<string>& paths = g_importPaths; 33 for (vector<string>::iterator it=paths.begin(); it!=paths.end(); it++) {
|
D | AST.h | 109 vector<Statement*> statements; 145 vector<Expression*> arguments; 146 vector<string> exceptions; 174 vector<Expression*> arguments; 276 vector<string> cases; 288 vector<Case*> cases; 302 vector<Variable*> parameters; 303 vector<Type*> exceptions; 325 vector<Type*> interfaces; 326 vector<ClassElement*> elements; [all …]
|
D | options.h | 20 vector<string> importPaths; 21 vector<string> preprocessedFiles; 28 vector<string> filesToPreprocess;
|
/frameworks/compile/slang/ |
D | slang.h | 90 const std::vector<std::string> &Features); 120 std::vector<std::string> mAdditionalDepTargets; 121 std::vector<std::string> mGeneratedFileNames; 130 std::vector<std::string> mIncludePaths; 162 const std::vector<std::string> &Features); 171 inline void setIncludePaths(const std::vector<std::string> &IncludePaths) { in setIncludePaths() 187 const std::vector<std::string> &AdditionalDepTargets) { in setAdditionalDepTargets()
|
/frameworks/compile/slang/tests/F_mix_vector/ |
D | stderr.txt.expect | 1 mix_vector.rs:6:13: error: illegal vector component name 'g' 2 mix_vector.rs:7:13: error: illegal vector component name 'y' 3 mix_vector.rs:8:7: error: illegal vector component name 'r'
|
/frameworks/base/libs/utils/ |
D | VectorImpl.cpp | 109 ssize_t VectorImpl::insertVectorAt(const VectorImpl& vector, size_t index) in insertVectorAt() argument 111 return insertArrayAt(vector.arrayImpl(), index, vector.size()); in insertVectorAt() 114 ssize_t VectorImpl::appendVector(const VectorImpl& vector) in appendVector() argument 116 return insertVectorAt(vector, size()); in appendVector() 567 ssize_t SortedVectorImpl::merge(const VectorImpl& vector) in merge() argument 570 if (!vector.isEmpty()) { in merge() 571 const void* buffer = vector.arrayImpl(); in merge() 573 size_t s = vector.size(); in merge() 584 ssize_t SortedVectorImpl::merge(const SortedVectorImpl& vector) in merge() argument 588 if (!vector.isEmpty()) { in merge() [all …]
|
/frameworks/base/opengl/tests/hwc/ |
D | hwcStress.cpp | 180 const vector<unsigned int> vecLayerFlags(layerFlags, 190 const vector<unsigned int> vecTransformFlags(transformFlags, 200 static vector <vector <sp<GraphicBuffer> > > frames; 205 template <class T> vector<T> vectorRandSelect(const vector<T>& vec, size_t num); 206 template <class T> T vectorOr(const vector<T>& vec); 421 vector <vector <sp<GraphicBuffer> > > selectedFrames; in main() 619 vector<T> vectorRandSelect(const vector<T>& vec, size_t num) in vectorRandSelect() 621 vector<T> rv = vec; in vectorRandSelect() 636 T vectorOr(const vector<T>& vec) in vectorOr()
|
/frameworks/compile/libbcc/lib/ExecutionEngine/ |
D | ScriptCompiled.h | 54 std::vector<std::string> mExportVarsName; 55 std::vector<std::string> mExportFuncsName; 125 void getExportVarNameList(std::vector<std::string> &varList); 127 void getExportFuncNameList(std::vector<std::string> &funcList); 139 std::vector<char const *> const & getUserDefinedExternalSymbols() const { in getUserDefinedExternalSymbols()
|
D | Script.h | 76 std::vector<char const *> mUserDefinedExternalSymbols; 112 std::vector<char const *> const &getUserDefinedExternalSymbols() const { in getUserDefinedExternalSymbols() 143 void getExportVarNameList(std::vector<std::string> &list); 145 void getExportFuncNameList(std::vector<std::string> &list);
|
D | MCCacheWriter.h | 38 std::vector<std::pair<char const *, size_t> > mStringPool; 52 std::vector<std::string> varNameList; 53 std::vector<std::string> funcNameList;
|
/frameworks/base/include/utils/ |
D | VectorImpl.h | 69 ssize_t insertVectorAt(const VectorImpl& vector, size_t index); 70 ssize_t appendVector(const VectorImpl& vector); 159 ssize_t merge(const VectorImpl& vector); 160 ssize_t merge(const SortedVectorImpl& vector); 187 ssize_t insertVectorAt(const VectorImpl& vector, size_t index); 188 ssize_t appendVector(const VectorImpl& vector);
|