Lines Matching refs:ph
95 int ph, ps, np; in main() local
127 ph = GET_32BE(E_PHOFF); in main()
130 if (ph < E_HSIZE || ps < PH_HSIZE || np < 1) in main()
132 if (ph + (np + 2) * ps + nnote + nnote2 > n) in main()
136 if (GET_32BE(ph + PH_TYPE) == PT_NOTE) { in main()
141 ph += ps; in main()
146 if (buf[ph + i] != 0) in main()
150 ns = ph + 2 * ps; in main()
151 PUT_32BE(ph + PH_TYPE, PT_NOTE); in main()
152 PUT_32BE(ph + PH_OFFSET, ns); in main()
153 PUT_32BE(ph + PH_FILESZ, nnote); in main()
166 ph += ps; in main()
167 PUT_32BE(ph + PH_TYPE, PT_NOTE); in main()
168 PUT_32BE(ph + PH_OFFSET, ns); in main()
169 PUT_32BE(ph + PH_FILESZ, nnote2); in main()