/external/iproute2/tc/ |
D | f_rsvp.c | 41 struct tc_rsvp_pinfo *pinfo, int dir, int family) in get_addr_and_pi() argument 46 struct tc_rsvp_gpi *pi = dir ? &pinfo->dpi : &pinfo->spi; in get_addr_and_pi() 86 if (pinfo->protocol == 0) in get_addr_and_pi() 87 pinfo->protocol = IPPROTO_AH; in get_addr_and_pi() 99 if (pinfo->protocol == 0) in get_addr_and_pi() 100 pinfo->protocol = IPPROTO_ESP; in get_addr_and_pi() 176 struct tc_rsvp_pinfo pinfo = {}; in rsvp_parse_opt() local 199 if (get_addr_and_pi(&argc, &argv, &addr, &pinfo, 1, family)) { in rsvp_parse_opt() 204 if (pinfo.dpi.mask || pinfo.protocol) in rsvp_parse_opt() 212 if (get_addr_and_pi(&argc, &argv, &addr, &pinfo, 0, family)) { in rsvp_parse_opt() [all …]
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | memory_debug.py | 34 pinfo = p.as_dict(attrs=['pid', 'name', 'memory_info']) 35 pinfo['mem_rss'] = getattr(pinfo['memory_info'], 'rss', 0) 36 return pinfo 39 def _LogProcessInfo(pinfo, level): argument 40 pinfo['mem_rss_fmt'] = FormatBytes(pinfo['mem_rss']) 41 logging.log(level, '%(mem_rss_fmt)s (pid=%(pid)s)', pinfo) 65 pinfo = _GetProcessInfo(p) 69 pname = pinfo['name'] 72 pinfos_by_names[pname]['total_mem_rss'] += pinfo['mem_rss'] 73 pinfos_by_names[pname]['pids'].append(str(pinfo['pid'])) [all …]
|
/external/iw/ |
D | mpath.c | 31 struct nlattr *pinfo[NL80211_MPATH_INFO_MAX + 1]; in print_mpath_handler() local 56 if (nla_parse_nested(pinfo, NL80211_MPATH_INFO_MAX, in print_mpath_handler() 67 if (pinfo[NL80211_MPATH_INFO_SN]) in print_mpath_handler() 69 nla_get_u32(pinfo[NL80211_MPATH_INFO_SN])); in print_mpath_handler() 70 if (pinfo[NL80211_MPATH_INFO_METRIC]) in print_mpath_handler() 72 nla_get_u32(pinfo[NL80211_MPATH_INFO_METRIC])); in print_mpath_handler() 73 if (pinfo[NL80211_MPATH_INFO_FRAME_QLEN]) in print_mpath_handler() 75 nla_get_u32(pinfo[NL80211_MPATH_INFO_FRAME_QLEN])); in print_mpath_handler() 76 if (pinfo[NL80211_MPATH_INFO_EXPTIME]) in print_mpath_handler() 78 nla_get_u32(pinfo[NL80211_MPATH_INFO_EXPTIME])); in print_mpath_handler() [all …]
|
/external/strace/ |
D | netlink_packet_diag.c | 77 struct packet_diag_info pinfo; in decode_packet_diag_info() local 79 if (len < sizeof(pinfo)) in decode_packet_diag_info() 81 if (umove_or_printaddr(tcp, addr, &pinfo)) in decode_packet_diag_info() 84 PRINT_FIELD_IFINDEX("{", pinfo, pdi_index); in decode_packet_diag_info() 85 PRINT_FIELD_XVAL(", ", pinfo, pdi_version, af_packet_versions, in decode_packet_diag_info() 87 PRINT_FIELD_U(", ", pinfo, pdi_reserve); in decode_packet_diag_info() 88 PRINT_FIELD_U(", ", pinfo, pdi_copy_thresh); in decode_packet_diag_info() 89 PRINT_FIELD_U(", ", pinfo, pdi_tstamp); in decode_packet_diag_info() 90 PRINT_FIELD_FLAGS(", ", pinfo, pdi_flags, in decode_packet_diag_info()
|
/external/ltp/utils/sctp/func_tests/ |
D | test_sockopt.c | 98 struct sctp_paddrinfo pinfo; in main() local 1066 memset(&pinfo, 0, sizeof(pinfo)); in main() 1067 optlen = sizeof(pinfo); in main() 1069 &pinfo, &optlen); in main() 1079 memset(&pinfo, 0, sizeof(pinfo)); in main() 1080 optlen = sizeof(pinfo); in main() 1081 pinfo.spinfo_assoc_id = udp_clt_associd; in main() 1083 &pinfo, &optlen); in main() 1093 memset(&pinfo, 0, sizeof(pinfo)); in main() 1094 optlen = sizeof(pinfo); in main() [all …]
|
/external/autotest/server/site_tests/firmware_CompareChipFwToShellBall/ |
D | firmware_CompareChipFwToShellBall.py | 197 for p, pinfo in enumerate(port2chip): 198 if not pinfo.fw_ver: 202 p, pinfo.chip_name, pinfo.fw_ver) 203 if pinfo.chip_name not in ref_chip_info: 206 expected_fw_ver = ref_chip_info[pinfo.chip_name].fw_ver 208 ('' if pinfo.fw_ver == expected_fw_ver else 211 if pinfo.fw_ver != expected_fw_ver: 213 pinfo.chip_name, expected_fw_ver)
|
/external/python/cpython2/Modules/ |
D | almodule.c | 59 param2python(int resource, int param, ALvalue value, ALparamInfo *pinfo) in param2python() argument 63 if (pinfo == NULL) { in param2python() 64 pinfo = &info; in param2python() 68 switch (pinfo->elementType) { in param2python() 135 python2param(int resource, ALpv *param, PyObject *value, ALparamInfo *pinfo) in python2param() argument 141 if (pinfo == NULL) { in python2param() 142 pinfo = &info; in python2param() 146 switch (pinfo->valueType) { in python2param() 148 if (pinfo->elementType != AL_CHAR_ELEM) { in python2param() 165 switch (pinfo->elementType) { in python2param() [all …]
|
/external/chromium-trace/catapult/devil/devil/android/tools/ |
D | device_recovery.py | 44 pinfo = p.as_dict(attrs=['pid', 'name', 'cmdline']) 45 if pinfo['name'] == 'adb': 46 pinfo['cmdline'] = ' '.join(pinfo['cmdline']) 47 yield p, pinfo 52 for p, pinfo in get_all_adb(): 54 pinfo['signal'] = sig 55 logger.info('kill %(signal)s %(pid)s (%(name)s [%(cmdline)s])', pinfo) 59 for _, pinfo in get_all_adb(): 61 logger.error('Unable to kill %(pid)s (%(name)s [%(cmdline)s])', pinfo)
|
/external/ltp/testcases/kernel/sched/process_stress/ |
D | process.c | 196 Pinfo *pinfo; /* pointer to process info in shared memory */ in print_shm() local 204 for (pinfo = shmaddr, i = 0; i < nodesum; i++, pinfo++) { in print_shm() 207 i, pinfo->pid, pinfo->ppid, pinfo->msg, pinfo->err); in print_shm() 208 for (j = 0, listp = pinfo->list; j < BVAL; j++, listp++) in print_shm() 537 Pinfo *pinfo; /* pointer to process information in shared mem */ local 554 pinfo = put_proc_info(tval); 558 pinfo->pid, pinfo->ppid, level, i, tval); 724 Pinfo *pinfo = NULL; /* ptr to struct in shared memory. */ local 752 for (pinfo = shmad, i = 0; i < nodesum; i++, pinfo++) { 754 pinfo->pid = (pid_t) - 1; [all …]
|
/external/libpng/ |
D | pngtest.c | 533 memory_infop pinfo; in png_debug_malloc() local 535 pinfo = (memory_infop)png_malloc(png_ptr, in png_debug_malloc() 536 (sizeof *pinfo)); in png_debug_malloc() 537 pinfo->size = size; in png_debug_malloc() 545 pinfo->pointer = png_malloc(png_ptr, size); in png_debug_malloc() 551 if (size != 0 && pinfo->pointer == NULL) in png_debug_malloc() 559 pinfo->next = pinformation; in png_debug_malloc() 560 pinformation = pinfo; in png_debug_malloc() 562 memset(pinfo->pointer, 0xdd, pinfo->size); in png_debug_malloc() 566 pinfo->pointer); in png_debug_malloc() [all …]
|
/external/llvm-project/libunwind/src/ |
D | AddressSpace.hpp | 369 static Elf_Addr calculateImageBase(struct dl_phdr_info *pinfo) { in calculateImageBase() argument 370 Elf_Addr image_base = pinfo->dlpi_addr; in calculateImageBase() 378 for (Elf_Half i = 0; i < pinfo->dlpi_phnum; i++) { in calculateImageBase() 379 const Elf_Phdr *phdr = &pinfo->dlpi_phdr[i]; in calculateImageBase() 381 image_base = reinterpret_cast<Elf_Addr>(pinfo->dlpi_phdr) - in calculateImageBase() 451 static int findUnwindSectionsByPhdr(struct dl_phdr_info *pinfo, in findUnwindSectionsByPhdr() argument 454 if (pinfo->dlpi_phnum == 0 || cbdata->targetAddr < pinfo->dlpi_addr) in findUnwindSectionsByPhdr() 457 if (TheFrameHeaderCache.find(pinfo, pinfo_size, data)) in findUnwindSectionsByPhdr() 464 Elf_Addr image_base = calculateImageBase(pinfo); in findUnwindSectionsByPhdr() 470 for (Elf_Half i = 0; i < pinfo->dlpi_phnum; ++i) { in findUnwindSectionsByPhdr() [all …]
|
/external/strace/tests/ |
D | nlattr_packet_diag_msg.c | 102 struct packet_diag_info pinfo = { in main() local 146 PACKET_DIAG_INFO, pattern, pinfo, in main() 149 PRINT_FIELD_U(", ", pinfo, pdi_reserve); in main() 150 PRINT_FIELD_U(", ", pinfo, pdi_copy_thresh); in main() 151 PRINT_FIELD_U(", ", pinfo, pdi_tstamp); in main()
|
/external/strace/tests-m32/ |
D | nlattr_packet_diag_msg.c | 102 struct packet_diag_info pinfo = { in main() local 146 PACKET_DIAG_INFO, pattern, pinfo, in main() 149 PRINT_FIELD_U(", ", pinfo, pdi_reserve); in main() 150 PRINT_FIELD_U(", ", pinfo, pdi_copy_thresh); in main() 151 PRINT_FIELD_U(", ", pinfo, pdi_tstamp); in main()
|
/external/strace/tests-mx32/ |
D | nlattr_packet_diag_msg.c | 102 struct packet_diag_info pinfo = { in main() local 146 PACKET_DIAG_INFO, pattern, pinfo, in main() 149 PRINT_FIELD_U(", ", pinfo, pdi_reserve); in main() 150 PRINT_FIELD_U(", ", pinfo, pdi_copy_thresh); in main() 151 PRINT_FIELD_U(", ", pinfo, pdi_tstamp); in main()
|
/external/libkmsxx/utils/ |
D | kmstest.cpp | 243 …ceManager& resman, Card& card, const string& plane_str, const OutputInfo& output, PlaneInfo& pinfo) in parse_plane() argument 263 pinfo.plane = p; in parse_plane() 270 pinfo.plane = planes[num]; in parse_plane() 273 auto plane = resman.reserve_plane(pinfo.plane); in parse_plane() 275 EXIT("Plane id %u is not available", pinfo.plane->id()); in parse_plane() 278 pinfo.w = stoul(sm[5]); in parse_plane() 279 pinfo.h = stoul(sm[6]); in parse_plane() 282 pinfo.x = stoul(sm[3]); in parse_plane() 284 pinfo.x = output.mode.hdisplay / 2 - pinfo.w / 2; in parse_plane() 287 pinfo.y = stoul(sm[4]); in parse_plane() [all …]
|
/external/autotest/client/cros/ |
D | ec.py | 336 pinfo = dict(enabled=None, power_role=None, data_role=None, 338 pinfo['enabled'] = match.group(2) == 'enabled' 339 pinfo['power_role'] = 'sink' if match.group(3) == 'SNK' else 'source' 340 pinfo['data_role'] = match.group(4) 341 pinfo['is_reversed'] = True if match.group(5) == '2' else False 342 pinfo['state'] = match.group(6) 343 logging.debug('port_info = %s', pinfo) 344 return pinfo
|
/external/mesa3d/src/gallium/drivers/tegra/ |
D | tegra_context.c | 49 const struct pipe_draw_info *pinfo) in tegra_draw_vbo() argument 55 if (pinfo && (pinfo->indirect || pinfo->index_size)) { in tegra_draw_vbo() 56 memcpy(&info, pinfo, sizeof(info)); in tegra_draw_vbo() 58 if (pinfo->indirect) { in tegra_draw_vbo() 59 memcpy(&indirect, pinfo->indirect, sizeof(indirect)); in tegra_draw_vbo() 64 if (pinfo->index_size && !pinfo->has_user_indices) in tegra_draw_vbo() 67 pinfo = &info; in tegra_draw_vbo() 70 context->gpu->draw_vbo(context->gpu, pinfo); in tegra_draw_vbo() 687 tegra_blit(struct pipe_context *pcontext, const struct pipe_blit_info *pinfo) in tegra_blit() argument 692 if (pinfo) { in tegra_blit() [all …]
|
/external/boringssl/src/crypto/x509v3/ |
D | v3_cpols.c | 415 POLICYINFO *pinfo; in i2r_certpol() local 418 pinfo = sk_POLICYINFO_value(pol, i); in i2r_certpol() 420 i2a_ASN1_OBJECT(out, pinfo->policyid); in i2r_certpol() 422 if (pinfo->qualifiers) in i2r_certpol() 423 print_qualifiers(out, pinfo->qualifiers, indent + 2); in i2r_certpol()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509v3/ |
D | v3_cpols.c | 415 POLICYINFO *pinfo; in i2r_certpol() local 418 pinfo = sk_POLICYINFO_value(pol, i); in i2r_certpol() 420 i2a_ASN1_OBJECT(out, pinfo->policyid); in i2r_certpol() 422 if (pinfo->qualifiers) in i2r_certpol() 423 print_qualifiers(out, pinfo->qualifiers, indent + 2); in i2r_certpol()
|
/external/strace/linux/sh64/ |
D | rt_sigframe.h | 34 siginfo_t *pinfo; member
|
/external/strace/linux/bfin/ |
D | rt_sigframe.h | 35 siginfo_t *pinfo; member
|
/external/strace/linux/m68k/ |
D | rt_sigframe.h | 36 siginfo_t *pinfo; member
|
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/ |
D | MainActivity.java | 95 PackageInfo pinfo = getPackageManager().getPackageInfo(getPackageName(), 0); in onCreate() local 100 mVersionText = "OboeTester (" + pinfo.versionCode + ") v " + pinfo.versionName in onCreate()
|
D | AnalyzerActivity.java | 115 PackageInfo pinfo = getPackageManager().getPackageInfo(getPackageName(), 0); in getCommonTestReport() local 116 report.append(String.format("test.version = %s\n", pinfo.versionName)); in getCommonTestReport() 117 report.append(String.format("test.version.code = %d\n", pinfo.versionCode)); in getCommonTestReport()
|
/external/strace/linux/i386/ |
D | rt_sigframe.h | 36 uint32_t pinfo; member
|