/external/clang/test/CodeGenCXX/ |
H A D | reference-in-block-args.cpp | 11 void OUTER_BLOCK(void (^fixer)(ST& ref)) { argument 12 ST ref = {2, 100}; local 13 fixer(ref); 21 OUTER_BLOCK(^(ST &ref) { 22 INNER_BLOCK(^() { return ref.referrer + ref.filler; });
|
H A D | vla.cpp | 38 array_t &ref = *(array_t*) array; local 45 ref[1][2] = 3; 53 short s = ref[4][5];
|
/external/mockito/src/main/java/org/mockito/internal/invocation/mockref/ |
H A D | MockStrongReference.java | 12 private final T ref; field in class:MockStrongReference 15 public MockStrongReference(T ref, boolean deserializeAsWeakRef) { argument 16 this.ref = ref; 22 return ref; 27 return new MockWeakReference<T>(ref);
|
H A D | 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(); 31 if (ref == null) { 42 return ref;
|
/external/libxml2/ |
H A D | 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...] |
/external/mesa3d/src/gallium/state_trackers/clover/util/ |
H A D | pointer.hpp | 66 ref_holder(const ref_holder &ref) : argument 67 ref_holder(*ref.p) { 70 ref_holder(ref_holder &&ref) : argument 71 p(ref.p) { 72 ref.p = NULL; 81 operator=(ref_holder ref) { argument 82 std::swap(ref.p, p); 87 operator==(const ref_holder &ref) const { 88 return p == ref.p; 92 operator!=(const ref_holder &ref) cons 180 intrusive_ref(const intrusive_ref &ref) argument 184 intrusive_ref(intrusive_ref &&ref) argument 195 operator =(intrusive_ref ref) argument [all...] |
/external/llvm/include/llvm/Support/ |
H A D | 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 [all...] |
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
H A D | 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 [all...] |
/external/google-breakpad/src/client/mac/Framework/ |
H A D | 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/ |
H A D | 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/ |
H A D | 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 local 89 MyRef* ref = new MyRef; local [all...] |
/external/tensorflow/tensorflow/python/ops/ |
H A D | state_ops.py | 172 def is_variable_initialized(ref, name=None): 178 ref: A mutable `Tensor`. 185 if ref.dtype._is_ref_dtype: 186 return gen_state_ops.is_variable_initialized(ref=ref, name=name) 188 if context.in_eager_mode() or ref.op.type == "VarHandleOp": 189 return gen_resource_variable_ops.var_is_initialized_op(ref.handle, 194 def assign_sub(ref, value, use_locking=None, name=None): 195 """Update 'ref' by subtracting 'value' from it. 197 This operation outputs "ref" afte [all...] |
/external/libvpx/libvpx/vpx_dsp/x86/ |
H A D | avg_pred_sse2.c | 18 int height, const uint8_t *ref, int ref_stride) { 27 const __m128i r = _mm_loadu_si128((const __m128i *)(ref + x)); 33 ref += ref_stride; 39 // divisible by 16 so just ref needs to be massaged when loading. 45 r = _mm_loadu_si128((const __m128i *)ref); 46 ref += 16; 48 r = _mm_set_epi32(*(const uint32_t *)(ref + 3 * ref_stride), 49 *(const uint32_t *)(ref + 2 * ref_stride), 50 *(const uint32_t *)(ref + ref_stride), 51 *(const uint32_t *)(ref)); 17 vpx_comp_avg_pred_sse2(uint8_t *comp, const uint8_t *pred, int width, int height, const uint8_t *ref, int ref_stride) argument [all...] |
/external/apache-http/src/org/apache/http/impl/conn/tsccm/ |
H A D | RefQueueHandler.java | 33 import java.lang.ref.Reference; 49 * @param ref the reference to handle 51 public void handleReference(Reference<?> ref) argument
|
/external/compiler-rt/test/profile/Inputs/ |
H A D | instrprof-icall-promo_2.cc | 2 extern int ref(A *); 9 return ref(ap);
|
/external/mesa3d/src/gallium/drivers/nouveau/ |
H A D | nouveau_fence.h | 26 int ref; member in struct:nouveau_fence 46 nouveau_fence_ref(struct nouveau_fence *fence, struct nouveau_fence **ref) argument 49 ++fence->ref; 51 if (*ref) { 52 if (--(*ref)->ref == 0) 53 nouveau_fence_del(*ref); 56 *ref = fence;
|
/external/mockito/src/test/java/org/mockitousage/bugs/creation/ |
H A D | PublicMethodInParentWithNonPublicTypeInSignatureTest.java | 15 private Object ref; field in class:PublicMethodInParentWithNonPublicTypeInSignatureTest 19 ref = new PublicClass(); 24 ref = Mockito.mock(PublicClass.class);
|
/external/compiler-rt/test/BlocksRuntime/ |
H A D | 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/skia/bench/ |
H A D | RefCntBench.cpp | 54 SkRefCnt ref; variable 56 ref.ref(); 57 ref.unref(); 89 PlacedRefCnt* ref = new (memory) PlacedRefCnt(); variable 91 ref->ref(); 92 ref->unref(); 94 ref->unref(); 115 SkRefCnt* ref variable 143 SkWeakRefCnt ref; variable 175 PlacedWeakRefCnt* ref = new (memory) PlacedWeakRefCnt(); variable 201 SkWeakRefCnt* ref = new SkWeakRefCnt(); variable [all...] |
/external/skqp/bench/ |
H A D | RefCntBench.cpp | 54 SkRefCnt ref; variable 56 ref.ref(); 57 ref.unref(); 89 PlacedRefCnt* ref = new (memory) PlacedRefCnt(); variable 91 ref->ref(); 92 ref->unref(); 94 ref->unref(); 115 SkRefCnt* ref variable 143 SkWeakRefCnt ref; variable 175 PlacedWeakRefCnt* ref = new (memory) PlacedWeakRefCnt(); variable 201 SkWeakRefCnt* ref = new SkWeakRefCnt(); variable [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
H A D | SharedObject.java | 102 private T ref; field in class:SharedObject.Reference 105 ref = r; 121 if(ref != null) { 122 ref.addRef(); 127 public T readOnly() { return ref; } 136 T r = ref; 141 ref = r2; 147 if(ref != null) { 148 ref.removeRef(); 149 ref [all...] |
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
H A D | SharedObject.java | 100 private T ref; field in class:SharedObject.Reference 103 ref = r; 119 if(ref != null) { 120 ref.addRef(); 125 public T readOnly() { return ref; } 134 T r = ref; 139 ref = r2; 145 if(ref != null) { 146 ref.removeRef(); 147 ref [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_bld_alpha.c | 55 LLVMValueRef ref, 78 ref = lp_build_clamp(&bld, ref, bld.zero, bld.one); 81 ref = lp_build_clamped_float_to_unsigned_norm(gallivm, type, dst_width, ref); 87 test = lp_build_cmp(&bld, func, alpha, ref); 49 lp_build_alpha_test(struct gallivm_state *gallivm, unsigned func, struct lp_type type, const struct util_format_description *cbuf_format_desc, struct lp_build_mask_context *mask, LLVMValueRef alpha, LLVMValueRef ref, boolean do_branch) argument
|
/external/clang/test/Analysis/diagnostics/ |
H A D | deref-track-symbolic-region.cpp | 19 int &ref = *ptr; // expected-note {{'ref' initialized here}} local 25 extern void use(int &ref); 26 use(ref); // expected-warning{{Forming reference to null pointer}}
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
H A D | SimpleCache.java | 13 import java.lang.ref.Reference; 14 import java.lang.ref.SoftReference; 15 import java.lang.ref.WeakReference; 48 Reference<Map<K, V>> ref = cacheRef; 49 if (ref != null) { 50 Map<K, V> map = ref.get(); 60 Reference<Map<K, V>> ref = cacheRef; 62 if (ref != null) { 63 map = ref.get(); 68 ref [all...] |