/ast/src/cmd/ksh93/tests/ |
H A D | return.sh | 79 ret=$? 80 if (( $ret != 35 )) 81 then err_exit "exit 35 is $ret not 35" 84 ret=$? 85 if (( $ret != 35 )) 86 then err_exit "return 35 is $ret not 35" 92 ret=$? 93 if (( $ret != 3 )) 94 then err_exit "foo 0 3: return is $ret not 3" 101 ret [all...] |
/ast/src/cmd/cs/ |
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/cmd/cs/vcs_src/ |
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...] |
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_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 | ifs_agent.c | 581 IfsMount( ret, retsize, uid, argc, argv ) 582 char *ret; 604 return csputmsg( ret, retsize, -1 ); 608 return csputmsg( ret, retsize, 0 ); 615 IfsConnect( ret, retsize, uid, argc, argv ) 616 char *ret; 624 return csputmsg( ret, retsize, 0 ); 625 return csputmsg( ret, retsize, -1 ); 632 IfsDisconnect( ret, retsize, uid, argc, argv ) 633 char *ret; [all...] |
/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...] |
/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/libtksh/tcl/ |
H A D | regexp.c | 332 register char *ret; local 346 ret = regnode(OPEN+parno,rcstate); 348 ret = NULL; 354 if (ret != NULL) 355 regtail(ret, br); /* OPEN -> first. */ 357 ret = br; 366 regtail(ret, br); /* BRANCH -> BRANCH. */ 374 regtail(ret, ender); 377 for (br = ret; br != NULL; br = regnext(br)) 391 return(ret); 404 register char *ret; local 445 register char *ret; local 479 regtail(regnode(BACK,rcstate), ret); /* loop back */ local 510 register char *ret; local 622 register char *ret; local [all...] |
/ast/src/cmd/3d/ |
H A D | fsync3d.c | 35 return(state.ret);
|
H A D | fchmod3d.c | 35 return(state.ret);
|
H A D | fchown3d.c | 35 return state.ret;
|
H A D | fpathconf3d.c | 37 return(state.ret);
|
H A D | fstatvfs3d.c | 37 return(state.ret);
|
H A D | statvfs3d.c | 36 return(state.ret);
|
H A D | getdents3d.c | 37 return(state.ret); 70 return(state.ret);
|
H A D | acl3d.c | 45 return state.ret;
|
H A D | chmod3d.c | 53 return(state.ret);
|
H A D | chown3d.c | 38 return(state.ret);
|
/ast/src/lib/libdss/ |
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 | dssmisc.c | 124 Cxoperand_t ret; local 126 if (cxcast(record->file->dss->cx, &ret, variable, type, record, details)) 128 *value = ret.value;
|
/ast/src/lib/libbz/ |
H A D | bzlib.c | 887 Int32 ret; local 915 ret = bzCompressInit ( &(bzf->strm), blockSize100k, 917 if (ret != BZ_OK) 918 { BZ_SETERR(ret); free(bzf); return NULL; }; 934 Int32 n, n2, ret; local 954 ret = bzCompress ( &(bzf->strm), BZ_RUN ); 955 if (ret != BZ_RUN_OK) 956 { BZ_SETERR(ret); return; }; 980 Int32 n, n2, ret; local 997 ret 1038 int ret; local 1109 Int32 n, ret; local 1200 int ret; local 1251 int ret; local 1481 Int32 n, n2, ret; local [all...] |
/ast/src/cmd/dsslib/ip_t/ |
H A D | ip_t.c | 94 addrv4_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 105 ret->value.number = addr; 146 addrv6_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 167 ret->value.buffer.data = ap; 168 ret->value.buffer.size = sizeof(*ap); 181 addr_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 190 ret->value.number = addrv4; 191 ret->type = IPV4ADDR_T; 205 ret->value.buffer.data = ap; 206 ret 226 as16path_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 245 as32_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 273 as32path_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 287 aspath_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 381 cluster_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 411 community_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 441 extended_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 471 labels_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 508 prefixv4_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 561 prefixv6_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 595 prefix_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...] |
/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/cmd/ksh93/data/ |
H A D | bash_pre_rc.sh | 223 local ret 229 ret=$? 230 if [[ $ret != 0 ]]; then 247 return $ret
|