Lines Matching refs:PID_LEN
18 #define PID_ISEMPTY(p) (memcmp(p, PID_EMPTY, PID_LEN) == 0)
19 #define PID_LEN (25) /* PID entry length */
217 char *p, buf[PID_LEN + 10], pid_buf[PID_LEN + 10];
249 env, dbenv->registry, buf, PID_LEN, &nr)) != 0)
259 if (nr != PID_LEN) {
276 if (memcmp(buf, pid_buf, PID_LEN) == 0) {
298 pos = (off_t)lcnt * PID_LEN;
344 for (lcnt = (u_int)end / PID_LEN +
345 ((u_int)end % PID_LEN == 0 ? 0 : 1); lcnt > 0; --lcnt)
347 dbenv->registry, PID_EMPTY, PID_LEN, &nw)) != 0)
359 env, dbenv->registry, buf, PID_LEN, &nr)) != 0)
361 if (nr == PID_LEN && !PID_ISEMPTY(buf))
363 pos = (off_t)lcnt * PID_LEN;
373 dbenv->registry, pid_buf, PID_LEN, &nw)) != 0)
423 env, dbenv->registry, PID_EMPTY, PID_LEN, &nw)) != 0)