/external/chromium_org/third_party/skia/include/core/ |
SkRefCnt.h | 21 objects. When an existing owner wants to share a reference, it calls ref(). 65 void ref() const { function in class:SkRefCntBase 107 * Called when the ref count goes to 0. 134 null in on each side of the assignment, and ensuring that ref() is called 139 if (src) src->ref(); \ 145 /** Call obj->ref() and return obj. The obj must not be NULL. 149 obj->ref(); 153 /** Check if the argument is non-null, and if so, call obj->ref() and return obj. 157 obj->ref(); 215 * cannot be deleted, and makes ref and unref private [all...] |
/external/chromium_org/third_party/skia/tests/ |
DrawTextTest.cpp | 27 /** Assumes that the ref draw was completely inside ref canvas -- 30 ref is "bgColor". 32 static bool compare(const SkBitmap& ref, const SkIRect& iref, 38 SkAutoLockPixels alpRef(ref); 47 if (refX >= 0 && refX < ref.width() && 48 refY >= 0 && refY < ref.height()) 50 refColor = ref.getColor(refX, refY);
|
FontHostStreamTest.cpp | 32 /** Assumes that the ref draw was completely inside ref canvas -- 35 ref is "bgColor". 37 static bool compare(const SkBitmap& ref, const SkIRect& iref, 43 SkAutoLockPixels alpRef(ref); 52 if (refX >= 0 && refX < ref.width() && 53 refY >= 0 && refY < ref.height()) 55 refColor = ref.getColor(refX, refY);
|
/external/clang/test/Analysis/ |
reference.cpp | 19 char& ref(); 23 ref() = 'c'; 36 char& r = ref(); 122 clang_analyzer_eval(&ref() != 0); // expected-warning{{TRUE}} 166 extern void use(int &ref);
|
/external/mesa3d/src/gallium/drivers/nv50/ |
nv50_winsys.h | 30 struct nouveau_bufref *ref = local 32 ref->priv = res; 33 ref->priv_data = flags; 45 struct nouveau_pushbuf_refn ref = { bo, flags }; local 46 nouveau_pushbuf_refn(push, &ref, 1);
|
/art/runtime/ |
reference_table.cc | 166 mirror::Object* ref = entries[idx].Read(); local 167 if (ref == NULL) { 170 if (ref == kClearedJniWeakGlobal) { 174 if (ref->GetClass() == NULL) { 176 size_t size = ref->SizeOf(); 177 os << StringPrintf(" %5d: %p (raw) (%zd bytes)\n", idx, ref, size); 181 std::string className(PrettyTypeOf(ref)); 184 size_t element_count = GetElementCount(ref); 187 } else if (ref->GetClass()->IsStringClass()) { 188 mirror::String* s = const_cast<mirror::Object*>(ref)->AsString() [all...] |
/development/perftests/panorama/feature_stab/src/dbregtest/ |
dbregtest.cpp | 155 PgmImage ref(file_name); 157 if ( ref.GetDataPointer() == NULL ) 163 cout << ref << endl; 166 int format = ref.GetFormat(); 171 w = ref.GetWidth(); 172 h = ref.GetHeight(); 185 color_ref = ref; 189 ref.ConvertToGray(); 202 reg.AddFrame(ref.GetRowPointers(),H,false,false); 215 reg.UpdateReference(ref.GetRowPointers()) [all...] |
/external/chromium_org/native_client_sdk/src/examples/api/file_io/ |
file_io.cc | 160 pp::FileRef ref(file_system_, file_name.c_str()); 164 file.Open(ref, 209 pp::FileRef ref(file_system_, file_name.c_str()); 213 file.Open(ref, PP_FILEOPENFLAG_READ, pp::BlockUntilComplete()); 262 pp::FileRef ref(file_system_, file_name.c_str()); 264 int32_t result = ref.Delete(pp::BlockUntilComplete()); 281 pp::FileRef ref(file_system_, dir_name.c_str()); 283 // Pass ref along to keep it alive. 284 ref.ReadDirectoryEntries(callback_factory_.NewCallbackWithOutput( 285 &FileIoInstance::ListCallback, ref)); [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
DebugInfoItem.java | 43 private final CstMethodRef ref; field in class:DebugInfoItem 45 public DebugInfoItem(DalvCode code, boolean isStatic, CstMethodRef ref) { 55 this.ref = ref; 80 "...while placing debug info for " + ref.toHuman()); 148 DebugInfoDecoder.validateEncode(result, file, ref, code, 183 file, codeSize, regSize, isStatic, ref);
|
/dalvik/dx/src/com/android/dx/dex/file/ |
DebugInfoItem.java | 40 private final CstMethodRef ref; field in class:DebugInfoItem 42 public DebugInfoItem(DalvCode code, boolean isStatic, CstMethodRef ref) { 52 this.ref = ref; 77 "...while placing debug info for " + ref.toHuman()); 145 DebugInfoDecoder.validateEncode(result, file, ref, code, 180 file, codeSize, regSize, isStatic, ref);
|
/external/clang/test/SemaCXX/ |
constructor-initializer.cpp | 170 T &ref; member in struct:NDC 173 NDC(T &ref) : ref(ref) { } 177 X0(int &ref) : NDC<int>(ref), ndc(ref) { }
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
DebugInfoItem.java | 41 private final CstMethodRef ref; field in class:DebugInfoItem 43 public DebugInfoItem(DalvCode code, boolean isStatic, CstMethodRef ref) { 53 this.ref = ref; 78 "...while placing debug info for " + ref.toHuman()); 146 DebugInfoDecoder.validateEncode(result, file, ref, code, 181 file, codeSize, regSize, isStatic, ref);
|
/external/emma/core/java12/com/vladium/util/ |
SoftValueMap.java | 11 import java.lang.ref.Reference; 12 import java.lang.ref.ReferenceQueue; 13 import java.lang.ref.SoftReference; 179 final Reference ref = entry.m_softValue; local 180 result = ref.get (); // may return null to the caller 185 ref.enqueue (); 195 final Reference ref = entry.m_softValue; local 196 result = ref.get (); // may return null to the caller 201 ref.enqueue (); 266 final IndexedSoftReference ref = currentKeyEntry.m_softValue local 322 final IndexedSoftReference ref = entry.m_softValue; local 490 IndexedSoftReference ref = entry.m_softValue; \/\/ get the soft value reference local [all...] |
/dalvik/tools/dexdeps/src/com/android/dexdeps/ |
Output.java | 105 ClassRef ref = classes[i]; local 107 out.println(descriptorToDot(ref.getName())); 120 FieldRef ref = fields[j]; local 122 out.println(descriptorToDot(ref.getDeclClassName()) + 123 "." + ref.getName() + " : " + ref.getTypeName()); 137 MethodRef ref = methods[j]; local 139 out.println(descriptorToDot(ref.getDeclClassName()) + 140 "." + ref.getName() + " : " + ref.getDescriptor()) [all...] |
/external/chromium_org/base/strings/ |
safe_sprintf_unittest.cc | 63 char ref[20], buf[20]; local 64 memset(ref, 'X', sizeof(char) * arraysize(buf)); 65 memcpy(buf, ref, sizeof(buf)); 69 EXPECT_TRUE(!memcmp(buf, ref, sizeof(buf))); 73 EXPECT_TRUE(!memcmp(buf, ref, sizeof(buf))); 78 EXPECT_TRUE(!memcmp(buf+1, ref+1, sizeof(buf)-1)); 79 memcpy(buf, ref, sizeof(buf)); 86 EXPECT_TRUE(!memcmp(buf+2, ref+2, sizeof(buf)-2)); 87 memcpy(buf, ref, sizeof(buf)); 94 EXPECT_TRUE(!memcmp(buf + sizeof(text), ref + sizeof(text) 127 char ref[20], buf[20]; local 425 char ref[256]; local 474 char ref[256]; local [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/x86/ |
vp9_sad4d_intrin_avx2.c | 15 uint8_t *ref[4], 24 ref0 = ref[0]; 25 ref1 = ref[1]; 26 ref2 = ref[2]; 27 ref3 = ref[3]; 39 // sum of the absolute differences between every ref-i to src 44 // sum every ref-i 85 uint8_t *ref[4], 96 ref0 = ref[0]; 97 ref1 = ref[1] [all...] |
vp9_variance_impl_intrin_avx2.c | 19 __m256i src, src_expand_low, src_expand_high, ref, ref_expand_low; local 36 ref =_mm256_castsi128_si256( 38 ref = _mm256_inserti128_si256(ref, 45 ref_expand_low = _mm256_unpacklo_epi8(ref, zero_reg); 46 ref_expand_high = _mm256_unpackhi_epi8(ref, zero_reg); 48 // src-ref 52 // madd low (src - ref) 58 // madd high (src - ref) 130 __m256i src, src_expand_low, src_expand_high, ref, ref_expand_low local [all...] |
/external/libvpx/libvpx/vp9/encoder/x86/ |
vp9_sad4d_intrin_avx2.c | 15 uint8_t *ref[4], 24 ref0 = ref[0]; 25 ref1 = ref[1]; 26 ref2 = ref[2]; 27 ref3 = ref[3]; 39 // sum of the absolute differences between every ref-i to src 44 // sum every ref-i 85 uint8_t *ref[4], 96 ref0 = ref[0]; 97 ref1 = ref[1] [all...] |
vp9_variance_impl_intrin_avx2.c | 19 __m256i src, src_expand_low, src_expand_high, ref, ref_expand_low; local 36 ref =_mm256_castsi128_si256( 38 ref = _mm256_inserti128_si256(ref, 45 ref_expand_low = _mm256_unpacklo_epi8(ref, zero_reg); 46 ref_expand_high = _mm256_unpackhi_epi8(ref, zero_reg); 48 // src-ref 52 // madd low (src - ref) 58 // madd high (src - ref) 130 __m256i src, src_expand_low, src_expand_high, ref, ref_expand_low local [all...] |
/external/chromium_org/third_party/skia/src/animator/ |
SkScriptRuntime.cpp | 65 size_t ref; local 91 memcpy(&ref, opCode, sizeof(ref)); 92 opCode += sizeof(ref); 94 if (callBackFunction->invoke(ref, operand[0].fArray, /* params */ 101 memcpy(&ref, opCode, sizeof(ref)); 102 opCode += sizeof(ref); 104 if (callBackMember->invoke(ref, operand[0].fObject, &operand[0]) == false) { 110 memcpy(&ref, opCode, sizeof(ref)) [all...] |
/external/libvpx/libvpx/vp9/common/ |
vp9_reconinter.c | 71 int w, int h, int ref, 74 sf->predict[subpel_x != 0][subpel_y != 0][ref]( 83 int w, int h, int ref, 97 sf, w, h, ref, kernel, sf->x_step_q4, sf->y_step_q4); 150 int ref; local 152 for (ref = 0; ref < 1 + is_compound; ++ref) { 153 const struct scale_factors *const sf = &xd->block_refs[ref]->sf; 154 struct buf_2d *const pre_buf = &pd->pre[ref]; 254 int ref; local [all...] |
/external/elfutils/0.153/libelf/ |
elf_begin.c | 916 dup_elf (int fildes, Elf_Cmd cmd, Elf *ref) 922 fildes = ref->fildes; 925 else if (unlikely (ref->fildes != -1 && fildes != ref->fildes)) 934 if (unlikely (ref->cmd != ELF_C_READ && ref->cmd != ELF_C_READ_MMAP 935 && ref->cmd != ELF_C_WRITE && ref->cmd != ELF_C_WRITE_MMAP 936 && ref->cmd != ELF_C_RDWR && ref->cmd != ELF_C_RDWR_MMA [all...] |
/external/apache-http/src/org/apache/http/impl/conn/tsccm/ |
AbstractConnPool.java | 34 import java.lang.ref.Reference; 35 import java.lang.ref.ReferenceQueue; 200 public void handleReference(Reference ref) { 205 if (ref instanceof BasicPoolEntryRef) { 209 final boolean lost = issuedConnections.remove(ref); 212 ((BasicPoolEntryRef)ref).getRoute();
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_wm_debug.c | 62 struct brw_wm_ref *ref ) 64 struct brw_reg hw_reg = ref->hw_reg; 66 if (ref->unspill_reg) 67 printf("UNSPILL(%x)/", ref->value->spill_slot); 70 brw_print_reg(ref->hw_reg); 74 brw_wm_print_value(c, ref->value);
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
stencil.c | 126 * \param ref front and back reference value. 136 _mesa_StencilFuncSeparateATI( GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask ) 156 ref = CLAMP( ref, 0, stencilMax ); 163 ctx->Stencil.Ref[0] == ref && 164 ctx->Stencil.Ref[1] == ref) 169 ctx->Stencil.Ref[0] = ctx->Stencil.Ref[1] = ref [all...] |