/external/stressapptest/src/ |
D | finelock_queue.cc | 224 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 …]
|
D | finelock_queue.h | 39 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 …]
|
D | queue.h | 50 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);
|
D | queue.cc | 45 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()
|
D | sat.cc | 229 bool Sat::GetValid(struct page_entry *pe) { in GetValid() argument 230 return GetValid(pe, kDontCareTag); in GetValid() 235 bool Sat::GetValid(struct page_entry *pe, int32 tag) { in GetValid() argument 239 result = finelock_q_->GetValid(pe, tag); in GetValid() 241 result = valid_->PopRandom(pe); in GetValid() 244 pe->addr = os_->PrepareTestMem(pe->offset, page_length_); // Map it. in GetValid() 247 pe->ts = os_->GetTimestamp(); in GetValid() 248 pe->lastpattern = pe->pattern; in GetValid() 250 return (pe->addr != 0); // Return success or failure. in GetValid() 255 bool Sat::PutValid(struct page_entry *pe) { in PutValid() argument [all …]
|
D | sat.h | 74 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); 288 void AddrMapUpdate(struct page_entry *pe);
|
/external/iproute2/lib/ |
D | inet_proto.c | 29 struct protoent *pe; in inet_proto_n2a() local 34 pe = getprotobynumber(proto); in inet_proto_n2a() 35 if (pe) { in inet_proto_n2a() 37 strncpy(ncache, pe->p_name, 16); in inet_proto_n2a() 38 strncpy(buf, pe->p_name, len); in inet_proto_n2a() 49 struct protoent *pe; in inet_proto_a2n() local 61 pe = getprotobyname(buf); in inet_proto_a2n() 62 if (pe) { in inet_proto_a2n() 63 icache = pe->p_proto; in inet_proto_a2n() 64 strncpy(ncache, pe->p_name, 16); in inet_proto_a2n() [all …]
|
/external/chromium_org/third_party/icu/source/common/ |
D | ucase.c | 139 const uint16_t *pe=GET_EXCEPTIONS(csp, props); in ucase_tolower() local 140 uint16_t excWord=*pe++; in ucase_tolower() 142 GET_SLOT_VALUE(excWord, UCASE_EXC_LOWER, pe, c); in ucase_tolower() 156 const uint16_t *pe=GET_EXCEPTIONS(csp, props); in ucase_toupper() local 157 uint16_t excWord=*pe++; in ucase_toupper() 159 GET_SLOT_VALUE(excWord, UCASE_EXC_UPPER, pe, c); in ucase_toupper() 173 const uint16_t *pe=GET_EXCEPTIONS(csp, props); in ucase_totitle() local 174 uint16_t excWord=*pe++; in ucase_totitle() 183 GET_SLOT_VALUE(excWord, idx, pe, c); in ucase_totitle() 242 const uint16_t *pe0, *pe=GET_EXCEPTIONS(csp, props); in ucase_addCaseClosure() local [all …]
|
/external/qemu/ |
D | os-win32.c | 64 PollingEntry **ppe, *pe; in qemu_add_polling_cb() local 65 pe = qemu_mallocz(sizeof(PollingEntry)); in qemu_add_polling_cb() 66 pe->func = func; in qemu_add_polling_cb() 67 pe->opaque = opaque; in qemu_add_polling_cb() 69 *ppe = pe; in qemu_add_polling_cb() 75 PollingEntry **ppe, *pe; in qemu_del_polling_cb() local 77 pe = *ppe; in qemu_del_polling_cb() 78 if (pe->func == func && pe->opaque == opaque) { in qemu_del_polling_cb() 79 *ppe = pe->next; in qemu_del_polling_cb() 80 qemu_free(pe); in qemu_del_polling_cb() [all …]
|
/external/chromium_org/third_party/icu/source/i18n/ |
D | uspoof_build.cpp | 50 int32_t *errorType, UParseError *pe, UErrorCode *status) { in uspoof_openFromSource() argument 62 if (pe != NULL) { in uspoof_openFromSource() 63 pe->line = 0; in uspoof_openFromSource() 64 pe->offset = 0; in uspoof_openFromSource() 65 pe->preContext[0] = 0; in uspoof_openFromSource() 66 pe->postContext[0] = 0; in uspoof_openFromSource() 74 …ConfusabledataBuilder::buildConfusableData(This, confusables, confusablesLen, errorType, pe, *stat… in uspoof_openFromSource() 75 buildWSConfusableData(This, confusablesWholeScript, confusablesWholeScriptLen, pe, *status); in uspoof_openFromSource()
|
D | repattrn.cpp | 275 UParseError &pe, in compile() argument 309 compiler.compile(regex, pe, status); in compile() 326 UParseError &pe, in compile() argument 360 compiler.compile(regex, pe, status); in compile() 375 UParseError &pe, in compile() argument 378 return compile(regex, 0, pe, err); in compile() 387 UParseError &pe, in compile() argument 390 return compile(regex, 0, pe, err); in compile() 402 UParseError pe; in compile() local 403 return compile(regex, flags, pe, err); in compile() [all …]
|
/external/icu4c/i18n/ |
D | uspoof_build.cpp | 50 int32_t *errorType, UParseError *pe, UErrorCode *status) { in uspoof_openFromSource() argument 62 if (pe != NULL) { in uspoof_openFromSource() 63 pe->line = 0; in uspoof_openFromSource() 64 pe->offset = 0; in uspoof_openFromSource() 65 pe->preContext[0] = 0; in uspoof_openFromSource() 66 pe->postContext[0] = 0; in uspoof_openFromSource() 74 …ConfusabledataBuilder::buildConfusableData(This, confusables, confusablesLen, errorType, pe, *stat… in uspoof_openFromSource() 75 buildWSConfusableData(This, confusablesWholeScript, confusablesWholeScriptLen, pe, *status); in uspoof_openFromSource()
|
D | repattrn.cpp | 272 UParseError &pe, in compile() argument 306 compiler.compile(regex, pe, status); in compile() 323 UParseError &pe, in compile() argument 357 compiler.compile(regex, pe, status); in compile() 372 UParseError &pe, in compile() argument 375 return compile(regex, 0, pe, err); in compile() 384 UParseError &pe, in compile() argument 387 return compile(regex, 0, pe, err); in compile() 399 UParseError pe; in compile() local 400 return compile(regex, flags, pe, err); in compile() [all …]
|
/external/icu4c/common/ |
D | ucase.cpp | 142 const uint16_t *pe=GET_EXCEPTIONS(csp, props); in ucase_tolower() local 143 uint16_t excWord=*pe++; in ucase_tolower() 145 GET_SLOT_VALUE(excWord, UCASE_EXC_LOWER, pe, c); in ucase_tolower() 159 const uint16_t *pe=GET_EXCEPTIONS(csp, props); in ucase_toupper() local 160 uint16_t excWord=*pe++; in ucase_toupper() 162 GET_SLOT_VALUE(excWord, UCASE_EXC_UPPER, pe, c); in ucase_toupper() 176 const uint16_t *pe=GET_EXCEPTIONS(csp, props); in ucase_totitle() local 177 uint16_t excWord=*pe++; in ucase_totitle() 186 GET_SLOT_VALUE(excWord, idx, pe, c); in ucase_totitle() 245 const uint16_t *pe0, *pe=GET_EXCEPTIONS(csp, props); in ucase_addCaseClosure() local [all …]
|
/external/chromium/base/win/ |
D | pe_image_unittest.cc | 158 PEImage pe(module); in TEST() local 160 EXPECT_TRUE(pe.VerifyMagic()); in TEST() 162 DWORD os = pe.GetNTHeaders()->OptionalHeader.MajorOperatingSystemVersion; in TEST() 163 os = os * 10 + pe.GetNTHeaders()->OptionalHeader.MinorOperatingSystemVersion; in TEST() 165 pe.EnumSections(SectionsCallback, &count); in TEST() 169 pe.EnumImportChunks(ImportChunksCallback, &count); in TEST() 173 pe.EnumDelayImportChunks(DelayImportChunksCallback, &count); in TEST() 177 pe.EnumExports(ExportsCallback, &count); in TEST() 182 pe.EnumAllImports(ImportsCallback, &count); in TEST() 187 pe.EnumAllDelayImports(ImportsCallback, &count); in TEST() [all …]
|
/external/chromium_org/base/win/ |
D | pe_image_unittest.cc | 206 PEImage pe(module); in TEST() local 208 EXPECT_TRUE(pe.VerifyMagic()); in TEST() 210 DWORD os = pe.GetNTHeaders()->OptionalHeader.MajorOperatingSystemVersion; in TEST() 211 os = os * 10 + pe.GetNTHeaders()->OptionalHeader.MinorOperatingSystemVersion; in TEST() 217 pe.EnumSections(SectionsCallback, &count); in TEST() 221 pe.EnumImportChunks(ImportChunksCallback, &count); in TEST() 225 pe.EnumDelayImportChunks(DelayImportChunksCallback, &count); in TEST() 229 pe.EnumExports(ExportsCallback, &count); in TEST() 234 pe.EnumAllImports(ImportsCallback, &count); in TEST() 239 pe.EnumAllDelayImports(ImportsCallback, &count); in TEST() [all …]
|
/external/chromium_org/tools/checkbins/ |
D | checkbins.py | 51 pe = pefile.PE(path, fast_load=True) 52 pe.parse_data_directories(directories=[ 58 if pe.OPTIONAL_HEADER.DllCharacteristics & DYNAMICBASE_FLAG: 66 if pe.OPTIONAL_HEADER.DllCharacteristics & NXCOMPAT_FLAG: 81 if (pe.OPTIONAL_HEADER.DllCharacteristics & NO_SEH_FLAG or 82 (hasattr(pe, "DIRECTORY_ENTRY_LOAD_CONFIG") and 83 pe.DIRECTORY_ENTRY_LOAD_CONFIG.struct.SEHandlerCount > 0 and 84 pe.DIRECTORY_ENTRY_LOAD_CONFIG.struct.SEHandlerTable != 0) or 85 pe.FILE_HEADER.Machine == MACHINE_TYPE_AMD64):
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
D | PrivilegedActionException2Test.java | 30 PrivilegedActionException pe = new PrivilegedActionException(e); in test_ConstructorLjava_lang_Exception() local 31 assertEquals("Did not encapsulate test exception!", e, pe in test_ConstructorLjava_lang_Exception() 35 pe = new PrivilegedActionException(null); in test_ConstructorLjava_lang_Exception() 36 assertNull("Did not encapsulate null test exception properly!", pe in test_ConstructorLjava_lang_Exception() 45 PrivilegedActionException pe = new PrivilegedActionException(e); in test_getException() local 46 assertEquals("Did not encapsulate test IOException!", e, pe in test_getException()
|
/external/chromium_org/v8/test/mjsunit/regress/ |
D | regress-crbug-272564.js | 39 function pe(a, b, c) { function 46 pe(a, b, 0); 47 pe(a, b, 0); 48 %OptimizeFunctionOnNextCall(pe); 49 pe(a, b, 0);
|
/external/libppp/src/ |
D | filter.c | 134 ParseUdpOrTcp(int argc, char const *const *argv, const struct protoent *pe, in ParseUdpOrTcp() argument 146 if (pe == NULL) in ParseUdpOrTcp() 148 tgt->f_srcport = ParsePort(argv[2], pe->p_name); in ParseUdpOrTcp() 161 if (pe == NULL) in ParseUdpOrTcp() 163 tgt->f_dstport = ParsePort(argv[2], pe->p_name); in ParseUdpOrTcp() 170 if (pe && pe->p_proto == IPPROTO_TCP) { in ParseUdpOrTcp() 246 struct protoent *pe; in filter_Parse() local 307 pe = NULL; in filter_Parse() 308 else if ((pe = getprotobyname(*argv)) == NULL && strcmp(*argv, "all") != 0) { in filter_Parse() 344 if ((pe = getprotobyname(*argv)) == NULL && strcmp(*argv, "all") != 0) { in filter_Parse() [all …]
|
/external/icu4c/test/intltest/ |
D | transtst.cpp | 1496 UParseError pe; in TestNormalizationTransliterator() local 1500 pe, status); in TestNormalizationTransliterator() 2102 UParseError pe; in TestNFDChainRBT() local 2106 UTRANS_FORWARD, pe, ec); in TestNFDChainRBT() 2206 UParseError pe; in TestNullInverse() local 2208 Transliterator *t = Transliterator::createInstance("Null", UTRANS_FORWARD, pe, ec); in TestNullInverse() 2231 UParseError pe; in TestAliasInverseID() local 2233 Transliterator *t = Transliterator::createInstance(ID, UTRANS_FORWARD, pe, ec); in TestAliasInverseID() 2259 UParseError pe; in TestCompoundInverseID() local 2261 Transliterator *t = Transliterator::createInstance(ID, UTRANS_FORWARD, pe, ec); in TestCompoundInverseID() [all …]
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
D | transtst.cpp | 1495 UParseError pe; in TestNormalizationTransliterator() local 1499 pe, status); in TestNormalizationTransliterator() 2101 UParseError pe; in TestNFDChainRBT() local 2105 UTRANS_FORWARD, pe, ec); in TestNFDChainRBT() 2205 UParseError pe; in TestNullInverse() local 2207 Transliterator *t = Transliterator::createInstance("Null", UTRANS_FORWARD, pe, ec); in TestNullInverse() 2230 UParseError pe; in TestAliasInverseID() local 2232 Transliterator *t = Transliterator::createInstance(ID, UTRANS_FORWARD, pe, ec); in TestAliasInverseID() 2258 UParseError pe; in TestCompoundInverseID() local 2260 Transliterator *t = Transliterator::createInstance(ID, UTRANS_FORWARD, pe, ec); in TestCompoundInverseID() [all …]
|
/external/chromium_org/tools/symsrc/ |
D | img_fingerprint.py | 19 pe = pefile.PE(filename) 21 pe.FILE_HEADER.TimeDateStamp, pe.OPTIONAL_HEADER.SizeOfImage)
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
D | hb-buffer-deserialize-text.hh | 325 const char *p = buf, *pe = buf + buf_len; in _hb_buffer_deserialize_glyphs_text() local 330 while (p < pe && ISSPACE (*p)) in _hb_buffer_deserialize_glyphs_text() 332 if (p < pe && *p == (buffer->len ? '|' : '[')) in _hb_buffer_deserialize_glyphs_text() 337 const char *eof = pe, *tok = NULL; in _hb_buffer_deserialize_glyphs_text() 353 if ( p == pe ) in _hb_buffer_deserialize_glyphs_text() 485 if ( ++p != pe ) in _hb_buffer_deserialize_glyphs_text() 568 return p == pe && *(p-1) != ']'; in _hb_buffer_deserialize_glyphs_text()
|
/external/harfbuzz_ng/src/ |
D | hb-buffer-deserialize-text.hh | 325 const char *p = buf, *pe = buf + buf_len; in _hb_buffer_deserialize_glyphs_text() local 330 while (p < pe && ISSPACE (*p)) in _hb_buffer_deserialize_glyphs_text() 332 if (p < pe && *p == (buffer->len ? '|' : '[')) in _hb_buffer_deserialize_glyphs_text() 337 const char *eof = pe, *tok = NULL; in _hb_buffer_deserialize_glyphs_text() 353 if ( p == pe ) in _hb_buffer_deserialize_glyphs_text() 485 if ( ++p != pe ) in _hb_buffer_deserialize_glyphs_text() 568 return p == pe && *(p-1) != ']'; in _hb_buffer_deserialize_glyphs_text()
|