Searched refs:loc (Results 1 - 10 of 10) sorted by relevance

/ast/src/lib/libast/misc/
H A Derrorx.c32 errorx(const char* loc, const char* cmd, const char* cat, const char* msg) argument
40 if (!loc)
41 loc = (const char*)locales[AST_LC_MESSAGES]->code;
46 if (s = (*error_info.translate)(loc, cmd, cat, msg))
H A Dstk.c321 * returns 1 if <loc> is on this stack
323 int stkon(register Sfio_t * stream, register char* loc) argument
328 if(loc>=((char*)(fp+1)) && loc< fp->end)
333 * reset the bottom of the current stack back to <loc>
334 * if <loc> is not in this stack, then the stack is reset to the beginning
338 char *stkset(register Sfio_t * stream, register char* loc, size_t offset) argument
355 if(loc==fp->aliases[n])
357 loc = cp;
361 /* see whether <loc> i
[all...]
H A Dtranslate.c269 * loc the LC_MESSAGES locale name
295 translate(const char* loc, const char* cmd, const char* cat, const char* msg) argument
363 sfprintf(sfstderr, "AHA#%d:%s cp->locale `%s' %p loc `%s' %p\n", __LINE__, __FILE__, cp->locale, cp->locale, loc, loc);
370 if (cp->locale != loc || cp->nlspath != nlspath)
372 cp->locale = loc;
426 if (r == (char*)msg && (!cp && streq(loc, "debug") || cp && cp->debug))
429 sfprintf(state.tmp, "(%s,%s,%s,%s)", loc, cmd, cat, r);
/ast/src/lib/libast/dir/
H A Dseekdir.c41 seekdir(register DIR* dirp, long loc)
46 if (telldir(dirp) != loc)
50 while (telldir(dirp) != loc)
/ast/src/cmd/msgcc/
H A Dmsgget.c54 char* loc; local
79 if (error_info.errors || !(loc = *argv++) || !(cmd = *argv++) || !(s = *argv++))
89 if (streq(loc, "-"))
90 loc = 0;
93 if (!mcfind(loc, cmd, LC_MESSAGES, 0, path, sizeof(path)) && (!cat || !mcfind(loc, cat, LC_MESSAGES, 0, path, sizeof(path))))
106 s = errorx(loc, cmd, cat, msg);
/ast/src/lib/libdll/
H A Ddlfcn.c215 char *loc; local
231 loc = (char*)ldsym->l_value;
234 loc += datareloc;
236 loc += textreloc;
237 return loc;
/ast/src/cmd/codexlib/lzh/
H A Dlzh.c68 ui4 loc; member in struct:State_s
934 return (state->loc - state->matchpos - MAGIC0) & 0x7ff;
987 return (state->loc - state->matchpos - MAGIC5) & 0xfff;
1181 *s++ = state->text[state->loc++] = state->text[state->cpy++];
1182 if (state->loc >= state->window)
1183 state->loc = 0;
1198 *s++ = state->text[state->loc++] = c;
1199 if (state->loc >= state->window)
1200 state->loc = 0;
1207 i = state->loc
[all...]
/ast/src/cmd/sortlib/sum/
H A Dsortsum.c425 char* loc; local
499 loc = "begin";
504 loc = "end";
517 error(2, "%d: invalid summary field %s position", n, loc);
526 error(2, "%d: invalid summary field %s offset", n, loc);
536 error(2, "%d: invalid summary field %s size", n, loc);
/ast/src/lib/libdss/
H A Ddssopen.c467 char* loc; local
485 loc = nxt = fmtbuf(n);
486 end = loc + n;
490 return loc;
/ast/src/cmd/re/
H A Dsed1.c676 word loc; /* progam counter */ local
684 loc = script->w - script->s;
725 script->w = script->s + loc;
736 *q = pack(neg,cmd,script->w-script->s-loc);

Completed in 19 milliseconds