HomeSort by relevance Sort by last modified time
    Searched refs:Instance (Results 1 - 25 of 220) sorted by null

1 2 3 4 5 6 7 8 9

  /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; }
  /art/tools/ahat/test/
InstanceUtilsTest.java 19 import com.android.tools.perflib.heap.Instance;
30 Instance str = (Instance)dump.getDumpedThing("basicString");
37 Instance str = (Instance)dump.getDumpedThing("charArray");
44 Instance str = (Instance)dump.getDumpedThing("basicString");
51 Instance str = (Instance)dump.getDumpedThing("charArray");
58 Instance str = (Instance)dump.getDumpedThing("basicString")
    [all...]
NativeAllocationTest.java 19 import com.android.tools.perflib.heap.Instance;
32 Instance referent = (Instance)dump.getDumpedThing("anObject");
  /art/tools/ahat/src/
DominatedList.java 20 import com.android.tools.perflib.heap.Instance;
27 * Class for rendering a list of instances dominated by a single instance in a
42 Doc doc, Query query, String id, Collection<Instance> instances) {
43 List<Instance> insts = new ArrayList<Instance>(instances);
48 private static class TableConfig implements HeapTable.TableConfig<Instance> {
61 public long getSize(Instance element, Heap heap) {
67 public List<HeapTable.ValueConfig<Instance>> getValueConfigs() {
68 HeapTable.ValueConfig<Instance> value = new HeapTable.ValueConfig<Instance>() {
    [all...]
InstanceUtils.java 22 import com.android.tools.perflib.heap.Instance;
32 * Returns true if the given instance is an instance of a class with the
35 private static boolean isInstanceOfClass(Instance inst, String className) {
41 * Read the byte[] value from an hprof Instance.
42 * Returns null if the instance is not a byte array.
44 private static byte[] asByteArray(Instance inst) {
65 * Read the string value from an hprof Instance.
68 public static String asString(Instance inst) {
73 * Read the string value from an hprof Instance
    [all...]
AhatSnapshot.java 21 import com.android.tools.perflib.heap.Instance;
49 // Map from Instance to the list of Instances it immediately dominates.
50 private final Map<Instance, List<Instance>> mDominated
51 = new HashMap<Instance, List<Instance>>();
54 private final List<Instance> mRooted = new ArrayList<Instance>();
59 private final Map<Instance, Collection<RootType>> mRoots
60 = new HashMap<Instance, Collection<RootType>>()
    [all...]
Sort.java 19 import com.android.tools.perflib.heap.Instance;
37 * Compare instances by their instance id.
40 public static class InstanceById implements Comparator<Instance> {
42 public int compare(Instance a, Instance b) {
53 public static class InstanceByTotalRetainedSize implements Comparator<Instance> {
55 public int compare(Instance a, Instance b) {
66 public static class InstanceByHeapRetainedSize implements Comparator<Instance> {
78 public int compare(Instance a, Instance b)
    [all...]
ObjectsHandler.java 19 import com.android.tools.perflib.heap.Instance;
42 List<Instance> insts = new ArrayList<Instance>();
43 for (Instance inst : site.getObjects()) {
58 SubsetSelector<Instance> selector = new SubsetSelector(query, OBJECTS_ID, insts);
59 for (Instance inst : selector.selected()) {
Value.java 20 import com.android.tools.perflib.heap.Instance;
33 * Create a DocString representing a summary of the given instance.
35 private static DocString renderInstance(AhatSnapshot snapshot, Instance inst) {
67 Instance referent = InstanceUtils.getReferent(inst);
88 Instance bitmap = InstanceUtils.getAssociatedBitmapInstance(inst);
101 if (val instanceof Instance) {
102 return renderInstance(snapshot, (Instance)val);
ObjectHandler.java 24 import com.android.tools.perflib.heap.Instance;
55 Instance inst = mSnapshot.findInstance(id);
161 Doc doc, Query query, AhatSnapshot snapshot, Instance inst) {
167 List<Instance> references = inst.getHardReferences();
168 SubsetSelector<Instance> selector = new SubsetSelector(query, HARD_REFS_ID, references);
169 for (Instance ref : selector.selected()) {
179 List<Instance> references = inst.getSoftReferences();
180 SubsetSelector<Instance> selector = new SubsetSelector(query, SOFT_REFS_ID, references);
181 for (Instance ref : selector.selected()) {
189 private void printAllocationSite(Doc doc, Query query, Instance inst)
    [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...]
Instance.java 21 * An instance represents a sample if the label is available or a query if the
24 class Instance {
41 // the id of the instance
44 private Instance(long id, float[] sample, String sampleName) {
66 * create a learning instance for a single stroke gesture
70 * @return the instance
72 static Instance createInstance(int sequenceType, int orientationType, Gesture gesture, String label) {
74 Instance instance; local
77 instance = new Instance(gesture.getID(), pts, label)
    [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) {
  /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, \
  /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...]
  /external/webrtc/webrtc/base/
profiler_unittest.cc 32 ASSERT_TRUE(Profiler::Instance()->Clear());
36 const ProfilerEvent* event = Profiler::Instance()->GetEvent(function_name);
58 ASSERT_TRUE(Profiler::Instance()->Clear());
61 event1 = Profiler::Instance()->GetEvent(kEvent1Name);
74 event2 = Profiler::Instance()->GetEvent(kEvent2Name);
104 ASSERT_TRUE(Profiler::Instance()->Clear());
106 EXPECT_FALSE(Profiler::Instance()->Clear());
107 EXPECT_TRUE(Profiler::Instance()->GetEvent("event") != NULL);
109 EXPECT_TRUE(Profiler::Instance()->Clear());
110 EXPECT_EQ(NULL, Profiler::Instance()->GetEvent("event"))
    [all...]
profiler.h 59 rtc::Profiler::Instance()->ReportAllToLog(__FILE__, __LINE__, sev)
64 rtc::Profiler::Instance()->ReportToLog(__FILE__, __LINE__, sev, prefix)
67 #define PROFILE_START(msg) rtc::Profiler::Instance()->StartEvent(msg)
68 #define PROFILE_STOP(msg) rtc::Profiler::Instance()->StopEvent(msg)
129 static Profiler* Instance();
146 Profiler::Instance()->StartEvent(event_name_);
149 Profiler::Instance()->StopEvent(event_name_);
  /cts/suite/audio_quality/executable/src/
main.cpp 42 Settings::Instance()->getSetting(Settings::EREPORT_FILE).getPathDir();
94 if (Settings::Instance() == NULL) {
100 Settings::Instance()->addSetting(Settings::EADB, strSerial);
102 if (Log::Instance(dirName.string()) == NULL) {
106 Log::Instance()->setLogLevel((Log::LogLevel)logLevel);
108 if (Report::Instance(dirName.string()) == NULL) {
120 if (!client->init(Settings::Instance()->getSetting(Settings::EADB))) {
130 Settings::Instance()->addSetting(Settings::EDEVICE_INFO, deviceInfo);
138 Settings::Instance()->addSetting(Settings::ETEST_XML, xmlFile);
  /external/clang/test/SemaCXX/
vtable-instantiation.cpp 36 static Target<T> Instance;
40 Target<T> Provider<T>::Instance; // expected-note{{in instantiation of}}
44 Target<int*>* traits = &Provider<int*>::Instance; // expected-note{{requested here}}
  /hardware/intel/common/wrs_omxil_core/core/src/
pv_omx_interface.cpp 43 static PVOMXInterface* Instance()
79 return PVOMXInterface::Instance();
  /hardware/intel/common/wrs_omxil_core/utils/inc/
thread.h 49 static void *Instance(void *);
  /system/vold/
NetlinkManager.h 43 static NetlinkManager *Instance();
  /frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
LVPSA_Memory.c 31 /* hInstance = Instance handle Returns the memory requirements and */
32 /* allocated base addresses for the instance */
37 /* When the function is called for free (hInstance = Instance Handle) the memory */
41 /* hInstance Instance Handle */
43 /* InitParams Pointer to the instance init parameters */
56 INST_ALLOC Instance;
63 InstAlloc_Init( &Instance , LVM_NULL);
105 * Instance memory
108 InstAlloc_AddMember( &Instance, sizeof(LVPSA_InstancePr_t) );
109 InstAlloc_AddMember( &Instance, pInitParams->nBands * sizeof(LVM_UINT16) )
    [all...]
LVPSA_Init.c 31 /* phInstance Pointer to pointer to the instance */
54 INST_ALLOC Instance;
88 InstAlloc_Init( &Instance , pMemoryTable->Region[LVPSA_MEMREGION_INSTANCE].pBaseAddress);
94 /* Set the instance handle if not already initialised */
97 *phInstance = InstAlloc_AddMember( &Instance, sizeof(LVPSA_InstancePr_t) );
145 pLVPSA_Inst->pPostGains = InstAlloc_AddMember( &Instance, pInitParams->nBands * sizeof(LVM_UINT16) );
146 pLVPSA_Inst->pFiltersParams = InstAlloc_AddMember( &Instance, pInitParams->nBands * sizeof(LVPSA_FilterParam_t) );
147 pLVPSA_Inst->pSpectralDataBufferStart = InstAlloc_AddMember( &Instance, pInitParams->nBands * pLVPSA_Inst->SpectralDataBufferLength * sizeof(LVM_UINT8) );
148 pLVPSA_Inst->pPreviousPeaks = InstAlloc_AddMember( &Instance, pInitParams->nBands * sizeof(LVM_UINT8) );
149 pLVPSA_Inst->pBPFiltersPrecision = InstAlloc_AddMember( &Instance, pInitParams->nBands * sizeof(LVPSA_BPFilterPrecision_en) )
    [all...]
  /external/clang/examples/PrintFunctionNames/
PrintFunctionNames.cpp 27 CompilerInstance &Instance;
31 PrintFunctionsConsumer(CompilerInstance &Instance,
33 : Instance(Instance), ParsedTemplates(ParsedTemplates) {}
46 if (!Instance.getLangOpts().DelayedTemplateParsing)
70 clang::Sema &sema = Instance.getSema();

Completed in 765 milliseconds

1 2 3 4 5 6 7 8 9