/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_rquota.c | 69 char *line; local 82 line = get_sum_line(); 87 (void) sprintf(line, 92 check_retransmit(line, xid); 94 (void) sprintf(line, "RQUOTA R %s ", 96 line += strlen(line); 99 (void) sprintf(line, "OK"); 101 (void) sprintf(line, "No quota"); 103 (void) sprintf(line, "N [all...] |
H A D | snoop_nfs.c | 133 char *line; local 142 line = get_sum_line(); 145 (void) sprintf(line, 148 line += strlen(line); 154 (void) sprintf(line, sum_nfsfh()); 162 (void) sprintf(line, "%s %s", 172 (void) sprintf(line, "%s at %d for %d", 177 (void) sprintf(line, "%s %s", 180 line [all...] |
/opensolaris-onvv-gate/usr/src/cmd/tbl/ |
H A D | tg.c | 25 char line[BIGBUF]; local 31 fprintf(tabout, ".nr %d \\n(.lu\n", SL); /* remember old line length */ 59 while (gets1(line, sizeof line)) 61 if (line[0]=='T' && line[1]=='}' && line[2]== tab) break; 62 if (match("T}", line)) break; 63 fprintf(tabout, "%s\n", line); 73 /* copy remainder of line */ [all...] |
/opensolaris-onvv-gate/usr/src/cmd/ypcmd/ |
H A D | stdhosts.c | 72 char line[INPUTSIZ]; local 80 int lineno = 0; /* Input line counter */ 116 (fgetsp = fgets(line, sizeof (line), fp)) != NULL) { 120 if ((commentp = strchr(line, '#')) != NULL) { 121 if ((line[strlen(line) - 1] != '\n') && 122 (strlen(line) >= (sizeof (line) - 1))) { 124 * Discard the remainder of the line [all...] |
/opensolaris-onvv-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_mem.c | 40 int line, 44 debug_free(file, line, p); 67 int line, 73 mem = debug_malloc(file, line, s); 107 int line, 111 return (memset(_Malloc(file, line, s), 0, s)); 134 int line, 140 p = debug_malloc(file, line, s); 142 p = debug_realloc(file, line, p, s); 175 int line, 38 _Free( char *file, int line, void *p ) argument 65 _Malloc( char *file, int line, size_t s ) argument 105 _Zalloc( char *file, int line, size_t s ) argument 132 _Realloc( char *file, int line, void *p, size_t s ) argument 173 _Calloc( char *file, int line, size_t n, size_t s ) argument 222 _Strdup( char *file, int line, char *p ) argument [all...] |
/opensolaris-onvv-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | escparse.y | 37 * display the filename, line number, and current input stream of tokens 112 { $$ = tree_decl(T_EVENT, $2, $3, $1.file, $1.line); } 114 { $$ = tree_decl(T_ENGINE, $2, $3, $1.file, $1.line); } 117 $$ = tree_stmt(T_PROP, $2, $1.file, $1.line); 121 $$ = tree_stmt(T_MASK, $2, $1.file, $1.line); 125 $$ = tree_decl(T_ASRU, $2, $3, $1.file, $1.line); 129 $$ = tree_decl(T_FRU, $2, $3, $1.file, $1.line); 133 $$ = tree_decl(T_CONFIG, $2, $3, $1.file, $1.line); 156 { $$ = tree_num($1.s, $1.file, $1.line); } 159 { $$ = tree_name($1.s, IT_NONE, $1.file, $1.line); } [all...] |
H A D | alloc.c | 70 alloc_malloc(size_t nbytes, const char *fname, int line) argument 75 outfl(O_DIE, fname, line, "malloc: out of memory"); 92 alloc_realloc(void *ptr, size_t nbytes, const char *fname, int line) argument 97 out(O_DIE, fname, line, "realloc: out of memory"); 108 alloc_strdup(const char *ptr, const char *fname, int line) argument 113 outfl(O_DIE, fname, line, "strdup: out of memory"); 125 alloc_free(void *ptr, const char *fname, int line) argument
|
H A D | alloc.h | 40 void *alloc_realloc(void *ptr, size_t nbytes, const char *fname, int line); 41 void *alloc_malloc(size_t nbytes, const char *fname, int line); 42 void alloc_free(void *ptr, const char *fname, int line); 43 char *alloc_strdup(const char *ptr, const char *fname, int line);
|
/opensolaris-onvv-gate/usr/src/cmd/mail/ |
H A D | copymt.c | 67 while ((n = getaline(line, sizeof line, f1)) > 0) { 70 } else if ((hdr = isheader (line, &ctf)) == FALSE) { 71 ctf = FALSE; /* next line can't be cont. */ 77 * first non-header line. 80 let[nlet-1].text = istext((unsigned char*)line,clen); 85 if (fwrite(line,1,(int)clen,f2) != clen) { 93 strmove (line, line+clen); 96 hdr = isheader(line, [all...] |
/opensolaris-onvv-gate/usr/src/lib/libparted/common/libparted/ |
H A D | debug.c | 36 static void default_handler ( const int level, const char* file, int line, 45 static void default_handler ( const int level, const char* file, int line, argument 49 level, file, line, function, msg ); 58 void ped_debug ( const int level, const char* file, int line, argument 68 debug_handler ( level, file, line, function, msg_concat ); 86 const char* file, int line, const char* function ) 114 cond_text, file, line, function ); 85 ped_assert( int cond, const char* cond_text, const char* file, int line, const char* function ) argument
|
/opensolaris-onvv-gate/usr/src/cmd/refer/ |
H A D | glue4.c | 26 char line[200], *s, argig[100], *cv[50]; local 82 while (fgets(line, 100, gf) == line) { 83 line[100] = 0; 85 fprintf(stderr, "read line as //%s//\n", line); 87 for (s = line; *s && (*s != '\t'); s++) 93 if (line[0]) 94 strcat(out, line); 100 fprintf(stderr, "line [all...] |
/opensolaris-onvv-gate/usr/src/lib/libtecla/common/ |
H A D | history.h | 55 int _glh_add_history(GlHistory *glh, const char *line, int force); 57 int _glh_search_prefix(GlHistory *glh, const char *line, int prefix_len); 59 char *_glh_find_backwards(GlHistory *glh, char *line, size_t dim); 60 char *_glh_find_forwards(GlHistory *glh, char *line, size_t dim); 64 char *_glh_oldest_line(GlHistory *glh, char *line, size_t dim); 65 char *_glh_current_line(GlHistory *glh, char *line, size_t dim); 68 * Whenever a new line is added to the history buffer, it is given 74 * Query the id of a history line offset by a given number of lines from 82 * Recall a line by its history buffer ID. If the line i [all...] |
/opensolaris-onvv-gate/usr/src/tools/onbld/Checks/ |
H A D | Copyright.py | 38 def err(stream, msg, fname, line=None): 39 if line: 40 stream.write("%s: %d: %s\n" % (fname, line, msg)) 69 for line in fh: 74 if licterms in line: 80 if oldcopyright.search(line): 87 elif oldcopyright1.search(line): 93 elif suncopyright.search(line): 106 match = goodcopyright.search(line) 108 # only check for the old license message on the line [all...] |
/opensolaris-onvv-gate/usr/src/cmd/ipf/lib/common/ |
H A D | ipft_hx.c | 62 char line[513]; local 66 * interpret start of line as possibly "[ifname]" or 74 while (fgets(line, sizeof(line)-1, tfp)) { 75 if ((s = strchr(line, '\n'))) { 76 if (s == line) 80 if ((s = strchr(line, '#'))) 82 if (!*line) 85 printf("input: %s", line); 88 if ((*line [all...] |
/opensolaris-onvv-gate/usr/src/cmd/ttymon/ |
H A D | admutil.c | 51 int line = 0; /* line number we found entry on */ local 55 line++; 61 return(line);
|
/opensolaris-onvv-gate/usr/src/lib/libldap4/common/ |
H A D | dsparse.c | 62 char *p, *line, *token, **toks; local 68 if (( rc = next_line( bufp, blenp, &line )) <= 0 ) { 73 free( line ); 78 p = line; 83 free( line ); 96 free( line ); 113 char *linestart, *line, *p; local 152 if (( line = malloc( p - linestart )) == NULL ) { 157 (void) memcpy( line, linestart, p - linestart ); 158 line[ [all...] |
/opensolaris-onvv-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | dsparse.c | 50 char *p, *line, *token, **toks; local 55 if (( rc = next_line( bufp, blenp, &line )) <= 0 ) { 60 NSLDAPI_FREE( line ); 65 p = line; 70 NSLDAPI_FREE( line ); 83 NSLDAPI_FREE( line ); 100 char *linestart, *line, *p; local 139 if (( line = NSLDAPI_MALLOC( p - linestart )) == NULL ) { 144 SAFEMEMCPY( line, linestart, p - linestart ); 145 line[ [all...] |
/opensolaris-onvv-gate/usr/src/lib/libnsl/saf/ |
H A D | checkver.c | 54 char line[BUFSIZ]; /* temp buffer for input */ local 60 p = line; 71 p = line;
|
/opensolaris-onvv-gate/usr/src/cmd/line/ |
H A D | Makefile | 28 PROG= line
|
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/MIME/Base64/t/ |
H A D | warn.t | 66 Warning: something's wrong at $0 line 31. 67 Premature end of base64 data at $0 line 33. 68 Premature padding of base64 data at $0 line 34. 69 Warning: something's wrong at $0 line 35. 70 Premature end of base64 data at $0 line 38. 71 Premature padding of base64 data at $0 line 42. 72 Warning: something's wrong at $0 line 44. 73 Warning: something's wrong at $0 line 53.
|
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/utils/port/ |
H A D | MapFiles | 57 my ($infh, $outfh, $line, %file); 73 while (defined($line = <$infh>)) { 74 chomp($line); 75 $line = (split(m{\s+}, $line, 2))[0]; 77 if ($line =~ m{/}) { 78 ($p, $f) = $line =~ m{^(.*)/(.*)$}; 81 $f = $line; 89 while (defined($line = <$infh>)) { 90 chomp($line); [all...] |
/opensolaris-onvv-gate/usr/src/common/openssl/crypto/ |
H A D | mem.c | 78 static void *default_malloc_ex(size_t num, const char *file, int line) argument 80 static void *(*malloc_ex_func)(size_t, const char *file, int line) 85 const char *file, int line) 87 static void *(*realloc_ex_func)(void *, size_t, const char *file, int line) 93 static void *default_malloc_locked_ex(size_t num, const char *file, int line) argument 95 static void *(*malloc_locked_ex_func)(size_t, const char *file, int line) 250 void *CRYPTO_malloc_locked(int num, const char *file, int line) argument 261 malloc_debug_func(NULL, num, file, line, 0); 263 ret = malloc_locked_ex_func(num,file,line); 268 malloc_debug_func(ret, num, file, line, 84 default_realloc_ex(void *str, size_t num, const char *file, int line) argument 291 CRYPTO_malloc(int num, const char *file, int line) argument 320 CRYPTO_realloc(void *str, int num, const char *file, int line) argument 341 CRYPTO_realloc_clean(void *str, int old_len, int num, const char *file, int line) argument 383 CRYPTO_remalloc(void *a, int num, const char *file, int line) argument [all...] |
/opensolaris-onvv-gate/usr/src/lib/cfgadm_plugins/sbd/ |
H A D | sbdgenerr.pl | 31 my ($line) = @_; 32 $line =~ s#/\*|\*/##g; 33 $line =~ s#^\s+|\s+$##g; 34 return $line;
|
/opensolaris-onvv-gate/usr/src/lib/libplot/plot/common/ |
H A D | line.c | 38 line(short x0, short y0, short x1, short y1) function
|
/opensolaris-onvv-gate/usr/src/lib/libsqlite/tool/ |
H A D | mkopts.tcl | 13 set line [gets stdin] 14 if {$line==""} continue 15 regsub -all "\[ \t\n,\]+" [string trim $line] { } line 16 foreach token [split $line { }] {
|