/external/qemu/block/ |
H A D | parallels.c | 58 const struct parallels_header *ph = (const void *)buf; local 63 if (!memcmp(ph->magic, HEADER_MAGIC, 16) && 64 (le32_to_cpu(ph->version) == HEADER_VERSION)) 74 struct parallels_header ph; local 78 if (bdrv_pread(bs->file, 0, &ph, sizeof(ph)) != sizeof(ph)) 81 if (memcmp(ph.magic, HEADER_MAGIC, 16) || 82 (le32_to_cpu(ph.version) != HEADER_VERSION)) { 86 bs->total_sectors = le32_to_cpu(ph [all...] |
/external/jpeg/ |
H A D | mips_idct_le.S | 150 addq.ph $s4, $t0, $t4 # tmp10 151 subq.ph $s5, $t0, $t4 # tmp11 155 subq.ph $s6, $t2, $t6 # tmp12 ... 156 addq.ph $s7, $t2, $t6 # tmp13 158 mulq_rs.ph $s6, $s6, $t8 # ... tmp12 ... 160 addq.ph $t0, $s4, $s7 # tmp0 161 subq.ph $t6, $s4, $s7 # tmp3 168 shll_s.ph $s6, $s6, 1 # x2 172 subq.ph $s6, $s6, $s7 # ... tmp12 179 addq.ph [all...] |
/external/ipsec-tools/src/racoon/ |
H A D | gssapi.h | 68 #define gssapi_get_state(ph) \ 69 ((struct gssapi_ph1_state *)((ph)->gssapi_state)) 71 #define gssapi_set_state(ph, st) \ 72 (ph)->gssapi_state = (st) 74 #define gssapi_more_tokens(ph) \ 75 ((gssapi_get_state(ph)->gss_status & GSS_S_CONTINUE_NEEDED) != 0)
|
H A D | isakmp_cfg.c | 144 struct isakmp_gen *ph; local 189 ph = (struct isakmp_gen *)(packet + 1); 194 if (tlen < sizeof(*ph)) { 201 if (tlen < ntohs(ph->len)) { 208 plogdump(LLV_DEBUG, ph, ntohs(ph->len)); 217 plen = ntohs(ph->len); 218 nph = (struct isakmp_gen *)((char *)ph + plen); 236 if (memcmp(ph + 1, check->v, check->l) != 0) { 250 attrpl = (struct isakmp_pl_attr *)ph; [all...] |
/external/qemu/ |
H A D | charpipe.c | 83 CharPipeHalf* ph = cs->opaque; local 85 while (ph->bip_first) { 86 BipBuffer* bip = ph->bip_first; 87 ph->bip_first = bip->next; 90 ph->bip_last = NULL; 91 ph->peer = NULL; 98 CharPipeHalf* ph = cs->opaque; local 99 CharPipeHalf* peer = ph->peer; 100 BipBuffer* bip = ph->bip_last; 104 len, ph, quote_byte 204 charpipehalf_init( CharPipeHalf* ph, CharPipeHalf* peer ) argument [all...] |
H A D | elf_ops.h | 185 struct elf_phdr *phdr = NULL, *ph; local 227 ph = &phdr[i]; 228 glue(bswap_phdr, SZ)(ph); 234 ph = &phdr[i]; 235 if (ph->p_type == PT_LOAD) { 236 mem_size = ph->p_memsz; 239 if (ph->p_filesz > 0) { 240 if (lseek(fd, ph->p_offset, SEEK_SET) < 0) 242 if (read(fd, data, ph->p_filesz) != ph [all...] |
/external/libpcap/ |
H A D | pcap-enet.c | 55 register struct packet_header *ph; local 79 ph = (struct packet_header *)bp; 80 caplen = ph->tap.th_wirelen > snaplen ? snaplen : ph->tap 82 if (bpf_filter(fcode, (char *)ph->packet, 83 ph->tap.th_wirelen, caplen)) { 86 (*printit)((char *)ph->packet, 87 (struct timeval *)ph->tap.th_timestamp, 88 ph->tap.th_wirelen, caplen); 90 inc = ph [all...] |
/external/chromium-trace/trace-viewer/src/importer/ |
H A D | trace_event_importer.js | 79 if (eventData instanceof Array && eventData.length && eventData[0].ph) 85 eventData.traceEvents[0].ph; 159 if (event.ph == 'B') { 168 } else if (event.ph == 'E') { 193 } else if (event.ph == 'S') { 195 } else if (event.ph == 'F') { 197 } else if (event.ph == 'T') { 199 } else if (event.ph == 'I' || event.ph == 'i') { 206 } else if (event.ph [all...] |
/external/valgrind/main/coregrind/m_ume/ |
H A D | elf.c | 165 ESZ(Phdr) *ph = &e->p[i]; 169 if (ph->p_type != PT_LOAD) 172 addr = ph->p_vaddr+base; 173 memsz = ph->p_memsz; 181 ESZ(Phdr) *ph = &e->p[i]; 188 if (ph->p_type != PT_LOAD) 191 if (ph->p_flags & PF_X) prot |= VKI_PROT_EXEC; 192 if (ph->p_flags & PF_W) prot |= VKI_PROT_WRITE; 193 if (ph->p_flags & PF_R) prot |= VKI_PROT_READ; 195 addr = ph [all...] |
/external/elfutils/libdwfl/ |
H A D | dwfl_report_elf.c | 193 GElf_Phdr phdr_mem, *ph = gelf_getphdr (elf, i, &phdr_mem); local 194 if (unlikely (ph == NULL)) 196 if (ph->p_type == PT_LOAD) 198 if ((base & (ph->p_align - 1)) != 0) 199 base = (base + ph->p_align - 1) & -ph->p_align; 200 start = base + (ph->p_vaddr & -ph->p_align); 208 GElf_Phdr phdr_mem, *ph = gelf_getphdr (elf, i, &phdr_mem); local 209 if (unlikely (ph [all...] |
H A D | dwfl_module_getdwarf.c | 99 GElf_Phdr *ph = gelf_getphdr (file->elf, i, &ph_mem); local 100 if (ph == NULL) 102 if (ph->p_type == PT_LOAD) 104 file->bias = ((mod->low_addr & -ph->p_align) 105 - (ph->p_vaddr & -ph->p_align));
|
/external/freetype/src/pshinter/ |
H A D | pshmod.c | 55 void* ph = &module->ps_hints; local 63 module->t1_funcs.hints = (T1_Hints)ph; 66 module->t2_funcs.hints = (T2_Hints)ph;
|
/external/tcpdump/ |
H A D | print-wb.c | 393 register const struct pkt_hdr *ph; local 395 ph = (const struct pkt_hdr *)hdr; 396 if (len < sizeof(*ph) || (u_char *)(ph + 1) > snapend) { 400 len -= sizeof(*ph); 402 if (ph->ph_flags) 404 switch (ph->ph_type) { 411 if (wb_id((struct pkt_id *)(ph + 1), len) >= 0) 416 if (wb_rreq((struct pkt_rreq *)(ph + 1), len) >= 0) 421 if (wb_rrep((struct pkt_rrep *)(ph [all...] |
H A D | print-dccp.c | 73 } ph; member in union:phu 79 phu.ph.mbz = 0; 80 phu.ph.len = htons(len); 81 phu.ph.proto = IPPROTO_DCCP; 82 memcpy(&phu.ph.src, &ip->ip_src.s_addr, sizeof(u_int32_t)); 84 memcpy(&phu.ph.dst, &ip->ip_dst.s_addr, sizeof(u_int32_t)); 86 phu.ph.dst = ip_finddst(ip); 105 } ph; member in union:__anon13845 111 phu.ph.ph_src = ip6->ip6_src; 112 phu.ph [all...] |
H A D | print-tcp.c | 125 } ph; member in union:phu 131 phu.ph.len = htons((u_int16_t)len); 132 phu.ph.mbz = 0; 133 phu.ph.proto = IPPROTO_TCP; 134 memcpy(&phu.ph.src, &ip->ip_src.s_addr, sizeof(u_int32_t)); 136 memcpy(&phu.ph.dst, &ip->ip_dst.s_addr, sizeof(u_int32_t)); 138 phu.ph.dst = ip_finddst(ip); 159 } ph; member in union:__anon13881 165 phu.ph.ph_src = ip6->ip6_src; 166 phu.ph [all...] |
H A D | print-udp.c | 298 } ph; member in union:phu 304 phu.ph.len = htons((u_int16_t)len); 305 phu.ph.mbz = 0; 306 phu.ph.proto = IPPROTO_UDP; 307 memcpy(&phu.ph.src, &ip->ip_src.s_addr, sizeof(u_int32_t)); 309 memcpy(&phu.ph.dst, &ip->ip_dst.s_addr, sizeof(u_int32_t)); 311 phu.ph.dst = ip_finddst(ip); 332 } ph; member in union:__anon13884 338 phu.ph.ph_src = ip6->ip6_src; 339 phu.ph [all...] |
H A D | print-icmp6.c | 205 } ph; member in union:__anon13854 211 phu.ph.ph_src = ip6->ip6_src; 212 phu.ph.ph_dst = ip6->ip6_dst; 213 phu.ph.ph_len = htonl(len); 214 phu.ph.ph_nxt = IPPROTO_ICMPV6;
|
H A D | print-ppp.c | 1644 struct ppp_header *ph; local 1647 ph = (struct ppp_header *)q; 1648 if (ph->phdr_addr == PPP_ADDRESS 1649 && ph->phdr_ctl == PPP_CONTROL) { 1652 ptype = ntohs(ph->phdr_type);
|
/external/srec/audio/AudioIn/UNIX/src/ |
H A D | filter.c | 232 typeCoeff const *ph; // pointer to coefficients local 242 ph = pFIR->h; // point to coefficients 265 accum += *ph++ * *pz++; 273 accum += *ph++ * *pz++;
|
/external/chromium/chrome/browser/resources/gpu_internals/ |
H A D | timeline_model.js | 162 if (event.ph == 'B') { 167 } else if (event.ph == 'E') { 185 } else if (event.ph == 'I') { 189 throw new Error('Unrecognized event phase: ' + event.ph +
|
/external/linux-tools-perf/util/ |
H A D | header.h | 55 struct perf_header *ph, int fd); 85 struct perf_header *ph,
|
H A D | header.c | 584 struct perf_header *ph, 625 struct perf_header *ph, int fd) 641 ph->needs_swap = true; 652 memcpy(&ph->adds_features, &header->adds_features, 653 sizeof(ph->adds_features)); 661 if (ph->needs_swap) { 662 memset(&ph->adds_features, 0, sizeof(ph->adds_features)); 663 perf_header__set_feat(ph, HEADER_BUILD_ID); 666 ph 582 perf_header__process_sections(struct perf_header *header, int fd, int (*process)(struct perf_file_section *section, struct perf_header *ph, int feat, int fd)) argument 624 perf_file_header__read(struct perf_file_header *header, struct perf_header *ph, int fd) argument 820 perf_file_section__process(struct perf_file_section *section, struct perf_header *ph, int feat, int fd) argument 846 perf_file_header__read_pipe(struct perf_pipe_file_header *header, struct perf_header *ph, int fd, bool repipe) argument [all...] |
/external/svox/pico/tts/ |
H A D | svox_ssml_parser.cpp | 168 char16_t* ph = NULL; local 182 if (strcmp(attributes[i], "ph") == 0) 184 ph = new char16_t[strlen8to16(attributes[i+1]) + 1]; 185 ph = strdup8to16(attributes[i+1], &phsize); 188 if (!ph) 191 ALOGE("Error: bad SSML syntax, ph attribute not supplied."); 198 xsampasize = cnvIpaToXsampa(ph, phsize, &xsampastr); 199 delete [] ph; 208 xsampastr = strndup16to8(ph, phsize); 210 delete [] ph; [all...] |
/external/chromium/chrome/browser/first_run/ |
H A D | first_run_win.cc | 137 base::ProcessHandle ph; local 146 if (!base::LaunchApp(cl, false, false, &ph)) 148 DWORD wr = ::WaitForSingleObject(ph, INFINITE); 151 return (TRUE == ::GetExitCodeProcess(ph, reinterpret_cast<DWORD*>(ret_code)));
|
/external/srec/seti/sltsEngine/src/ |
H A D | run_seq_lts.c | 82 int find_phone(const char *ph, PM *pm); 331 char * ph; local 351 pm->phones[i] = ph = (char*) lts_alloc(len+1, sizeof(char)); 352 if (ph == NULL) { 357 PORT_FREAD_CHAR(ph, sizeof(char), len, fp); 358 ph[len] = '\0'; 939 int find_phone(const char *ph, PM *pm) argument 943 rc = PHashTableGetValue((PHashTable*)pm->phoneH, ph, (void**)(void*)&iRet); 945 PLogError("error while in find_phone(%s,%x)\n", ph, pm);
|