/ast/src/lib/libast/hash/ |
H A D | hashalloc.c | 44 register Hash_table_t* ret = 0; local 189 ret = tab; 198 if (!ret) hashfree(tab); 199 return(ret);
|
/ast/src/lib/libcs/ |
H A D | msgsend.c | 36 msgsend(int fd, register Msg_call_t* msg, unsigned long call, long ret, int err, void* data) argument 50 ret = ret == -1 ? ~msg->stamp : msg->stamp; 57 msgputu(&b, e, ret); 58 if (ret == -1) msgputu(&b, e, err); 63 de = (struct dirent*)((char*)dp + ret); 128 msgputz(&b, e, data, ret); 131 ret = b - msg->data; 132 msgsetsize(msg->data, ret); 133 if (cswrite(&cs, fd, msg->data, ret) ! [all...] |
H A D | msguser.c | 41 msgvcall(int fd, unsigned long channel, unsigned long call, Msg_return_t* ret, void** xp, va_list ap) argument 95 if ((t = msgcall(fd, channel, call, ret, ip, b, z, o)) == -1) 110 if (ret) call |= MSG_VALUE; 138 if (ret) 140 ip = &ret->file; 148 msgputu(&b, e, ret ? ret->number : 0); 183 if (ret) n = ret->number; 376 msgcall(int fd, unsigned long channel, unsigned long call, Msg_return_t* ret, argument [all...] |
H A D | csopen.c | 276 int ret; local 285 ret = csopen(&tmp, path, CS_OPEN_TEST); 289 return ret;
|
/ast/src/cmd/cs/vcs_src/ |
H A D | mnt_vcs.c | 25 int ret; local 32 if ((ret = write(istate.fd, buf, strlen(buf))) < 0) 38 return (ret); 45 int ret; local 61 ret = read(istate.fd, buf, bufsize); 62 if (ret <= 0) 69 buf[ret] = '\0'; 70 return (ret);
|
H A D | vcs_rscs.c | 29 rscs_out(int argc, char** argv, char* ret, int* n) argument 40 *n = sfsprintf(ret, *n, "E arguments error\n"); 55 *n = sfsprintf(ret, *n, "E %s cannot open for read\n", rf.path); 60 *n = sfsprintf(ret, *n, "E %s not vcs\n", rf.path); 68 *n = sfsprintf(ret, *n, "E version %s not existed\n", vs.version); 75 *n = sfsprintf(ret, *n, "E %s cannot open for write\n", vs.path); 81 *n = sfsprintf(ret, *n, "E checkout\n"); 90 *n = sfsprintf(ret, *n, "I %s(%s) checkout\n", vs.path, vs.tp->version); 95 rscs_instances(int argc, char** argv, char* ret, int* n) argument 109 *n = sfsprintf(ret, * [all...] |
H A D | mnt_imount.c | 95 int ret; local 116 ret = (*COMMAND[i].main)(argc, argv); 117 exit(ret);
|
H A D | vcs.c | 138 char ret[ 4 * PATH_MAX ]; local 153 (void) tmform(ret, "%i", &t); 154 sfprintf( CST->logfd, "[%s]\n%s\n", ret, msg ); 157 n = sizeof(ret); 160 n = IfsConnect( ret, n, uid, argc, argv ); 163 n = IfsDisconnect( ret, n, uid, argc, argv ); 166 n = IfsGetFile( ret, n, uid, argc, argv ); 169 n = sfsprintf(ret, n, command_help ); 172 n = rscs_instances( argc, argv, ret, &n ); 178 n = IfsListDEnts( ret, [all...] |
/ast/src/cmd/dsslib/html/ |
H A D | html.c | 31 html_ref_F(Cx_t* cx, Cxvariable_t* var, Cxoperand_t* ret, Cxoperand_t* arg, int n, void* data, Cxdisc_t* disc) argument 92 ret->value.string.size = t - b; 93 ret->value.string.data = b; 96 ret->value = arg->value;
|
/ast/src/lib/libdss/ |
H A D | dssmisc.c | 124 Cxoperand_t ret; local 126 if (cxcast(record->file->dss->cx, &ret, variable, type, record, details)) 128 *value = ret.value;
|
H A D | dssopt.c | 33 optout(register Sfio_t* sp, const char* name, const char* type, const char* map, const char* ret, const char* s, const char* x) argument 42 if (ret) 43 sfprintf(sp, "%s ", ret); 50 if (type && !ret)
|
H A D | dssprintf.c | 92 Cxoperand_t ret; local 94 if (ap->expr && cxeval(fp->cx, ap->expr, fp->data, &ret) < 0 || cxcast(fp->cx, &ret, ap->variable, ap->cast, fp->data, ap->details)) 104 if (ret.value.number < 1) 106 else if (ret.value.number > UCHAR_MAX) 109 value->c = (unsigned char)ret.value.number; 113 value->f = ret.value.number; 124 if (((ret.value.number >= 0) ? ret.value.number : -ret [all...] |
H A D | tag.c | 295 int ret; local 300 ret = -1; 361 ret = 0; 408 return ret;
|
/ast/src/lib/libpp/ |
H A D | ppcall.c | 49 int ret; local 61 ret = -1; 139 ret = 1; 433 ret = !mac->size; 441 ret = 1; 445 if (ret < 0 && sym->hidden && !(pp.mode & EXPOSE) && !(pp.state & HEADER) && (pp.in->type == IN_FILE || pp.in->type == IN_MACRO || pp.in->type == IN_EXPAND)) 452 ret = 1; 457 return ret;
|
/ast/src/cmd/cs/ |
H A D | fs_env.c | 120 long ret; local 178 ret = 0; 199 ret = n; 222 ret = con->offset = n; 238 if (msgsend(fd, &msg, msg.call, err ? -1 : ret, err, op) <= 0)
|
H A D | dbm.c | 156 char ret[4 * PATH_MAX]; local 173 n = sfsprintf(ret, sizeof(ret), "I closed\n", key.dptr); 178 if (val.dptr) n = sfsprintf(ret, sizeof(ret), "I %s\n", val.dptr); 182 n = sfsprintf(ret, sizeof(ret), "E db io error\n"); 184 else n = sfsprintf(ret, sizeof(ret), "W %s not in db\n", key.dptr); 207 if (val.dptr) n = sfsprintf(ret, sizeo [all...] |
/ast/src/lib/libz/ |
H A D | infback.c | 155 ret = Z_BUF_ERROR; \ 208 ret = Z_BUF_ERROR; \ 259 int ret; /* return code */ local 379 ret = inflate_table(CODES, state->lens, 19, &(state->next), 381 if (ret) { 445 ret = inflate_table(LENS, state->lens, state->nlen, &(state->next), 447 if (ret) { 454 ret = inflate_table(DISTS, state->lens + state->nlen, state->ndist, 456 if (ret) { 591 ret [all...] |
H A D | inflate.c | 570 int ret; /* return code */ local 586 ret = Z_OK; 866 ret = inflate_table(CODES, state->lens, 19, &(state->next), 868 if (ret) { 932 ret = inflate_table(LENS, state->lens, state->nlen, &(state->next), 934 if (ret) { 941 ret = inflate_table(DISTS, state->lens + state->nlen, state->ndist, 943 if (ret) { 1115 ret = Z_STREAM_END; 1118 ret [all...] |
/ast/src/lib/libcmd/ |
H A D | cmp.c | 156 int ret = 0; local 164 return ret; 169 ret = 1; 173 return ret; 238 ret = 1;
|
/ast/src/lib/libtk/generic/ |
H A D | tkImgGIF.c | 659 int i, j, ret; 686 ret = 0; 688 ret |= ((buf[ i / 8 ] & (1 << (i % 8))) != 0) << j; 693 return ret; 656 int i, j, ret; local
|
/ast/src/cmd/ksh93/sh/ |
H A D | bash.c | 193 int n, f, ret=0; local 262 ret=1; 294 else if(!(setflag&SET_NOARGS)) /* no -s,-u but args, ret=0 if opt&mask==mask */ 297 ret+=((newflags.v[n]&opt.v[n])!=opt.v[n]); 301 return(ret);
|
/ast/src/cmd/3d/ |
H A D | fs.c | 145 * 0 returned if mounted with state.ret call return value 150 fscall(register Mount_t* mp, long call, int ret, ...) argument 174 state.ret = -1; 179 va_start(ap, ret); va_end(ap); 185 va_start(ap, ret); 246 va_start(ap, ret); 267 va_start(ap, ret); 277 fp = &state.file[ret]; 281 else rv.number = ret; 291 va_start(ap, ret); [all...] |
/ast/src/lib/libardir/ |
H A D | ar-omf.c | 406 int ret = -1; local 418 ret = ARDIR_CREATE; 423 if(ret<0 && !((op&ARDIR_DELETE) && fp)) 434 ret = ARDIR_REPLACE; 453 return(ret);
|
/ast/src/lib/librecsort/ |
H A D | rsmerge.c | 372 int ret; local 374 ret = mgflush(rs); 386 return ret; 570 int ret = -1; local 698 ret = 0; 705 { ret = 0; 816 ret = 0; 832 return ret;
|
/ast/src/cmd/dsslib/num_t/ |
H A D | num_t.c | 203 bcd_internal(Cx_t* cx, Cxtype_t* type, const char* details, Cxformat_t* format, Cxoperand_t* ret, const char* buf, size_t size, Vmalloc_t* vm, Cxdisc_t* disc) argument 244 FIXED_INTERNAL(f, w, &ret->value, format); 296 be_internal(Cx_t* cx, Cxtype_t* type, const char* details, Cxformat_t* format, Cxoperand_t* ret, const char* buf, size_t size, Vmalloc_t* vm, Cxdisc_t* disc) argument 321 ret->value.number = f4; 331 ret->value.number = f8; 343 FIXED_INTERNAL(f, v, &ret->value, format); 428 hash_internal(Cx_t* cx, Cxtype_t* type, const char* details, Cxformat_t* format, Cxoperand_t* ret, const char* buf, size_t size, Vmalloc_t* vm, Cxdisc_t* disc) argument 447 ret->value.string.data = (char*)t; 448 ret->value.string.size = format->width; 504 heka_internal(Cx_t* cx, Cxtype_t* type, const char* details, Cxformat_t* format, Cxoperand_t* ret, cons argument 953 ibm_internal(Cx_t* cx, Cxtype_t* type, const char* details, Cxformat_t* format, Cxoperand_t* ret, const char* buf, size_t size, Vmalloc_t* vm, Cxdisc_t* disc) argument 1036 le_internal(Cx_t* cx, Cxtype_t* type, const char* details, Cxformat_t* format, Cxoperand_t* ret, const char* buf, size_t size, Vmalloc_t* vm, Cxdisc_t* disc) argument 1117 sf_internal(Cx_t* cx, Cxtype_t* type, const char* details, Cxformat_t* format, Cxoperand_t* ret, const char* buf, size_t size, Vmalloc_t* vm, Cxdisc_t* disc) argument [all...] |