/external/clang/test/CodeGenCXX/ |
reference-in-block-args.cpp | 11 void OUTER_BLOCK(void (^fixer)(ST& ref)) { 12 ST ref = {2, 100}; local 13 fixer(ref); 21 OUTER_BLOCK(^(ST &ref) { 22 INNER_BLOCK(^() { return ref.referrer + ref.filler; });
|
vla.cpp | 22 // CHECK-NEXT: [[REF:%.*]] = alloca i16*, align 8 37 // CHECK-NEXT: store i16* [[T1]], i16** [[REF]], align 8 38 array_t &ref = *(array_t*) array; local 40 // CHECK-NEXT: [[T0:%.*]] = load i16*, i16** [[REF]] 45 ref[1][2] = 3; 47 // CHECK-NEXT: [[T0:%.*]] = load i16*, i16** [[REF]] 53 short s = ref[4][5];
|
/external/mockito/src/main/java/org/mockito/internal/invocation/mockref/ |
MockStrongReference.java | 12 private final T ref; field in class:MockStrongReference 15 public MockStrongReference(T ref, boolean deserializeAsWeakRef) { 16 this.ref = ref; 22 return ref; 27 return new MockWeakReference<T>(ref);
|
MockWeakReference.java | 9 import java.lang.ref.WeakReference; 17 private final WeakReference<T> ref; field in class:MockWeakReference 20 this.ref = new WeakReference<T>(t); 29 T ref = this.ref.get(); local 31 if (ref == null) { 42 return ref;
|
/external/libxml2/ |
triop.h | 20 * The ref pointer is an opaque type and should remain as such. 90 TRIO_CONST char *trio_get_format TRIO_PROTO((trio_pointer_t ref)); 91 trio_pointer_t trio_get_argument TRIO_PROTO((trio_pointer_t ref)); 94 int trio_get_width TRIO_PROTO((trio_pointer_t ref)); 95 void trio_set_width TRIO_PROTO((trio_pointer_t ref, int width)); 96 int trio_get_precision TRIO_PROTO((trio_pointer_t ref)); 97 void trio_set_precision TRIO_PROTO((trio_pointer_t ref, int precision)); 98 int trio_get_base TRIO_PROTO((trio_pointer_t ref)); 99 void trio_set_base TRIO_PROTO((trio_pointer_t ref, int base)); 100 int trio_get_padding TRIO_PROTO((trio_pointer_t ref)); [all...] |
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
Reference.java | 20 * Reference represents a reference from 'src' to 'ref' through 'field'. 28 public final AhatInstance ref; field in class:Reference 31 public Reference(AhatInstance src, String field, AhatInstance ref, Reachability reachability) { 34 this.ref = ref;
|
/external/skia/bench/ |
RefCntBench.cpp | 30 SkRefCnt ref; variable 32 ref.ref(); 33 ref.unref(); 65 PlacedRefCnt* ref = new (memory) PlacedRefCnt(); variable 67 ref->ref(); 68 ref->unref(); 70 ref->unref(); 91 SkRefCnt* ref = new SkRefCnt() variable 119 SkWeakRefCnt ref; variable 151 PlacedWeakRefCnt* ref = new (memory) PlacedWeakRefCnt(); variable 177 SkWeakRefCnt* ref = new SkWeakRefCnt(); variable [all...] |
/external/skqp/bench/ |
RefCntBench.cpp | 30 SkRefCnt ref; variable 32 ref.ref(); 33 ref.unref(); 65 PlacedRefCnt* ref = new (memory) PlacedRefCnt(); variable 67 ref->ref(); 68 ref->unref(); 70 ref->unref(); 91 SkRefCnt* ref = new SkRefCnt() variable 119 SkWeakRefCnt ref; variable 151 PlacedWeakRefCnt* ref = new (memory) PlacedWeakRefCnt(); variable 177 SkWeakRefCnt* ref = new SkWeakRefCnt(); variable [all...] |
/external/llvm/include/llvm/Support/ |
CBindingWrapping.h | 20 #define DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \ 21 inline ty *unwrap(ref P) { \ 25 inline ref wrap(const ty *P) { \ 26 return reinterpret_cast<ref>(const_cast<ty*>(P)); \ 29 #define DEFINE_ISA_CONVERSION_FUNCTIONS(ty, ref) \ 30 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \ 33 inline T *unwrap(ref P) { \ 37 #define DEFINE_STDCXX_CONVERSION_FUNCTIONS(ty, ref) \ 38 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \ 41 inline T *unwrap(ref P) { [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
CBindingWrapping.h | 20 #define DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \ 21 inline ty *unwrap(ref P) { \ 25 inline ref wrap(const ty *P) { \ 26 return reinterpret_cast<ref>(const_cast<ty*>(P)); \ 29 #define DEFINE_ISA_CONVERSION_FUNCTIONS(ty, ref) \ 30 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \ 33 inline T *unwrap(ref P) { \ 37 #define DEFINE_STDCXX_CONVERSION_FUNCTIONS(ty, ref) \ 38 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \ 41 inline T *unwrap(ref P) { [all...] |
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
CBindingWrapping.h | 20 #define DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \ 21 inline ty *unwrap(ref P) { \ 25 inline ref wrap(const ty *P) { \ 26 return reinterpret_cast<ref>(const_cast<ty*>(P)); \ 29 #define DEFINE_ISA_CONVERSION_FUNCTIONS(ty, ref) \ 30 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \ 33 inline T *unwrap(ref P) { \ 37 #define DEFINE_STDCXX_CONVERSION_FUNCTIONS(ty, ref) \ 38 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \ 41 inline T *unwrap(ref P) { [all...] |
/external/google-breakpad/src/client/mac/Framework/ |
Breakpad.h | 231 // Uninstall and release the data associated with |ref|. 232 void BreakpadRelease(BreakpadRef ref); 239 void BreakpadSetFilterCallback(BreakpadRef ref, 262 void BreakpadSetKeyValue(BreakpadRef ref, NSString *key, NSString *value); 263 NSString *BreakpadKeyValue(BreakpadRef ref, NSString *key); 264 void BreakpadRemoveKeyValue(BreakpadRef ref, NSString *key); 270 void BreakpadAddUploadParameter(BreakpadRef ref, NSString *key, 275 void BreakpadRemoveUploadParameter(BreakpadRef ref, NSString *key); 278 void BreakpadAddLogFile(BreakpadRef ref, NSString *logPathname); 281 void BreakpadGenerateAndSendReport(BreakpadRef ref); [all...] |
/external/google-breakpad/src/client/ios/ |
Breakpad.h | 160 // Uninstall and release the data associated with |ref|. 161 void BreakpadRelease(BreakpadRef ref); 182 void BreakpadSetKeyValue(BreakpadRef ref, NSString *key, NSString *value); 183 NSString *BreakpadKeyValue(BreakpadRef ref, NSString *key); 184 void BreakpadRemoveKeyValue(BreakpadRef ref, NSString *key); 190 void BreakpadAddUploadParameter(BreakpadRef ref, NSString *key, 195 void BreakpadRemoveUploadParameter(BreakpadRef ref, NSString *key); 200 int BreakpadGetCrashReportCount(BreakpadRef ref); 203 NSDictionary *BreakpadGetNextReportConfiguration(BreakpadRef ref); 206 void BreakpadUploadNextReport(BreakpadRef ref); [all...] |
/external/tensorflow/tensorflow/core/lib/core/ |
refcount_test.cc | 42 MyRef* ref = new MyRef; local 45 ref->Unref(); 51 MyRef* ref = new MyRef; local 54 ref->Ref(); 56 ref->Unref(); 58 ref->Unref(); 63 MyRef* ref = new MyRef; local 64 ASSERT_TRUE(ref->RefCountIsOne()); 65 ref->Unref() 69 MyRef* ref = new MyRef; local 89 MyRef* ref = new MyRef; local [all...] |
/art/runtime/ |
read_barrier-inl.h | 49 // the is_gray load to the ref field (ptr) load to avoid needing a load-load barrier between 58 MirrorType* ref = ref_addr->template AsMirrorPtr<kIsVolatile>(); local 59 MirrorType* old_ref = ref; 62 ref = reinterpret_cast<MirrorType*>(Mark(ref)); 65 if (kAlwaysUpdateField && ref != old_ref) { 68 ref, 73 AssertToSpaceInvariant(obj, offset, ref); 74 return ref; 79 MirrorType* ref = ref_addr->template AsMirrorPtr<kIsVolatile>() local 109 MirrorType* ref = *root; local 157 MirrorType* ref = root->AsMirrorPtr(); local [all...] |
/external/libvpx/libvpx/vpx_dsp/x86/ |
avg_pred_sse2.c | 19 int height, const uint8_t *ref, int ref_stride) { 28 const __m128i r = _mm_loadu_si128((const __m128i *)(ref + x)); 34 ref += ref_stride; 40 // all divisible by 16 so just ref needs to be massaged when loading. 46 r = _mm_loadu_si128((const __m128i *)ref); 47 ref += 16; 49 r = _mm_set_epi32(loadu_uint32(ref + 3 * ref_stride), 50 loadu_uint32(ref + 2 * ref_stride), 51 loadu_uint32(ref + ref_stride), loadu_uint32(ref)); [all...] |
/external/apache-http/src/org/apache/http/impl/conn/tsccm/ |
RefQueueHandler.java | 33 import java.lang.ref.Reference; 49 * @param ref the reference to handle 51 public void handleReference(Reference<?> ref)
|
/external/compiler-rt/test/profile/Inputs/ |
instrprof-icall-promo_2.cc | 2 extern int ref(A *); 9 return ref(ap);
|
/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;
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/ |
ATokPtr.cpp | 39 void ANTLRTokenPtr::ref() const
function in class:ANTLRTokenPtr 42 ptr_->ref();
70 lhs.ref(); // protect against "xp = xp"; ie same underlying object
78 addr->ref();
|
/external/mockito/src/test/java/org/mockitousage/bugs/creation/ |
PublicMethodInParentWithNonPublicTypeInSignatureTest.java | 15 private Object ref; field in class:PublicMethodInParentWithNonPublicTypeInSignatureTest 19 ref = new PublicClass(); 24 ref = Mockito.mock(PublicClass.class);
|
/external/mesa3d/src/gallium/state_trackers/clover/util/ |
pointer.hpp | 66 ref_holder(const ref_holder &ref) : 67 ref_holder(*ref.p) { 70 ref_holder(ref_holder &&ref) : 71 p(ref.p) { 72 ref.p = NULL; 81 operator=(ref_holder ref) { 82 std::swap(ref.p, p); 87 operator==(const ref_holder &ref) const { 88 return p == ref.p; 92 operator!=(const ref_holder &ref) const [all...] |
/art/runtime/gc/ |
reference_queue.cc | 34 void ReferenceQueue::AtomicEnqueueIfNotEnqueued(Thread* self, ObjPtr<mirror::Reference> ref) { 35 DCHECK(ref != nullptr); 37 if (ref->IsUnprocessed()) { 38 EnqueueReference(ref); 42 void ReferenceQueue::EnqueueReference(ObjPtr<mirror::Reference> ref) { 43 DCHECK(ref != nullptr); 44 CHECK(ref->IsUnprocessed()); 46 // 1 element cyclic queue, ie: Reference ref = ..; ref.pendingNext = ref; 61 ObjPtr<mirror::Reference> ref = list_->GetPendingNext<kWithoutReadBarrier>(); local 136 ObjPtr<mirror::Reference> ref = DequeuePendingReference(); local 158 ObjPtr<mirror::FinalizerReference> ref = DequeuePendingReference()->AsFinalizerReference(); local 185 ObjPtr<mirror::Reference> ref = head; local [all...] |
/external/compiler-rt/test/BlocksRuntime/ |
byrefsanity.c | 55 struct byref_id *ref; member in struct:Block_basic2 64 struct byref_id *ref = bb->ref; local 65 if (ref->forwarding != ref) { 66 printf("forwarding pointer should be %p but is %p\n", ref, ref->forwarding);
|
/external/tensorflow/tensorflow/python/ops/ |
state_ops.py | 117 def is_variable_initialized(ref, name=None): 123 ref: A mutable `Tensor`. 130 if ref.dtype._is_ref_dtype: 131 return gen_state_ops.is_variable_initialized(ref=ref, name=name) 133 return ref.is_initialized(name=name) 137 def assign_sub(ref, value, use_locking=None, name=None): 138 """Update 'ref' by subtracting 'value' from it. 140 This operation outputs "ref" after the update is done. 144 ref: A mutable `Tensor`. Must be one of the following types [all...] |