/osnet-11/usr/src/lib/libmail/common/ |
H A D | abspath.c | 4 * The contents of this file are subject to the terms of the 24 * Use is subject to license terms. 34 * abspath - expand a path relative to some `.' 37 * string *abspath(char *path, char *dot, string *to) 42 * returned in "to". Otherwise, the value of "path" is 43 * returned in "to". 49 abspath(char *path, char *dot, string *to) argument 52 to = s_append(to, path); 54 to [all...] |
H A D | strmove.c | 4 * The contents of this file are subject to the terms of the 24 * Use is subject to license terms. 40 * void strmove(char *to, char *from) 45 * It does it left-to-right, a byte at a time. 49 strmove(char *to, char *from) argument 51 while ((*to++ = *from++) != 0)
|
H A D | xgetenv.c | 4 * The contents of this file are subject to the terms of the 24 * Use is subject to license terms. 137 * environ to point to the local area. 175 char *to = from; local 184 *to++ = *from++; 192 *to++ = *from++; 200 *to++ = *from++; 203 while ((to > svfrom) && isspace((int)to[ [all...] |
H A D | s_string.c | 4 * The contents of this file are subject to the terms of the 24 * Use is subject to license terms. 38 /* global to this file */ 111 * take a larger increment to avoid mallocing too often 166 sp->ptr = sp->end - (size_t)1; /* point to NULL terminator */ 170 /* convert string to lower case */ 187 /* append a char array to a string */ 189 s_append(string *to, char *from) argument 191 if (to == NULL) 192 to 214 s_seq_read(FILE *fp, string *to, int lineortoken) argument 287 string *to = s_new(); local 300 string *to = s_clone(from); local 317 s_read_line(FILE *fp, string *to) argument 351 s_read_to_eof(FILE *fp, string *to) argument 388 s_parse(string *from, string *to) argument [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | cp_key_cnt.c | 11 * export to obtain such a license before exporting. 13 * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and 19 * to distribution of the software without specific, written prior 37 krb5_copy_keyblock_contents(krb5_context context, const krb5_keyblock *from, krb5_keyblock *to) argument 39 return krb5int_c_copy_keyblock_contents(context, from, to);
|
/osnet-11/usr/src/cmd/sendmail/libsm/ |
H A D | fflush.c | 7 * This code is derived from software contributed to Berkeley by 10 * By using this file, you agree to the terms and conditions set 32 ** SM_IO_FLUSH -- flush the buffer for a 'fp' to the "file" 34 ** Flush a single file. We don't allow this function to flush 38 ** fp -- the file pointer buffer to flush 39 ** timeout -- time to complete the flush 52 struct timeval to; local 67 SM_CONVERT_TIME(fp, fd, timeout, &to); 79 ** fp -- file pointer to be flushed 124 ** Set these immediately to avoi [all...] |
H A D | setvbuf.c | 7 * This code is derived from software contributed to Berkeley by 10 * By using this file, you agree to the terms and conditions set 37 ** fp -- the file that buffering is to be changed for 39 ** buf -- buffer to use 40 ** mode -- buffering method to use 60 struct timeval to; local 65 ** Verify arguments. The `int' limit on `size' is due to this 83 SM_CONVERT_TIME(fp, fd, timeout, &to); 103 ** a `tty flag' to suggest that we check isatty(fd), but we do not 104 ** care since our caller told us how to buffe [all...] |
H A D | refill.c | 7 * This code is derived from software contributed to Berkeley by 10 * By using this file, you agree to the terms and conditions set 37 ** This #define uses a select() to wait for the 'fd' to become readable. 38 ** The select() can be active for up to 'To' time. The select() may not 40 ** measured to decide how much to subtract from 'To' to update it. On some 44 ** since a BSD-like system will have updated it and we don't want to 51 ** fd -- raw file descriptor (from 'fp') to us 147 struct timeval to; local [all...] |
H A D | fvwrite.c | 7 * This code is derived from software contributed to Berkeley by 10 * By using this file, you agree to the terms and conditions set 35 ** fp -- the file pointer to write to 36 ** timeout -- time length for function to return by 37 ** uio -- the memory regions to write 44 ** to the different kinds of output buffering handled here. 70 struct timeval to; local 82 SM_CONVERT_TIME(fp, fd, timeout, &to); 90 /* Unbuffered: write up to BUFSI [all...] |
/osnet-11/usr/src/lib/libcurses/screen/ |
H A D | memSset.c | 4 * The contents of this file are subject to the terms of the 24 * Use is subject to license terms. 48 * additional memory routine to deal with memory areas in units of chtypes. 58 char *to; /* %r6 */ local 64 to = (char *)(sfrom + 1); 68 /* bcopy (count, to, from) */ 75 char *to; /* 0(%fp) */ 83 to = (char *)(sfrom + 1); 88 /* them in myself below to the regs where they belong. */ 90 asm(" movw 0(%fp),%r1"); /* to */ 110 memcpy(char *to, char *from, int count) argument [all...] |
H A D | winsdelln.c | 4 * The contents of this file are subject to the terms of the 24 * Use is subject to license terms. 50 * id < 0 : number of lines to delete 51 * id > 0 : number of lines to insert 57 int endy, endx, to, fr, num_lines, dir; local 69 * function to do it in one fell swoop. 86 * Check that the amount of lines to delete aren't larger 88 * don't have to re-compute if the if comes out true. 96 * moving "to" the new place. This is the offset which 97 * we have to r [all...] |
/osnet-11/usr/src/lib/libast/common/string/ |
H A D | swapmem.c | 34 * swap n bytes according to op 35 * from==to is ok 39 swapmem(int op, const void* from, void* to, register size_t n) argument 42 register char* t = (char*)to; 108 return to;
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | swab.c | 4 * The contents of this file are subject to the terms of the 37 #define STEP (void)((temp = *from++), (*to++ = *from++), (*to++ = temp)) 40 swab_impl(const char *from, char *to, ssize_t n) argument 47 /* round to multiple of 8 */ 59 * enables us to preserve historical behavior even in the 61 * point to the same location, bytes are swapped in place.
|
H A D | event_port.c | 4 * The contents of this file are subject to the terms of the 24 * Use is subject to license terms. 42 * number of the event ports framework. The version number is required to 44 * extension is required the port_create() function will be mapped to a second 48 * set to 0 and no check will be done in the kernel interface. 69 port_get(int port, port_event_t *pe, struct timespec *to) argument 72 if (to) 73 r.r_vals = _portfs(PORT_GET, port, (uintptr_t)pe, to->tv_sec, 74 to->tv_nsec, (uintptr_t)to); [all...] |
/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | wscrl.c | 4 * The contents of this file are subject to the terms of the 56 int y, x, width, start, finish, to; local 65 /* Shuffle pointers in order to scroll. The region 66 * from start to finish inclusive will be moved to 72 to = w->_bottom; 76 to = w->_top; 84 (void) __m_ptr_move((void **) w->_line, w->_maxy, start, finish, to);
|
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | wscrl.c | 4 * The contents of this file are subject to the terms of the 59 int start, finish, to; local 108 * Shuffle pointers in order to scroll. The region 109 * from start to finish inclusive will be moved to 115 to = w->_bottom; 119 to = w->_top; 127 start, finish, to);
|
H A D | ptrmove.c | 4 * The contents of this file are subject to the terms of the 51 * Return -1 if the region to move is out of bounds or the target 58 unsigned int start, unsigned int finish, unsigned int to) 63 if (to < start) { 64 reverse(array, to, start-1); 66 reverse(array, to, finish); 67 } else if (finish < to && to <= length) { 69 reverse(array, finish+1, to-1); 70 reverse(array, start, to 57 __m_ptr_move(void **array, unsigned int length, unsigned int start, unsigned int finish, unsigned int to) argument [all...] |
/osnet-11/usr/src/lib/libnsl/dial/ |
H A D | getargs.c | 4 * The contents of this file are subject to the terms of the 25 * Use is subject to license terms. 37 * generate a vector of pointers (arps) to the 40 * s -> string to analyze -- s GETS MODIFIED 86 char *str, *to, *cp; local 91 for (to = str; *str; str++) { 113 *to++ = '\\'; 114 *to++ = 'N'; 116 *to++ = (char)num; 121 *to [all...] |
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/ |
H A D | rec_delete.c | 5 * This code is derived from software contributed to Berkeley by 21 * may be used to endorse or promote products derived from this software 56 * dbp: pointer to access method 57 * key: key to delete 114 * nrec: record to delete 148 * idx: index on current page to delete 163 void *to; local 168 * them to be added being deleted. Pages made empty by deletion are 175 to = rl = GETRLEAF(h, idx); 185 memmove(from + nbytes, from, (char *)to [all...] |
/osnet-11/usr/src/common/crypto/ecc/ |
H A D | secitem.c | 5 * The contents of this file are subject to the Mozilla Public License Version 28 * of those above. If you wish to allow use of your version of this file only 29 * under the terms of either the GPL or the LGPL, and not to allow others to 40 * Sun elects to use this software under the MPL license. 118 * item->len to 0. 124 SECITEM_CopyItem(PRArenaPool *arena, SECItem *to, const SECItem *from, argument 127 to->type = from->type; 130 to->data = (unsigned char*) PORT_ArenaAlloc(arena, from->len, 133 to [all...] |
/osnet-11/usr/src/lib/libast/common/tm/ |
H A D | tmxtime.c | 35 * convert Tm_t to Time_t 41 * this routine works with a copy of Tm_t to avoid clashes 55 Tm_t* to; local 59 to = tm; 123 *to = *tm;
|
/osnet-11/usr/src/lib/libslp/clib/ |
H A D | slp_queue.c | 4 * The contents of this file are subject to the terms of the 24 * Use is subject to license terms. 70 * If an initialization error occured, returns NULL and sets err to 114 * Adds msg to the tail of queue q. 190 * 'to', returns NULL, and sets 'etimed' to true. If an error occured, 191 * returns NULL and sets 'etimed' to false. 193 void *slp_dequeue_timed(slp_queue_t *qa, timestruc_t *to, SLPBoolean *etimed) { argument 203 /* something's in the q, so no need to wait */ 209 if (to) { [all...] |
/osnet-11/usr/src/lib/libnisdb/yptol/ |
H A D | stubs.c | 4 * The contents of this file are subject to the terms of the 115 rename_map(char *from, char *to, bool_t secure_map) argument
|
/osnet-11/usr/src/lib/libsip/common/ |
H A D | sip_timeout.c | 4 * The contents of this file are subject to the terms of the 101 * Check if this is in the to-be run list 133 * Check if this is in the to-be scheduled list 304 timestruc_t to; local 316 to.tv_sec = tim.tv_sec + (delta / NANOSEC); 317 to.tv_nsec = (hrtime_t)(tim.tv_usec * MILLISEC) + 319 if (to.tv_nsec > NANOSEC) { 320 to.tv_sec += (to.tv_nsec / NANOSEC); 321 to [all...] |
/osnet-11/usr/src/lib/libnisdb/ |
H A D | db_log.cc | 4 * The contents of this file are subject to the terms of the 26 * Use is subject to license terms. 64 * function takes as arguments: pointer to log entry, character pointer to 65 * another argument, and pointer to an integer, which is used as a counter. 68 * is exhausted. The second argument to 'execute_on_log' is passed as the 69 * second argument to 'func'. The third argument, 'clean' determines whether 107 /* Print contents of log file to stdout */ 114 /* Make copy of current log to log pointed to b 214 int from, to, ret = 0; local [all...] |