Home
last modified time | relevance | path

Searched refs:pe (Results 1 – 25 of 436) sorted by relevance

12345678910>>...18

/external/guice/core/test/com/google/inject/
DProvisionExceptionsTest.java47 } catch(ProvisionException pe) { in testConstructorRuntimeException()
49 Asserts.assertContains(pe.getMessage(), in testConstructorRuntimeException()
51 assertEquals(1, pe.getErrorMessages().size()); in testConstructorRuntimeException()
52 assertEquals(IllegalStateException.class, pe.getCause().getClass()); in testConstructorRuntimeException()
53 … assertEquals(IllegalStateException.class, Errors.getOnlyCause(pe.getErrorMessages()).getClass()); in testConstructorRuntimeException()
69 } catch(ProvisionException pe) { in testConstructorCheckedException()
71 Asserts.assertContains(pe.getMessage(), in testConstructorCheckedException()
73 assertEquals(1, pe.getErrorMessages().size()); in testConstructorCheckedException()
74 assertEquals(IOException.class, pe.getCause().getClass()); in testConstructorCheckedException()
75 assertEquals(IOException.class, Errors.getOnlyCause(pe.getErrorMessages()).getClass()); in testConstructorCheckedException()
[all …]
DProvisionListenerTest.java61 } catch(ProvisionException pe) { in testExceptionInListenerBeforeProvisioning()
62 assertEquals(1, pe.getErrorMessages().size()); in testExceptionInListenerBeforeProvisioning()
63 assertContains(pe.getMessage(), in testExceptionInListenerBeforeProvisioning()
68 assertEquals("boo", pe.getCause().getMessage()); in testExceptionInListenerBeforeProvisioning()
82 } catch(ProvisionException pe) { in testExceptionInListenerAfterProvisioning()
83 assertEquals(1, pe.getErrorMessages().size()); in testExceptionInListenerAfterProvisioning()
84 assertContains(pe.getMessage(), in testExceptionInListenerAfterProvisioning()
89 assertEquals("boo", pe.getCause().getMessage()); in testExceptionInListenerAfterProvisioning()
103 } catch(ProvisionException pe) { in testExceptionInProvisionExplicitlyCalled()
104 assertEquals(1, pe.getErrorMessages().size()); in testExceptionInProvisionExplicitlyCalled()
[all …]
/external/stressapptest/src/
Dfinelock_queue.cc224 struct page_entry pe; in ErrorLogCallback() local
230 int gotpage = GetPageFromPhysical(paddr, &pe); in ErrorLogCallback()
236 uint64 addr_diff = paddr - pe.paddr; in ErrorLogCallback()
241 reinterpret_cast<char*>(os->PrepareTestMem(pe.offset, page_size_)); in ErrorLogCallback()
243 os->ReleaseTestMem(vaddr, pe.offset, page_size_); in ErrorLogCallback()
254 if (pe.lastpattern) { in ErrorLogCallback()
258 data.l32.l = pe.lastpattern->pattern(offset << 1); in ErrorLogCallback()
259 data.l32.h = pe.lastpattern->pattern((offset << 1) + 1); in ErrorLogCallback()
262 pe.lastpattern->name(), data.l64); in ErrorLogCallback()
265 snprintf(buf, sizeof(buf), " tsc=%#llx)", pe.ts); in ErrorLogCallback()
[all …]
Dfinelock_queue.h39 bool GetEmpty(struct page_entry *pe);
40 bool GetValid(struct page_entry *pe);
41 bool PutEmpty(struct page_entry *pe);
42 bool PutValid(struct page_entry *pe);
45 bool GetEmpty(struct page_entry *pe, int32 tag);
46 bool GetValid(struct page_entry *pe, int32 tag);
49 bool GetPageFromPhysical(uint64 paddr, struct page_entry *pe);
65 static bool page_is_valid(struct page_entry *pe) { in page_is_valid() argument
66 return pe->pattern != NULL; in page_is_valid()
69 static bool page_is_empty(struct page_entry *pe) { in page_is_empty() argument
[all …]
Dqueue.h50 static inline void init_pe(struct page_entry *pe) { in init_pe() argument
51 pe->offset = 0; in init_pe()
52 pe->addr = NULL; in init_pe()
53 pe->pattern = NULL; in init_pe()
54 pe->tag = kInvalidTag; in init_pe()
55 pe->touch = 0; in init_pe()
56 pe->ts = 0; in init_pe()
57 pe->lastpattern = NULL; in init_pe()
68 int Push(struct page_entry *pe);
70 int PopRandom(struct page_entry *pe);
Dsat.cc249 bool Sat::GetValid(struct page_entry *pe) { in GetValid() argument
250 return GetValid(pe, kDontCareTag); in GetValid()
255 bool Sat::GetValid(struct page_entry *pe, int32 tag) { in GetValid() argument
259 result = finelock_q_->GetValid(pe, tag); in GetValid()
261 result = valid_->PopRandom(pe); in GetValid()
264 pe->addr = os_->PrepareTestMem(pe->offset, page_length_); // Map it. in GetValid()
267 pe->ts = os_->GetTimestamp(); in GetValid()
268 pe->lastpattern = pe->pattern; in GetValid()
270 return (pe->addr != 0); // Return success or failure. in GetValid()
275 bool Sat::PutValid(struct page_entry *pe) { in PutValid() argument
[all …]
Dqueue.cc45 int PageEntryQueue::Push(struct page_entry *pe) { in Push() argument
49 if (!pe) in Push()
56 pages_[nextin_] = *pe; in Push()
70 int PageEntryQueue::PopRandom(struct page_entry *pe) { in PopRandom() argument
77 if (!pe) in PopRandom()
107 *pe = pages_[nextout_]; in PopRandom()
Dsat.h74 bool GetValid(struct page_entry *pe);
75 bool PutValid(struct page_entry *pe);
76 bool GetEmpty(struct page_entry *pe);
77 bool PutEmpty(struct page_entry *pe);
79 bool GetValid(struct page_entry *pe, int32 tag);
80 bool GetEmpty(struct page_entry *pe, int32 tag);
307 void AddrMapUpdate(struct page_entry *pe);
/external/swiftshader/third_party/subzero/tests_lit/reader_tests/
Dselect.ll61 define internal i32 @Seli32(i32 %pc, i32 %pt, i32 %pe) {
64 %r = select i1 %vc, i32 %pt, i32 %pe
68 ; CHECK-NEXT: define internal i32 @Seli32(i32 %pc, i32 %pt, i32 %pe) {
71 ; CHECK-NEXT: %r = select i1 %vc, i32 %pt, i32 %pe
75 define internal i64 @Seli64(i64 %pc, i64 %pt, i64 %pe) {
78 %r = select i1 %vc, i64 %pt, i64 %pe
82 ; CHECK-NEXT: define internal i64 @Seli64(i64 %pc, i64 %pt, i64 %pe) {
85 ; CHECK-NEXT: %r = select i1 %vc, i64 %pt, i64 %pe
89 define internal float @SelFloat(i32 %pc, float %pt, float %pe) {
92 %r = select i1 %vc, float %pt, float %pe
[all …]
/external/elfutils/tests/
Drun-dwfllines.sh25 time: 0, len: 0, idx: 0, b: 1, e: 0, pe: 0, eb: 0, block: 0, isa: 0, disc: 0
27 time: 0, len: 0, idx: 0, b: 1, e: 0, pe: 0, eb: 0, block: 0, isa: 0, disc: 0
29 time: 0, len: 0, idx: 0, b: 1, e: 0, pe: 0, eb: 0, block: 0, isa: 0, disc: 0
31 time: 0, len: 0, idx: 0, b: 1, e: 0, pe: 0, eb: 0, block: 0, isa: 0, disc: 0
33 time: 0, len: 0, idx: 0, b: 1, e: 1, pe: 0, eb: 0, block: 0, isa: 0, disc: 0
36 time: 0, len: 0, idx: 0, b: 1, e: 0, pe: 0, eb: 0, block: 0, isa: 0, disc: 0
38 time: 0, len: 0, idx: 0, b: 1, e: 0, pe: 0, eb: 0, block: 0, isa: 0, disc: 0
40 time: 0, len: 0, idx: 0, b: 1, e: 0, pe: 0, eb: 0, block: 0, isa: 0, disc: 0
42 time: 0, len: 0, idx: 0, b: 1, e: 1, pe: 0, eb: 0, block: 0, isa: 0, disc: 0
45 time: 0, len: 0, idx: 0, b: 1, e: 0, pe: 0, eb: 0, block: 0, isa: 0, disc: 0
[all …]
/external/iproute2/lib/
Dinet_proto.c30 struct protoent *pe; in inet_proto_n2a() local
35 pe = getprotobynumber(proto); in inet_proto_n2a()
36 if (pe) { in inet_proto_n2a()
40 ncache = strdup(pe->p_name); in inet_proto_n2a()
41 strlcpy(buf, pe->p_name, len); in inet_proto_n2a()
52 struct protoent *pe; in inet_proto_a2n() local
61 pe = getprotobyname(buf); in inet_proto_a2n()
62 if (pe) { in inet_proto_a2n()
65 icache = pe->p_proto; in inet_proto_a2n()
66 ncache = strdup(pe->p_name); in inet_proto_a2n()
[all …]
/external/icu/icu4c/source/common/
Ducase.cpp136 const uint16_t *pe=GET_EXCEPTIONS(&ucase_props_singleton, props); in ucase_tolower() local
137 uint16_t excWord=*pe++; in ucase_tolower()
139 GET_SLOT_VALUE(excWord, UCASE_EXC_LOWER, pe, c); in ucase_tolower()
153 const uint16_t *pe=GET_EXCEPTIONS(&ucase_props_singleton, props); in ucase_toupper() local
154 uint16_t excWord=*pe++; in ucase_toupper()
156 GET_SLOT_VALUE(excWord, UCASE_EXC_UPPER, pe, c); in ucase_toupper()
170 const uint16_t *pe=GET_EXCEPTIONS(&ucase_props_singleton, props); in ucase_totitle() local
171 uint16_t excWord=*pe++; in ucase_totitle()
180 GET_SLOT_VALUE(excWord, idx, pe, c); in ucase_totitle()
239 const uint16_t *pe0, *pe=GET_EXCEPTIONS(&ucase_props_singleton, props); in ucase_addCaseClosure() local
[all …]
/external/toybox/toys/pending/
Dfdisk.c207 struct part_entry *pe; in check_order() local
212 pe = &partitions[i]; in check_order()
213 px = pe->part; in check_order()
215 first[i] = swap_le32toh(px->start4) + pe->start_offset; in check_order()
303 struct part_entry *pe = &partitions[i]; in reset_boot() local
304 pe->part = part_offset(MBRbuf, i); in reset_boot()
305 pe->start_offset = 0; in reset_boot()
306 pe->sec_buffer = MBRbuf; in reset_boot()
307 pe->modified = change; in reset_boot()
576 struct part_entry *pe = &partitions[i]; in delete_partition() local
[all …]
/external/ltp/testcases/kernel/connectors/pec/
Dpec_listener.c185 struct proc_event *pe; in process_event() local
189 pe = (struct proc_event *)msg->data; in process_event()
191 switch (pe->what) { in process_event()
193 printf("none err: %u\n", pe->event_data.ack.err); in process_event()
197 pe->event_data.fork.parent_pid, in process_event()
198 pe->event_data.fork.child_pid); in process_event()
201 printf("exec pid: %d\n", pe->event_data.exec.process_pid); in process_event()
205 pe->event_data.id.process_pid, in process_event()
206 pe->event_data.id.e.euid, pe->event_data.id.r.ruid); in process_event()
210 pe->event_data.id.process_pid, in process_event()
[all …]
/external/tensorflow/tensorflow/core/platform/profile_utils/
Dandroid_armv7a_cpu_utils_helper.cc81 perf_event_attr pe; in InitializeInternal() local
83 memset(&pe, 0, sizeof(perf_event_attr)); in InitializeInternal()
84 pe.type = PERF_TYPE_HARDWARE; in InitializeInternal()
85 pe.size = sizeof(perf_event_attr); in InitializeInternal()
86 pe.config = PERF_COUNT_HW_CPU_CYCLES; in InitializeInternal()
87 pe.disabled = 1; in InitializeInternal()
88 pe.exclude_kernel = 1; in InitializeInternal()
89 pe.exclude_hv = 1; in InitializeInternal()
91 fd_ = OpenPerfEvent(&pe, 0, -1, -1, 0); in InitializeInternal()
/external/icu/icu4c/source/i18n/
Duspoof_build.cpp53 int32_t *errorType, UParseError *pe, UErrorCode *status) { in uspoof_openFromSource() argument
65 if (pe != NULL) { in uspoof_openFromSource()
66 pe->line = 0; in uspoof_openFromSource()
67 pe->offset = 0; in uspoof_openFromSource()
68 pe->preContext[0] = 0; in uspoof_openFromSource()
69 pe->postContext[0] = 0; in uspoof_openFromSource()
77 …ConfusabledataBuilder::buildConfusableData(This, confusables, confusablesLen, errorType, pe, *stat… in uspoof_openFromSource()
Drepattrn.cpp308 UParseError &pe, in compile() argument
342 compiler.compile(regex, pe, status); in compile()
359 UParseError &pe, in compile() argument
393 compiler.compile(regex, pe, status); in compile()
408 UParseError &pe, in compile() argument
411 return compile(regex, 0, pe, err); in compile()
420 UParseError &pe, in compile() argument
423 return compile(regex, 0, pe, err); in compile()
435 UParseError pe; in compile() local
436 return compile(regex, flags, pe, err); in compile()
[all …]
/external/honggfuzz/linux/
Dperf.c130 struct perf_event_attr pe; in arch_perfCreate() local
131 memset(&pe, 0, sizeof(struct perf_event_attr)); in arch_perfCreate()
132 pe.size = sizeof(struct perf_event_attr); in arch_perfCreate()
134 pe.exclude_user = 1; in arch_perfCreate()
136 pe.exclude_kernel = 1; in arch_perfCreate()
139 pe.disabled = 0; in arch_perfCreate()
140 pe.enable_on_exec = 0; in arch_perfCreate()
142 pe.disabled = 1; in arch_perfCreate()
143 pe.enable_on_exec = 1; in arch_perfCreate()
145 pe.type = PERF_TYPE_HARDWARE; in arch_perfCreate()
[all …]
/external/ltp/testcases/kernel/syscalls/perf_event_open/
Dperf_event_open01.c79 static struct perf_event_attr pe; variable
114 pe.size = sizeof(struct perf_event_attr); in setup()
115 pe.disabled = 1; in setup()
116 pe.exclude_kernel = 1; in setup()
117 pe.exclude_hv = 1; in setup()
147 pe.type = tc->type; in verify()
148 pe.config = tc->config; in verify()
150 TEST(perf_event_open(&pe, 0, -1, -1, 0)); in verify()
/external/skia/tests/
DAsADashTest.cpp17 sk_sp<SkPathEffect> pe(SkCornerPathEffect::Make(1.0)); in DEF_TEST() local
20 SkPathEffect::DashType dashType = pe->asADash(&info); in DEF_TEST()
27 sk_sp<SkPathEffect> pe(SkDashPathEffect::Make(inIntervals, 4, phase)); in DEF_TEST() local
29 SkPathEffect::DashType dashType = pe->asADash(nullptr); in DEF_TEST()
38 sk_sp<SkPathEffect> pe(SkDashPathEffect::Make(inIntervals, 4, phase)); in DEF_TEST() local
42 SkPathEffect::DashType dashType = pe->asADash(&info); in DEF_TEST()
50 pe->asADash(&info); in DEF_TEST()
/external/skqp/tests/
DAsADashTest.cpp15 sk_sp<SkPathEffect> pe(SkCornerPathEffect::Make(1.0)); in DEF_TEST() local
18 SkPathEffect::DashType dashType = pe->asADash(&info); in DEF_TEST()
25 sk_sp<SkPathEffect> pe(SkDashPathEffect::Make(inIntervals, 4, phase)); in DEF_TEST() local
27 SkPathEffect::DashType dashType = pe->asADash(nullptr); in DEF_TEST()
36 sk_sp<SkPathEffect> pe(SkDashPathEffect::Make(inIntervals, 4, phase)); in DEF_TEST() local
40 SkPathEffect::DashType dashType = pe->asADash(&info); in DEF_TEST()
48 pe->asADash(&info); in DEF_TEST()
/external/icu/icu4c/source/data/unit/
Dro.txt19 dnam{"metri pe secundă la pătrat"}
20 few{"{0} metri pe secundă la pătrat"}
21 one{"{0} metru pe secundă la pătrat"}
22 other{"{0} de metri pe secundă la pătrat"}
75 per{"{0} pe centimetru pătrat"}
88 per{"{0} pe inchi pătrat"}
95 per{"{0} pe kilometru pătrat"}
102 per{"{0} pe metru pătrat"}
109 per{"{0} pe milă pătrată"}
119 per{"{0} pe {1}"}
[all …]
/external/python/cpython2/PC/VS8.0/
Dkill_python.c35 PROCESSENTRY32W pe; in main() local
38 pe.dwSize = sizeof(PROCESSENTRY32W); in main()
97 if (!Process32FirstW(hsp, &pe)) { in main()
115 if (_wcsnicmp(pe.szExeFile, PYTHON_EXE, PYTHON_EXE_LEN)) in main()
120 hsm = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, pe.th32ProcessID); in main()
148 hp = OpenProcess(dac, FALSE, pe.th32ProcessID); in main()
171 } while (Process32NextW(hsp, &pe)); in main()
/external/python/cpython2/PC/VS9.0/
Dkill_python.c35 PROCESSENTRY32W pe; in main() local
38 pe.dwSize = sizeof(PROCESSENTRY32W); in main()
97 if (!Process32FirstW(hsp, &pe)) { in main()
115 if (_wcsnicmp(pe.szExeFile, PYTHON_EXE, PYTHON_EXE_LEN)) in main()
120 hsm = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, pe.th32ProcessID); in main()
148 hp = OpenProcess(dac, FALSE, pe.th32ProcessID); in main()
171 } while (Process32NextW(hsp, &pe)); in main()
/external/icu/icu4c/source/test/intltest/
Dtranstst.cpp1498 UParseError pe; in TestNormalizationTransliterator() local
1502 pe, status); in TestNormalizationTransliterator()
2104 UParseError pe; in TestNFDChainRBT() local
2108 UTRANS_FORWARD, pe, ec); in TestNFDChainRBT()
2208 UParseError pe; in TestNullInverse() local
2210 Transliterator *t = Transliterator::createInstance("Null", UTRANS_FORWARD, pe, ec); in TestNullInverse()
2233 UParseError pe; in TestAliasInverseID() local
2235 Transliterator *t = Transliterator::createInstance(ID, UTRANS_FORWARD, pe, ec); in TestAliasInverseID()
2261 UParseError pe; in TestCompoundInverseID() local
2263 Transliterator *t = Transliterator::createInstance(ID, UTRANS_FORWARD, pe, ec); in TestCompoundInverseID()
[all …]

12345678910>>...18