Lines Matching refs:name

376 tzloadbody(char const *name, struct state *sp, bool doextend,  in tzloadbody()  argument
392 if (! name) { in tzloadbody()
393 name = TZDEFAULT; in tzloadbody()
394 if (! name) in tzloadbody()
401 fid = __bionic_open_tzdata(name, &entry_length); in tzloadbody()
403 if (name[0] == ':') in tzloadbody()
404 ++name; in tzloadbody()
405 doaccess = name[0] == '/'; in tzloadbody()
410 if (sizeof lsp->fullname - 1 <= strlen(p) + strlen(name)) in tzloadbody()
414 strcat(fullname, name); in tzloadbody()
416 if (strchr(name, '.')) in tzloadbody()
418 name = fullname; in tzloadbody()
420 if (doaccess && access(name, R_OK) != 0) in tzloadbody()
422 fid = open(name, OPEN_MODE); in tzloadbody()
686 tzload(char const *name, struct state *sp, bool doextend) in tzload() argument
693 int err = tzloadbody(name, sp, doextend, lsp); in tzload()
699 return tzloadbody(name, sp, doextend, &ls); in tzload()
1014 tzparse(const char *name, struct state *sp, bool lastditch) in tzparse() argument
1026 stdname = name; in tzparse()
1029 name += stdlen; in tzparse()
1032 if (*name == '<') { in tzparse()
1033 name++; in tzparse()
1034 stdname = name; in tzparse()
1035 name = getqzname(name, '>'); in tzparse()
1036 if (*name != '>') in tzparse()
1038 stdlen = name - stdname; in tzparse()
1039 name++; in tzparse()
1041 name = getzname(name); in tzparse()
1042 stdlen = name - stdname; in tzparse()
1046 name = getoffset(name, &stdoffset); in tzparse()
1047 if (name == NULL) in tzparse()
1056 if (*name != '\0') { in tzparse()
1057 if (*name == '<') { in tzparse()
1058 dstname = ++name; in tzparse()
1059 name = getqzname(name, '>'); in tzparse()
1060 if (*name != '>') in tzparse()
1062 dstlen = name - dstname; in tzparse()
1063 name++; in tzparse()
1065 dstname = name; in tzparse()
1066 name = getzname(name); in tzparse()
1067 dstlen = name - dstname; /* length of DST zone name */ in tzparse()
1074 if (*name != '\0' && *name != ',' && *name != ';') { in tzparse()
1075 name = getoffset(name, &dstoffset); in tzparse()
1076 if (name == NULL) in tzparse()
1079 if (*name == '\0' && !load_ok) in tzparse()
1080 name = TZDEFRULESTRING; in tzparse()
1081 if (*name == ',' || *name == ';') { in tzparse()
1089 ++name; in tzparse()
1090 if ((name = getrule(name, &start)) == NULL) in tzparse()
1092 if (*name++ != ',') in tzparse()
1094 if ((name = getrule(name, &end)) == NULL) in tzparse()
1096 if (*name != '\0') in tzparse()
1154 if (*name != '\0') in tzparse()
1256 zoneinit(struct state *sp, char const *name) in zoneinit() argument
1258 if (name && ! name[0]) { in zoneinit()
1272 int err = tzload(name, sp, true); in zoneinit()
1273 if (err != 0 && name && name[0] != ':' && tzparse(name, sp, false)) in zoneinit()
1282 tzsetlcl(char const *name) in tzsetlcl() argument
1285 int lcl = name ? strlen(name) < sizeof lcl_TZname : -1; in tzsetlcl()
1288 : 0 < lcl_is_set && strcmp(lcl_TZname, name) == 0) in tzsetlcl()
1295 if (zoneinit(sp, name) != 0) in tzsetlcl()
1298 strcpy(lcl_TZname, name); in tzsetlcl()
1354 tzalloc(char const *name) in tzalloc() argument
1358 int err = zoneinit(sp, name); in tzalloc()