Home
last modified time | relevance | path

Searched refs:p (Results 1 – 25 of 110) sorted by relevance

12345

/art/libartbase/base/
Dmemory_tool.h34 # define MEMORY_TOOL_MAKE_NOACCESS(p, s) __asan_poison_memory_region(p, s) argument
35 # define MEMORY_TOOL_MAKE_UNDEFINED(p, s) __asan_unpoison_memory_region(p, s) argument
36 # define MEMORY_TOOL_MAKE_DEFINED(p, s) __asan_unpoison_memory_region(p, s) argument
39 # define MEMORY_TOOL_MAKE_NOACCESS(p, s) do { (void)(p); (void)(s); } while (0)
40 # define MEMORY_TOOL_MAKE_UNDEFINED(p, s) do { (void)(p); (void)(s); } while (0)
41 # define MEMORY_TOOL_MAKE_DEFINED(p, s) do { (void)(p); (void)(s); } while (0)
56 # define MEMORY_TOOL_MAKE_NOACCESS(p, s) do { (void)(p); (void)(s); } while (0)
57 # define MEMORY_TOOL_MAKE_UNDEFINED(p, s) do { (void)(p); (void)(s); } while (0)
58 # define MEMORY_TOOL_MAKE_DEFINED(p, s) do { (void)(p); (void)(s); } while (0)
81 static inline PtrType* HWASanUntag(PtrType* p) { in HWASanUntag() argument
[all …]
Dutils.cc239 const char* p = s.data(); in Split() local
240 const char* end = p + s.size(); in Split()
241 while (p != end) { in Split()
242 if (*p == separator) { in Split()
243 ++p; in Split()
245 const char* start = p; in Split()
246 while (++p != end && *p != separator) { in Split()
249 result->push_back(std::string(start, p - start)); in Split()
/art/test/660-checker-simd-sad/src/
DSimdSadByte.java38 byte p = b2[i]; in sadByte2ByteAlt()
39 sad += s >= p ? s - p : p - s; in sadByte2ByteAlt()
49 byte p = b2[i]; in sadByte2ByteAlt2()
50 int x = s - p; in sadByte2ByteAlt2()
71 byte p = b2[i]; in sadByte2ShortAlt()
72 sad += s >= p ? s - p : p - s; in sadByte2ShortAlt()
82 byte p = b2[i]; in sadByte2ShortAlt2()
83 int x = s - p; in sadByte2ShortAlt2()
148 byte p = b2[i]; in sadByte2IntAlt()
149 sad += s >= p ? s - p : p - s; in sadByte2IntAlt()
[all …]
DSimdSadInt.java73 int p = y[i]; in sadInt2IntAlt() local
74 sad += s >= p ? s - p : p - s; in sadInt2IntAlt()
104 int p = y[i]; in sadInt2IntAlt2() local
105 int m = s - p; in sadInt2IntAlt2()
143 long p = y[i]; in sadInt2Long() local
144 sad += Math.abs(s - p); in sadInt2Long()
180 long p = y[i]; in sadInt2LongAt1() local
181 sad += Math.abs(s - p); in sadInt2LongAt1()
DSimdSadChar.java40 char p = s2[i]; in sadChar2CharAlt() local
41 sad += s >= p ? s - p : p - s; in sadChar2CharAlt()
51 char p = s2[i]; in sadChar2CharAlt2() local
52 int x = s - p; in sadChar2CharAlt2()
101 char p = s2[i]; in sadChar2IntAlt() local
102 sad += s >= p ? s - p : p - s; in sadChar2IntAlt()
126 char p = s2[i]; in sadChar2IntAlt2() local
127 int x = s - p; in sadChar2IntAlt2()
DSimdSadShort2.java40 short p = (short) s2[i]; in sadCastedChar2ShortAlt() local
41 sad += s >= p ? s - p : p - s; in sadCastedChar2ShortAlt()
51 short p = (short) s2[i]; in sadCastedChar2ShortAlt2() local
52 int x = s - p; in sadCastedChar2ShortAlt2()
150 short p = (short) s2[i]; in sadCastedChar2IntAlt() local
151 sad += s >= p ? s - p : p - s; in sadCastedChar2IntAlt()
200 short p = (short) s2[i]; in sadCastedChar2IntAlt2() local
201 int x = s - p; in sadCastedChar2IntAlt2()
DSimdSadShort.java42 short p = s2[i]; in sadShort2ShortAlt() local
43 sad += s >= p ? s - p : p - s; in sadShort2ShortAlt()
53 short p = s2[i]; in sadShort2ShortAlt2() local
54 int x = s - p; in sadShort2ShortAlt2()
119 short p = s2[i]; in sadShort2IntAlt() local
120 sad += s >= p ? s - p : p - s; in sadShort2IntAlt()
152 short p = s2[i]; in sadShort2IntAlt2() local
153 int x = s - p; in sadShort2IntAlt2()
DSimdSadLong.java78 long p = y[i]; in sadLong2LongAlt() local
79 sad += s >= p ? s - p : p - s; in sadLong2LongAlt()
113 long p = y[i]; in sadLong2LongAlt2() local
114 long m = s - p; in sadLong2LongAlt2()
/art/test/952-invoke-custom/src/
DTestBase.java75 static void assertEquals(Object o, Object p) { in assertEquals() argument
76 if (!Objects.equals(o, p)) { in assertEquals()
77 throw new AssertionError("assertEquals: o1: " + o + ", o2: " + p); in assertEquals()
81 static void assertNotEquals(Object o, Object p) { in assertNotEquals() argument
82 if (Objects.equals(o, p)) { in assertNotEquals()
83 throw new AssertionError("assertNotEquals: o1: " + o + ", o2: " + p); in assertNotEquals()
/art/build/
Dart.go195 p := &props{}
196 p.Cflags, p.Asflags = globalFlags(ctx)
197 p.Target.Android.Cflags = deviceFlags(ctx)
198 p.Target.Host.Cflags = hostFlags(ctx)
201 p.Cflags = append(p.Cflags, "-DART_DEX_FILE_ACCESS_TRACKING")
202 p.Sanitize.Recover = []string{
207 ctx.AppendProperties(p)
215 p := &props{}
216 p.Cflags = debugFlags(ctx)
217 ctx.AppendProperties(p)
[all …]
/art/libdexfile/dex/
Dutf.cc103 for (const char *p = in_start; p < in_end;) { in ConvertModifiedUtf8ToUtf16() local
106 *out_p++ = dchecked_integral_cast<uint16_t>(*p++); in ConvertModifiedUtf8ToUtf16()
112 for (const char *p = in_start; p < in_end;) { in ConvertModifiedUtf8ToUtf16() local
113 const uint32_t ch = GetUtf16FromUtf8(&p); in ConvertModifiedUtf8ToUtf16()
129 for (const uint16_t *p = utf16_in; p < utf16_end;) { in ConvertUtf16ToModifiedUtf8() local
130 *utf8_out++ = dchecked_integral_cast<char>(*p++); in ConvertUtf16ToModifiedUtf8()
289 const char* p = utf8; in PrintableString() local
290 size_t char_count = CountModifiedUtf8Chars(p); in PrintableString()
292 uint32_t ch = GetUtf16FromUtf8(&p); in PrintableString()
/art/test/146-bad-interface/src-art/
DMain.java30 PathClassLoader p = new PathClassLoader(DEX_FILES, Main.class.getClassLoader()); in main() local
31 Class<?> c = Class.forName("A", true, p); in main()
33 Class<?> runner = Class.forName("InvokeInf", true, p); in main()
34 Class<?> arg = Class.forName("Iface", true, p); in main()
/art/tools/jvmti-agents/field-null-percent/
Dcheck-null-fields.py94 p = subprocess.Popen([device.adb_path, "jdwp"], env=new_env, stdout=subprocess.PIPE)
97 ppe.submit(kill_it, p.pid).result()
98 out.pid = p.communicate()[0].strip().split()
99 p.wait()
105 for p in out.pid:
106 res = check_single_process(p, device, cmd32, cmd64);
108 final[p] = res
113 def kill_it(p): argument
115 os.kill(p, signal.SIGINT)
/art/openjdkjvmti/
Djvmti_allocator.h126 void deallocate(pointer p, size_type n ATTRIBUTE_UNUSED) { in deallocate() argument
128 AllocUtil::DeallocateImpl(reinterpret_cast<unsigned char*>(p)); in deallocate()
130 jvmtiError dealloc_error = env_->Deallocate(reinterpret_cast<unsigned char*>(p)); in deallocate()
135 void construct(pointer p, const_reference val) { in construct() argument
136 new (static_cast<void*>(p)) value_type(val); in construct()
139 void construct(U* p, Args&&... args) { in construct() argument
140 ::new (static_cast<void*>(p)) U(std::forward<Args>(args)...); in construct()
142 void destroy(pointer p) { in destroy() argument
143 p->~value_type(); in destroy()
/art/test/903-hello-tagging/src/art/
DTest903.java141 public int compareTo(Pair p) { in compareTo() argument
142 if (tag != p.tag) { in compareTo()
143 return Long.compare(tag, p.tag); in compareTo()
146 if ((obj instanceof Comparable) && (p.obj instanceof Comparable)) { in compareTo()
148 int result = ((Comparable<Object>)obj).compareTo(p.obj); in compareTo()
154 if (obj != null && p.obj != null) { in compareTo()
155 return obj.hashCode() - p.obj.hashCode(); in compareTo()
162 if (p.obj != null) { in compareTo()
166 return hashCode() - p.hashCode(); in compareTo()
/art/runtime/
Djdwp_provider.h44 inline JdwpProvider CanonicalizeJdwpProvider(JdwpProvider p, bool debuggable) { in CanonicalizeJdwpProvider() argument
45 if (p != JdwpProvider::kUnset) { in CanonicalizeJdwpProvider()
46 return p; in CanonicalizeJdwpProvider()
/art/runtime/gc/allocator/
Ddlmalloc.cc30 static void art_heap_usage_error(const char* function, void* p);
32 #define USAGE_ERROR_ACTION(m, p) art_heap_usage_error(__FUNCTION__, p) argument
56 static void art_heap_usage_error(const char* function, void* p) { in art_heap_usage_error() argument
57 LOG(FATAL) << "Incorrect use of function '" << function << "' argument " << p in art_heap_usage_error()
/art/compiler/optimizing/
Dcode_generator_utils.cc54 int64_t p = is_long ? 63 : 31; in CalculateMagicAndShiftForDivRem() local
74 p++; in CalculateMagicAndShiftForDivRem()
96 *shift = is_long ? p - 64 : p - 32; in CalculateMagicAndShiftForDivRem()
/art/tools/jvmti-agents/field-counts/
Dcount-fields.py94 p = subprocess.Popen([device.adb_path, "jdwp"], env=new_env, stdout=subprocess.PIPE)
97 ppe.submit(kill_it, p.pid).result()
98 out.pid = p.communicate()[0].strip().split()
99 p.wait()
105 for p in out.pid:
106 res = check_single_process(p, device, mkcmd, lib32, lib64);
108 final[p] = res
113 def kill_it(p): argument
115 os.kill(p, signal.SIGINT)
/art/test/906-iterate-heap/
Diterate_heap.cc199 FindStringCallbacks* p = reinterpret_cast<FindStringCallbacks*>(user_data); in Java_art_Test906_iterateThroughHeapString() local
200 if (*tag_ptr == p->tag_to_find) { in Java_art_Test906_iterateThroughHeapString()
205 if (!p->data.empty()) { in Java_art_Test906_iterateThroughHeapString()
206 p->data += "\n"; in Java_art_Test906_iterateThroughHeapString()
208 p->data += android::base::StringPrintf("%" PRId64 "@%" PRId64 " (%" PRId64 ", '%s')", in Java_art_Test906_iterateThroughHeapString()
256 FindArrayCallbacks* p = reinterpret_cast<FindArrayCallbacks*>(user_data); in Java_art_Test906_iterateThroughHeapPrimitiveArray() local
257 if (*tag_ptr == p->tag_to_find) { in Java_art_Test906_iterateThroughHeapPrimitiveArray()
297 if (!p->data.empty()) { in Java_art_Test906_iterateThroughHeapPrimitiveArray()
298 p->data += "\n"; in Java_art_Test906_iterateThroughHeapPrimitiveArray()
300 p->data += oss.str(); in Java_art_Test906_iterateThroughHeapPrimitiveArray()
[all …]
/art/test/090-loop-formation/src/
DMain.java70 for (int p = 0; p < 2; p++) { in deeplyNested()
/art/runtime/mirror/
Dstring-inl.h60 const MemoryType* p = chars + start; in FastIndexOf() local
62 while (p < end) { in FastIndexOf()
63 if (*p++ == ch) { in FastIndexOf()
64 return (p - 1) - chars; in FastIndexOf()
/art/compiler/utils/
Dswap_space.h188 void deallocate(pointer p, size_type n) { in deallocate() argument
190 free(p); in deallocate()
192 swap_space_->Free(p, n * sizeof(T)); in deallocate()
196 void construct(pointer p, const_reference val) { in construct() argument
197 new (static_cast<void*>(p)) value_type(val); in construct()
200 void construct(U* p, Args&&... args) { in construct() argument
201 ::new (static_cast<void*>(p)) U(std::forward<Args>(args)...); in construct()
203 void destroy(pointer p) { in destroy() argument
204 p->~value_type(); in destroy()
/art/test/950-redefine-intrinsic/src/
DMain.java399 final LongPredicate p; field in Main.FuncCmp
400 public FuncCmp(String name, LongPredicate p) { in FuncCmp() argument
402 this.p = p; in FuncCmp()
406 return p.test(l); in test()
/art/test/716-jli-jit-samples/src-art/
DMain.java58 private static void assertEquals(Object o, Object p) { in assertEquals() argument
59 if (o == p) { in assertEquals()
62 if (o != null && p != null && o.equals(p)) { in assertEquals()
65 throw new AssertionError("assertEquals: o1: " + o + ", o2: " + p); in assertEquals()

12345