/freebsd-10-stable/contrib/libreadline/ |
H A D | histsearch.c | 55 appear at the beginning of a history line, otherwise, the string 56 may appear anywhere in the line. If the string is found, then 58 function is the offset in the line of that history entry that the 68 register char *line; local 92 /* Search each line in the history list for STRING. */ 98 line = the_history[i]->line; 99 line_index = strlen (line); 101 /* If STRING is longer than line, no match. */ 111 if (STREQN (string, line, string_le [all...] |
/freebsd-10-stable/crypto/heimdal/appl/login/ |
H A D | utmpx_login.c | 26 int utmpx_login(char *line, const char *user, const char *host) { return 0; } argument 30 utmpx_update(struct utmpx *ut, char *line, const char *user, const char *host) argument 33 char *clean_tty = clean_ttyname(line); 58 prepare_utmp (&utmp, line, user, host); 68 utmpx_login(char *line, const char *user, const char *host) argument 89 utmpx_update(&save_ut, line, user, host); 99 utmpx_update(&newut, line, user, host);
|
/freebsd-10-stable/lib/libpam/modules/pam_ftpusers/ |
H A D | pam_ftpusers.c | 61 char *line, *name, **mem; local 77 while (!found && (line = fgetln(f, &len)) != NULL) { 78 if (*line == '#') 80 while (len > 0 && isspace(line[len - 1])) 85 if (*line != '@') { 86 if (len == ulen && strncmp(user, line, len) == 0) 91 asprintf(&name, "%.*s", (int)len - 1, line + 1);
|
/freebsd-10-stable/tools/tools/ansify/ |
H A D | ansify.pl | 43 my $line = 0; 65 warn("[$fn:$line] $func(): can't parse argument list\n"); 67 $line += @saved; 77 warn("[$fn:$line] $func(): unknown type for '$arg' argument\n"); 79 $line += @saved; 97 warn("[$fn:$line] $func(): too many arguments\n"); 99 $line += @saved; 103 ++$line; 105 warn("[$fn:$line] $func(): definition exceeds 80 characters\n") 108 ++$line; [all...] |
/freebsd-10-stable/crypto/openssl/crypto/perlasm/ |
H A D | x86_64-xlate.pl | 22 # - can't use multiple ops per line; 107 local *line = shift; 110 if ($line =~ /^([a-z][a-z0-9]*)/i) { 113 $line = substr($line,@+[0]); $line =~ s/^\s+//; 125 } elsif ($self->{op} =~ /mov[dq]/ && $line =~ /%xmm/) { 186 local *line = shift; 189 if ($line =~ /^\$([^,]+)/) { 192 $line [all...] |
/freebsd-10-stable/sbin/dump/ |
H A D | dumprmt.c | 223 char line[30]; local 226 (void)snprintf(line, sizeof (line), "R%d\n", count); 227 n = rmtcall("read", line); 242 char line[30]; local 244 (void)snprintf(line, sizeof (line), "W%d\n", count); 245 write(rmtape, line, strlen(line)); 253 char line[3 local 276 char line[80]; local 358 rmtgets(char *line, int len) argument [all...] |
/freebsd-10-stable/usr.bin/tail/tests/ |
H A D | tail_test.sh | 49 This is the first line 50 This is the second line 51 This is the third line 54 This is the third line 55 This is the second line 56 This is the first line 72 This is the first line 73 This is the second line 74 This is the third line 77 This is the third line [all...] |
/freebsd-10-stable/crypto/openssh/regress/unittests/test_helper/ |
H A D | test_helper.c | 151 fprintf(stderr, "Unrecognised command line option\n"); 252 ssl_err_check(const char *file, int line) argument 260 file, line, ERR_error_string(openssl_error, NULL)); 294 test_header(const char *file, int line, const char *a1, const char *a2, argument 298 file, line, test_number, active_test_name, 306 assert_bignum(const char *file, int line, const char *a1, const char *a2, argument 312 test_header(file, line, a1, a2, "BIGNUM", pred); 319 assert_string(const char *file, int line, const char *a1, const char *a2, argument 325 assert_ptr(file, line, a1, "NULL", aa1, NULL, TEST_NE); 326 assert_ptr(file, line, a 354 assert_mem(const char *file, int line, const char *a1, const char *a2, const void *aa1, const void *aa2, size_t l, enum test_predicate pred) argument 388 assert_mem_filled(const char *file, int line, const char *a1, const void *aa1, u_char v, size_t l, enum test_predicate pred) argument 412 assert_int(const char *file, int line, const char *a1, const char *a2, int aa1, int aa2, enum test_predicate pred) argument 423 assert_size_t(const char *file, int line, const char *a1, const char *a2, size_t aa1, size_t aa2, enum test_predicate pred) argument 434 assert_u_int(const char *file, int line, const char *a1, const char *a2, u_int aa1, u_int aa2, enum test_predicate pred) argument 445 assert_long_long(const char *file, int line, const char *a1, const char *a2, long long aa1, long long aa2, enum test_predicate pred) argument 456 assert_char(const char *file, int line, const char *a1, const char *a2, char aa1, char aa2, enum test_predicate pred) argument 471 assert_u8(const char *file, int line, const char *a1, const char *a2, u_int8_t aa1, u_int8_t aa2, enum test_predicate pred) argument 482 assert_u16(const char *file, int line, const char *a1, const char *a2, u_int16_t aa1, u_int16_t aa2, enum test_predicate pred) argument 493 assert_u32(const char *file, int line, const char *a1, const char *a2, u_int32_t aa1, u_int32_t aa2, enum test_predicate pred) argument 504 assert_u64(const char *file, int line, const char *a1, const char *a2, u_int64_t aa1, u_int64_t aa2, enum test_predicate pred) argument 517 assert_ptr(const char *file, int line, const char *a1, const char *a2, const void *aa1, const void *aa2, enum test_predicate pred) argument [all...] |
/freebsd-10-stable/crypto/openssl/crypto/ |
H A D | mem.c | 77 static void *default_malloc_ex(size_t num, const char *file, int line) argument 82 static void *(*malloc_ex_func) (size_t, const char *file, int line) 87 const char *file, int line) 92 static void *(*realloc_ex_func) (void *, size_t, const char *file, int line) 98 static void *default_malloc_locked_ex(size_t num, const char *file, int line) argument 103 static void *(*malloc_locked_ex_func) (size_t, const char *file, int line) 280 void *CRYPTO_malloc_locked(int num, const char *file, int line) argument 292 malloc_debug_func(NULL, num, file, line, 0); 294 ret = malloc_locked_ex_func(num, file, line); 299 malloc_debug_func(ret, num, file, line, 86 default_realloc_ex(void *str, size_t num, const char *file, int line) argument 328 CRYPTO_malloc(int num, const char *file, int line) argument 364 CRYPTO_strdup(const char *str, const char *file, int line) argument 375 CRYPTO_realloc(void *str, int num, const char *file, int line) argument 398 CRYPTO_realloc_clean(void *str, int old_len, int num, const char *file, int line) argument 447 CRYPTO_remalloc(void *a, int num, const char *file, int line) argument [all...] |
/freebsd-10-stable/sys/kern/ |
H A D | subr_hints.c | 56 char *line, *eq; local 109 line = malloc(i+1, M_TEMP, M_WAITOK); 110 strcpy(line, cp); 111 line[eqidx] = '\0'; 112 setenv(line, line + eqidx + 1); 113 free(line, M_TEMP); 131 res_find(int *line, int *startln, argument 209 (*line)++; 221 if (hit && startln && *startln >= 0 && *line < *startl 281 resource_find(int *line, int *startln, const char *name, int *unit, const char *resname, const char *value, const char **ret_name, int *ret_namelen, int *ret_unit, const char **ret_resname, int *ret_resnamelen, const char **ret_value) argument 316 int line; local 340 int line; local 362 int line; local 475 int error, line; local [all...] |
/freebsd-10-stable/contrib/ofed/management/infiniband-diags/scripts/ |
H A D | ibidsverify.pl | 179 my $line = ""; 182 while ($line = <IBNET_TOPO>) { 184 if ($line =~ /^caguid=(.*)/ || $line =~ /^rtguid=(.*)/) { 189 if ($line =~ /^switchguid=(.*)/) { 194 if ($line =~ /^switchguid=(.*)\((.*)\)/) { 199 if ($line =~ /^Switch.*\"S-(.*)\"\s+# (.*) port.* lid (\d+) .*/) { 209 if ($line =~ /^Ca.*/) { 213 if ($line =~ /^Rt.*/) { 219 if ($line [all...] |
H A D | iblinkinfo.pl | 58 " -l (line mode) print all information for each link on each line\n"; 134 foreach my $line (@lines) { 135 if ($line =~ /^LifeTime:\.+(.*)/) { $pkt_lifetime = $1; } 181 foreach my $line (@lines) { 182 if ($line =~ /^LinkSpeedActive:\.+(.*)/) { $speed = $1; } 183 if ($line =~ /^LinkSpeedEnabled:\.+(.*)/) { 186 if ($line =~ /^LinkSpeedSupported:\.+(.*)/) { $speed_sup = $1; } 187 if ($line =~ /^LinkWidthActive:\.+(.*)/) { $width = $1; } 188 if ($line [all...] |
/freebsd-10-stable/sbin/devfs/ |
H A D | devfs.c | 138 * Read a line from a /FILE/. If the return value isn't 0, it is the 139 * length of the line, a pointer to which exists in /line/. It is the 141 * there was an error or we reached EOF, and /line/ is undefined (so, 145 efgetln(FILE *fp, char **line) argument 152 *line = NULL; 157 *line = strdup(cp); 158 if (*line == NULL) 162 *line = malloc(rv + 1); 163 if (*line 184 tokenize(const char *line, int *acp, char ***avp) argument [all...] |
/freebsd-10-stable/contrib/tnftp/src/ |
H A D | domacro.c | 77 (void)strlcpy(line2, line, sizeof(line2)); 83 cp2 = line; 97 sizeof(line) - (cp2 - line)); 107 sizeof(line) - (cp2 - line)); 134 fputs(line, ttyout); 142 (void)strlcpy(line, line2, sizeof(line));
|
/freebsd-10-stable/usr.bin/systat/ |
H A D | keyboard.c | 50 static char line[80]; variable 101 line[col] = '\0'; 102 command(line + 1); 146 if (col == 1 && line[0] == ':') 152 while (--col >= 0 && isspace(line[col])) 155 while (--col >= 0 && !isspace(line[col])) 156 if (col == 0 && line[0] == ':') 163 if (line[0] == ':') 171 line[col] = ch;
|
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/stdlib/ |
H A D | h_getopt.c | 52 char *line, *ptr, *optstring = NULL, *result = NULL; local 59 while ((line = fparseln(stdin, &len, &lineno, NULL, 0)) != NULL) { 60 if (strncmp(line, "load:", 5) == 0) { 63 optstring = strtok(&line[6], WS); 65 errx(1, "missing optstring at line %ld", 70 } else if (strncmp(line, "args:", 5) == 0) { 75 args[nargs = 0] = strtok(&line[6], WS); 77 errx(1, "missing args at line %ld", 89 } else if (strncmp(line, "result:", 7) == 0) { 94 result = strtok(&line[ [all...] |
/freebsd-10-stable/cddl/contrib/dtracetoolkit/Bin/ |
H A D | errinfo | 63 # Command line arguments 76 while (chomp($line = <ERRNO>)) { 77 next unless $line =~ /^#define/; 78 ($errno,$desc) = $line =~ /^#define\s+\S+\s+(\d+)\s+\/\*(.*)\*\//; 134 while (chomp($line = <DTRACE>)) { 144 ($execname,$syscall,$errno,$counts) = split(' ',$line); 150 ### Print output line
|
/freebsd-10-stable/cddl/contrib/dtracetoolkit/ |
H A D | errinfo | 63 # Command line arguments 76 while (chomp($line = <ERRNO>)) { 77 next unless $line =~ /^#define/; 78 ($errno,$desc) = $line =~ /^#define\s+\S+\s+(\d+)\s+\/\*(.*)\*\//; 134 while (chomp($line = <DTRACE>)) { 144 ($execname,$syscall,$errno,$counts) = split(' ',$line); 150 ### Print output line
|
/freebsd-10-stable/cddl/contrib/opensolaris/lib/pyzfs/common/ |
H A D | table.py | 58 line = str() 61 line += va[i] 62 line += "\t" 69 line += fmt % (mfl, va[i]) 70 print(line)
|
/freebsd-10-stable/contrib/ncurses/ncurses/base/ |
H A D | lib_touch.c | 49 is_linetouched(WINDOW *win, int line) 51 T((T_CALLED("is_linetouched(%p,%d)"), win, line)); 54 if (!win || (line > win->_maxy) || (line < 0)) 57 returnCode(win->_line[line].firstchar != _NOCHANGE ? TRUE : FALSE);
|
/freebsd-10-stable/libexec/mknetid/ |
H A D | parse_group.c | 58 static char line[MAXLINELENGTH]; variable 109 if (!fgets(line, sizeof(line), _gr_fp)) 111 bp = line; 113 if (!strchr(line, '\n')) {
|
/freebsd-10-stable/tools/tools/genericize/ |
H A D | genericize.pl | 74 my $line = $_; 81 print $line; 92 $line =~ s/$value/$ident/; 99 $line =~ s{=$old}{=$new}; 115 print $line;
|
/freebsd-10-stable/tools/tools/mwl/mwlstats/ |
H A D | main.c | 91 int line, omask; local 100 line = 0; 102 if (line != 0) { 117 line++; 118 if (line == 21) /* XXX tty line count */
|
/freebsd-10-stable/usr.bin/xlint/lint2/ |
H A D | msg.c | 114 int qm, src, line; local 118 line = posp->p_iline; 121 line = posp->p_line; 130 if (line != 0) { 132 fn, qm ? "?" : "", line);
|
/freebsd-10-stable/contrib/gdb/gdb/ |
H A D | c-exp.c | 145 #line 39 "c-exp.y" 242 #line 126 "c-exp.y" 275 #line 150 "c-exp.y" 512 /* YYRLINE[YYN] -- source line where rule number YYN was defined. */ 1051 YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ", 1503 Otherwise, the following line sets YYVAL to garbage. 1515 #line 238 "c-exp.y" 1522 #line 246 "c-exp.y" 1527 #line 251 "c-exp.y" 1532 #line 25 [all...] |