/external/clang/test/Analysis/diagnostics/ |
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/deqp/framework/delibs/debase/ |
deInt32Test.c | 150 deUint32 ref = (deUint32)(((1.0f / (double)val) * (double)(1<<DE_RCP_FRAC_BITS)) * (double)(1u<<numBits)); local 154 DE_TEST_ASSERT(rcp >= ref-EPS && rcp < ref+EPS);
|
/external/deqp/framework/delibs/deutil/ |
deCommandLine.c | 164 const char* ref[] = { "hello" }; local 165 testParse(cmdLine, ref, DE_LENGTH_OF_ARRAY(ref)); 169 const char* ref[] = { "hello", "world" }; local 170 testParse(cmdLine, ref, DE_LENGTH_OF_ARRAY(ref)); 174 const char* ref[] = { "hello/world" }; local 175 testParse(cmdLine, ref, DE_LENGTH_OF_ARRAY(ref)); 179 const char* ref[] = { "hello/world", "--help" } local 184 const char* ref[] = { "hello\/world", "--help", "foo" }; local 189 const char* ref[] = { "hello\\\\world", "--help", "foo" }; local 194 const char* ref[] = { "hello\/worl d", "--help", "--foo=bar", "ba z\\"" }; local 199 const char* ref[] = { "hello\/worl d", "--help", "--foo=bar", "ba z'" }; local 204 const char* ref[] = { "hello", "'world'" }; local 209 const char* ref[] = { "hello", "\\"world\\"" }; local 214 const char* ref[] = { "hello", "world\\n" }; local [all...] |
/external/drm_hwcomposer/ |
platformnv.h | 44 atomic_int ref; member in struct:android::NvImporter::NvBuffer
|
/external/dtc/tests/ |
references.c | 33 uint32_t ref; local 36 p = fdt_getprop(fdt, node, "ref", &len); 38 FAIL("fdt_getprop(%d, \"ref\"): %s", node, fdt_strerror(len)); 40 FAIL("'ref' in node at %d has wrong size (%d instead of %zd)", 42 ref = fdt32_to_cpu(*p); 43 if (ref != checkref) 44 FAIL("'ref' in node at %d has value 0x%x instead of 0x%x", 45 node, ref, checkref); 53 ref = fdt32_to_cpu(*p); 54 if (ref != checkref 62 uint32_t ref; local [all...] |
/external/eigen/test/ |
qtvector.cpp | 51 MatrixType* ref = &w[0]; local 52 for(int i=0; i<30 || ((ref==&w[0]) && i<300); ++i) 86 TransformType* ref = &w[0]; local 87 for(int i=0; i<30 || ((ref==&w[0]) && i<300); ++i) 121 QuaternionType* ref = &w[0]; local 122 for(int i=0; i<30 || ((ref==&w[0]) && i<300); ++i)
|
stddeque_overload.cpp | 54 MatrixType* ref = &w[0]; local 55 for(int i=0; i<30 || ((ref==&w[0]) && i<300); ++i) 88 TransformType* ref = &w[0]; local 89 for(int i=0; i<30 || ((ref==&w[0]) && i<300); ++i) 122 QuaternionType* ref = &w[0]; local 123 for(int i=0; i<30 || ((ref==&w[0]) && i<300); ++i)
|
stdlist_overload.cpp | 76 MatrixType* ref = &(*get(w, 0)); local 77 for(int i=0; i<30 || ((ref==&(*get(w, 0))) && i<300); ++i) 116 TransformType* ref = &(*get(w, 0)); local 117 for(int i=0; i<30 || ((ref==&(*get(w, 0))) && i<300); ++i) 156 QuaternionType* ref = &(*get(w, 0)); local 157 for(int i=0; i<30 || ((ref==&(*get(w, 0))) && i<300); ++i)
|
stdvector.cpp | 41 MatrixType* ref = &w[0]; local 42 for(int i=0; i<30 || ((ref==&w[0]) && i<300); ++i) 76 TransformType* ref = &w[0]; local 77 for(int i=0; i<30 || ((ref==&w[0]) && i<300); ++i) 111 QuaternionType* ref = &w[0]; local 112 for(int i=0; i<30 || ((ref==&w[0]) && i<300); ++i)
|
stdvector_overload.cpp | 55 MatrixType* ref = &w[0]; local 56 for(int i=0; i<30 || ((ref==&w[0]) && i<300); ++i) 90 TransformType* ref = &w[0]; local 91 for(int i=0; i<30 || ((ref==&w[0]) && i<300); ++i) 125 QuaternionType* ref = &w[0]; local 126 for(int i=0; i<30 || ((ref==&w[0]) && i<300); ++i)
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
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; local 49 if (ref != null) { 50 Map<K, V> map = ref.get(); 60 Reference<Map<K, V>> ref = cacheRef; local 62 if (ref != null) { 63 map = ref.get(); 68 ref = new WeakReference<Map<K, V>>(map) [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/ |
SimpleCache.java | 12 import java.lang.ref.Reference; 13 import java.lang.ref.SoftReference; 14 import java.lang.ref.WeakReference; 43 Reference<Map<K, V>> ref = cacheRef; local 44 if (ref != null) { 45 Map<K, V> map = ref.get(); 54 Reference<Map<K, V>> ref = cacheRef; local 56 if (ref != null) { 57 map = ref.get(); 62 ref = new WeakReference<Map<K, V>>(map) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
SimpleCache.java | 12 import java.lang.ref.Reference; 13 import java.lang.ref.SoftReference; 14 import java.lang.ref.WeakReference; 44 Reference<Map<K, V>> ref = cacheRef; local 45 if (ref != null) { 46 Map<K, V> map = ref.get(); 56 Reference<Map<K, V>> ref = cacheRef; local 58 if (ref != null) { 59 map = ref.get(); 64 ref = new WeakReference<Map<K, V>>(map) [all...] |
/external/libchrome/base/strings/ |
stringprintf_unittest.cc | 117 char* ref = new char[kRefSize]; local 119 sprintf_s(ref, kRefSize, fmt, src, src, src, src, src, src, src); 121 snprintf(ref, kRefSize, fmt, src, src, src, src, src, src, src); 124 EXPECT_STREQ(ref, out.c_str()); 125 delete[] ref;
|
/external/libcxx/test/std/containers/sequences/deque/deque.modifiers/ |
emplace_back.pass.cpp | 55 typedef typename C::reference Ref; 56 Ref ref = c1.emplace_back(Emplaceable(1, 2.5)); local 66 assert(&(*i) == &ref);
|
/external/libcxx/test/std/experimental/filesystem/class.rec.dir.itr/rec.dir.itr.members/ |
copy_assign.pass.cpp | 133 recursive_directory_iterator& ref = (it2 = it); local 134 TEST_CHECK(&ref == &it2);
|
move_assign.pass.cpp | 146 recursive_directory_iterator& ref = (it2 = std::move(it)); local 147 TEST_CHECK(&ref == &it2);
|
/external/libdrm/tegra/ |
private.h | 48 atomic_t ref; member in struct:drm_tegra_bo
|
/external/libvpx/libvpx/test/ |
comp_avg_pred_test.cc | 31 void reference_pred(const uint8_t *pred, const Buffer<uint8_t> &ref, int width, 36 pred[y * width + x], ref.TopLeftPixel()[y * ref.stride() + x]); 75 // The sse2 special-cases when ref width == stride, so make sure to test 81 Buffer<uint8_t> ref = local 85 ref.Set(&rnd_, &ACMRandom::Rand8); 87 reference_pred(pred, ref, width, height, avg_ref); 89 avg_chk, pred, width, height, ref.TopLeftPixel(), ref.stride())); 100 Buffer<uint8_t> ref = Buffer<uint8_t>(width, height, 8) local 129 Buffer<uint8_t> ref = local [all...] |
user_priv_test.cc | 76 struct vp9_ref_frame ref; local 78 ref.idx = rnd.Rand8() % 3; 79 decoder.Control(VP9_GET_REFERENCE, &ref); 81 CheckUserPrivateData(ref.img.user_priv, NULL);
|
/external/libvpx/libvpx/vpx_dsp/ |
add_noise.c | 26 const int8_t *ref = (const int8_t *)(noise + (rand() & 0xff)); // NOLINT local 35 pos[j] = v + ref[j];
|
/external/llvm/lib/IR/ |
Use.cpp | 43 const UserRef *ref = reinterpret_cast<const UserRef *>(End); local 44 return ref->getInt() ? ref->getPointer()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_wm_pass1.c | 55 static void unlink_ref(struct brw_wm_ref *ref) 57 struct brw_wm_value *value = ref->value; 59 if (ref == value->lastuse) { 60 value->lastuse = ref->prevuse; 64 while (i->prevuse != ref) i = i->prevuse; 65 i->prevuse = ref->prevuse; 77 struct brw_wm_ref *ref = inst->src[arg][i]; local 78 if (ref) { 80 ref->value->contributes_to_output = 1; 83 unlink_ref(ref); [all...] |
/external/skia/bench/ |
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 = new SkRefCnt() variable 143 SkWeakRefCnt ref; variable 175 PlacedWeakRefCnt* ref = new (memory) PlacedWeakRefCnt(); variable 201 SkWeakRefCnt* ref = new SkWeakRefCnt(); variable [all...] |
/external/skia/include/gpu/ |
GrProgramElement.h | 17 * Note: We are converting GrProcessor from ref counting to a single owner model using move 21 * a client to being scheduled for execution. While a GrProcessor is ref'ed by drawing code its 22 * GrGpu resources must also be ref'ed to prevent incorrectly recycling them through the cache. 23 * However, once the GrProcessor is baked into a GrPipeline and the drawing code has stopped ref'ing 26 * We track this using two types of refs on GrProgramElement. A regular ref is owned by any client 30 * While a GrProgramElement is ref'ed any resources it owns are also ref'ed. However, once it gets 51 void ref() const { function in class:GrProgramElement 53 // Once the ref cnt reaches zero it should never be ref'ed again [all...] |