/prebuilts/python/linux-x86/2.7.5/include/python2.7/ |
weakrefobject.h | 63 PyAPI_FUNC(PyObject *) PyWeakref_GetObject(PyObject *ref); variable 76 #define PyWeakref_GET_OBJECT(ref) \ 77 (Py_REFCNT(((PyWeakReference *)(ref))->wr_object) > 0 \ 78 ? ((PyWeakReference *)(ref))->wr_object \
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/ |
ExtractStringDescriptor.java | 63 ExtractStringRefactoring ref = new ExtractStringRefactoring(mArguments); local 64 return ref;
|
ExtractStringWizard.java | 35 * @param ref The instance of {@link ExtractStringRefactoring} to associate to the wizard. 39 public ExtractStringWizard(ExtractStringRefactoring ref, IProject project) { 40 super(ref, DIALOG_BASED_USER_INTERFACE | PREVIEW_EXPAND_FIRST_NODE); 42 setDefaultPageTitle(ref.getName());
|
/system/extras/simpleperf/ |
IOEventLoop_test.cpp | 162 IOEventRef ref = loop.AddReadEvent(fd[0], [&]() { local 164 return IOEventLoop::DelEvent(ref); 166 ASSERT_NE(nullptr, ref); 187 IOEventRef ref = loop.AddWriteEvent(fd[1], [&]() { local 189 return IOEventLoop::DisableEvent(ref); 191 ASSERT_NE(nullptr, ref); 203 return IOEventLoop::EnableEvent(ref);
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/contexts/ |
LambdaExprContextResolutionTest.java | 67 Optional<Value> ref = context.solveSymbolAsValue("p", typeSolver); local 68 assertTrue(ref.isPresent()); 69 assertEquals("? super java.lang.String", ref.get().getType().describe()); 87 Optional<Value> ref = context.solveSymbolAsValue("p", typeSolver); local 88 assertTrue(ref.isPresent()); 89 assertEquals("java.lang.String", ref.get().getType().describe()); 108 Optional<Value> ref = context.solveSymbolAsValue("p", typeSolver); local 109 assertTrue(ref.isPresent()); 110 assertEquals("java.lang.String", ref.get().getType().describe());
|
MethodCallExprContextResolutionTest.java | 73 Optional<MethodUsage> ref = context.solveMethodAsUsage("foo", Collections.emptyList(), typeSolver); local 74 assertTrue(ref.isPresent()); 75 assertEquals("MethodCalls", ref.get().declaringType().getQualifiedName()); 94 Optional<MethodUsage> ref = context.solveMethodAsUsage(callMethodName, Collections.emptyList(), typeSolver); local 95 assertTrue(ref.isPresent()); 96 assertEquals("MethodCalls", ref.get().declaringType().getQualifiedName()); 97 assertEquals(Collections.singletonList("java.lang.Integer"), ref.get().typeParametersMap().getTypes().stream().map(ty -> ty.asReferenceType().describe()).collect(Collectors.toList())); 121 Optional<MethodUsage> ref = context.solveMethodAsUsage(callMethodName, argumentsTypes, typeSolver); local 122 assertTrue(ref.isPresent()); 123 assertEquals("MethodCalls", ref.get().declaringType().getQualifiedName()) [all...] |
MethodContextResolutionTest.java | 56 SymbolReference<ResolvedTypeDeclaration> ref = context.solveType("LocalClass", new MemoryTypeSolver()); local 57 assertEquals(true, ref.isSolved());
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/ |
SoftReferenceTest.java | 17 package org.apache.harmony.tests.java.lang.ref; 19 import java.lang.ref.Reference; 20 import java.lang.ref.ReferenceQueue; 21 import java.lang.ref.SoftReference; 23 import libcore.java.lang.ref.FinalizationTester; 34 * java.lang.ref.SoftReference#SoftReference(java.lang.Object, 35 * java.lang.ref.ReferenceQueue) 58 * java.lang.ref.SoftReference#SoftReference(java.lang.Object) 72 * java.lang.ref.SoftReference#get() 102 Reference ref; local [all...] |
/libcore/ojluni/src/main/java/sun/nio/ch/ |
FileLockTable.java | 31 import java.lang.ref.*; 184 FileLockReference ref = list.get(index); local 185 FileLock lock = ref.get(); 188 ref.clear(); 205 FileLockReference ref = list.get(index); local 206 FileLock lock = ref.get(); 211 ref.clear(); 236 FileLockReference ref = list.get(index); local 237 FileLock lock = ref.get(); 239 ref.clear() 261 FileLockReference ref; local [all...] |
/art/libartbase/base/ |
transform_iterator_test.cc | 249 auto ref = [](const ValueHolder& h) -> const int& { return h.value; }; local 253 using vector_titer = decltype(MakeTransformIterator(input.begin(), ref)); 260 using vector_ctiter = decltype(MakeTransformIterator(input.cbegin(), ref)); 267 using vector_rtiter = decltype(MakeTransformIterator(input.rbegin(), ref)); 274 using vector_crtiter = decltype(MakeTransformIterator(input.crbegin(), ref)); 281 std::copy(MakeTransformIterator(input.begin(), ref), 282 MakeTransformIterator(input.end(), ref), 287 std::copy(MakeTransformIterator(input.cbegin(), ref), 288 MakeTransformIterator(input.cend(), ref), 293 std::copy(MakeTransformIterator(input.rbegin(), ref), 342 auto ref = [](ValueHolder& h) -> int& { return h.value; }; local 410 Ref ref; local 522 auto ref = [](ValueHolder& h) -> int& { return h.value; }; local [all...] |
/art/runtime/ |
read_barrier-inl.h | 50 // the is_gray load to the ref field (ptr) load to avoid needing a load-load barrier between 59 MirrorType* ref = ref_addr->template AsMirrorPtr<kIsVolatile>(); local 60 MirrorType* old_ref = ref; 63 ref = reinterpret_cast<MirrorType*>(Mark(ref)); 66 if (kAlwaysUpdateField && ref != old_ref) { 68 offset, old_ref, ref); 71 AssertToSpaceInvariant(obj, offset, ref); 72 return ref; 77 MirrorType* ref = ref_addr->template AsMirrorPtr<kIsVolatile>() local 104 MirrorType* ref = *root; local 152 MirrorType* ref = root->AsMirrorPtr(); local [all...] |
/art/test/004-NativeAllocations/src-art/ |
Main.java | 18 import java.lang.ref.ReferenceQueue; 19 import java.lang.ref.PhantomReference; 27 // Save ref as a static field to ensure it doesn't get GC'd before the 29 static PhantomReference ref = null; field in class:Main 55 ref = allocPhantom(queue); 57 for (int i = 0; !ref.isEnqueued() && i < allocationCount; ++i) {
|
/art/tools/veridex/ |
precise_hidden_api_finder.cc | 59 MethodReference ref) { 62 concrete_uses_[ref].push_back(info); 64 abstract_uses_[ref].push_back(info); 100 MethodReference ref = it.first; local 107 named_uses[full_name].push_back(ref); 119 for (const MethodReference& ref : it.second) { 120 os << kPrefix << HiddenApi::GetApiMethodName(ref) << std::endl;
|
/external/apache-http/src/org/apache/http/impl/conn/tsccm/ |
RefQueueWorker.java | 33 import java.lang.ref.Reference; 34 import java.lang.ref.ReferenceQueue; 107 Reference<?> ref = refQueue.remove(); local 108 refHandler.handleReference(ref);
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
DTMNodeIterator.java | 21 package org.apache.xml.dtm.ref;
|
ExtendedType.java | 21 package org.apache.xml.dtm.ref;
|
SecuritySupport.java | 22 package org.apache.xml.dtm.ref;
|
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/ |
p6-0x.cpp | 26 typedef T &ref; // expected-error-re 2{{reference to function type '{{.*}}' cannot have '{{&|&&}}' qualifier}} typedef in struct:wrap 37 using func_type_lvalue_ref = wrap<>::ref; 38 using func_type_lvalue_ref = wrap<func_type_lvalue>::ref; 39 using func_type_rvalue_ref = wrap<func_type_rvalue>::ref;
|
/external/clang/test/CodeGen/ |
pragma-pack-1.c | 5 struct ref { struct 6 struct ref *next;
|
/external/eigen/test/ |
commainitializer.cpp | 80 Matrix3d ref = Map<Matrix<double,3,3,RowMajor> >(data); local 84 VERIFY_IS_APPROX(m3, ref ); 92 VERIFY_IS_APPROX(m3, ref); 101 VERIFY_IS_APPROX(m3, ref);
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/reflectionmodel/ |
SymbolResolutionResolutionTest.java | 46 ResolvedType ref = JavaParserFacade.get(typeSolver).getType(field); local 47 assertEquals("int", ref.describe()); 57 ResolvedType ref = JavaParserFacade.get(typeSolver).getType(field.getInitializer().get()); local 58 assertEquals("int", ref.describe()); 70 ResolvedType ref = JavaParserFacade.get(typeSolver).getType(expression); local 71 assertEquals("java.lang.String", ref.describe()); 82 ResolvedType ref = JavaParserFacade.get(typeSolver).getType(expression); local 83 assertEquals("java.lang.String", ref.describe());
|
/external/libedit/src/ |
hist.h | 52 void * ref; /* Argument for history fcns */ member in struct:el_history_t 58 ((((*(el)->el_history.fun) ((el)->el_history.ref, &(el)->el_history.ev, \
|
/external/libvpx/libvpx/test/ |
comp_avg_pred_test.cc | 30 void reference_pred(const Buffer<uint8_t> &pred, const Buffer<uint8_t> &ref, 36 ref.TopLeftPixel()[y * ref.stride() + x]); 63 // The sse2 special-cases when ref width == stride, so make sure to test 69 Buffer<uint8_t> ref = local 71 ASSERT_TRUE(ref.Init()); 79 ref.Set(&rnd_, &ACMRandom::Rand8); 82 reference_pred(pred, ref, width, height, &avg_ref); 85 height, ref.TopLeftPixel(), ref.stride())) 101 Buffer<uint8_t> ref = Buffer<uint8_t>(width, height, 8); local 137 Buffer<uint8_t> ref = local [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
nv50_ir_target_nvc0.cpp | 398 const ValueRef& ref = insn->src(s); local 399 if (ref.getFile() == FILE_MEMORY_CONST &&
|
/external/mesa3d/src/gallium/drivers/nouveau/ |
nouveau_fence.h | 26 int ref; member in struct:nouveau_fence 46 nouveau_fence_ref(struct nouveau_fence *fence, struct nouveau_fence **ref) 49 ++fence->ref; 51 if (*ref) { 52 if (--(*ref)->ref == 0) 53 nouveau_fence_del(*ref); 56 *ref = fence;
|