Lines Matching refs:ip
204 * allocate and read the binary message catalog ip
205 * if ip==0 then space is allocated for mcput()
210 mcopen(register Sfio_t* ip)
224 if (ip)
230 if (sfread(ip, buf, MC_MAGIC_SIZE) != MC_MAGIC_SIZE)
250 if (ip)
256 if (!(sp = sfgetr(ip, 0, 0)) || !(mc->translation = vmstrdup(vm, sp)))
265 if (!(sp = sfgetr(ip, 0, 0)))
273 mc->nstrs = sfgetu(ip);
274 mc->nmsgs = sfgetu(ip);
275 mc->num = sfgetu(ip);
276 if (sfeof(ip))
288 if (!ip)
299 while (i = sfgetu(ip))
303 n = sfgetu(ip);
315 if (n = sfgetu(ip))
325 if (sfread(ip, rp, mc->nstrs) != mc->nstrs || sfgetc(ip) != EOF)