Home | History | Annotate | Download | only in tzcode

Lines Matching defs:up

68 ** for now, we just set things up so that in any of the five cases
359 register u_t * up;
361 up = (u_t *) calloc(1, sizeof *up);
362 if (up == NULL)
366 register u_t * const up = &u;
377 nread = read(fid, up->buf, toread);
384 ttisstdcnt = (int) detzcode(up->tzhead.tzh_ttisstdcnt);
385 ttisgmtcnt = (int) detzcode(up->tzhead.tzh_ttisgmtcnt);
386 sp->leapcnt = (int) detzcode(up->tzhead.tzh_leapcnt);
387 sp->timecnt = (int) detzcode(up->tzhead.tzh_timecnt);
388 sp->typecnt = (int) detzcode(up->tzhead.tzh_typecnt);
389 sp->charcnt = (int) detzcode(up->tzhead.tzh_charcnt);
390 p = up->tzhead.tzh_charcnt + sizeof up->tzhead.tzh_charcnt;
398 if (nread - (p - up->buf) <
511 if (up->tzhead.tzh_version[0] == '\0')
513 nread -= p - up->buf;
515 up->buf[i] = p[i];
523 up->buf[0] == '\n' && up->buf[nread - 1] == '\n' &&
528 up->buf[nread - 1] = '\0';
529 result = tzparse(&up->buf[1], &ts, FALSE);
608 free(up);
613 free(up);