/freebsd-11-stable/contrib/libreadline/ |
H A D | tilde.c | 434 char *result, line[512]; 442 if (!gets (line)) 443 strcpy (line, "done"); 445 if ((strcmp (line, "done") == 0) || 446 (strcmp (line, "quit") == 0) || 447 (strcmp (line, "exit") == 0)) 453 result = tilde_expand (line); 433 char *result, line[512]; local
|
H A D | callback.c | 62 whenever a complete line of input is ready. The user must then 65 text read in at each end of line. The terminal is kept prepped and 104 /* Read one character, and dispatch to the handler if it ends the line. */ 108 char *line; local 197 line = readline_internal_teardown (eof); 205 (*rl_linefunc) (line); 207 /* If the user did not clear out the line, do it for him. */
|
/freebsd-11-stable/contrib/gdb/gdb/tui/ |
H A D | tui-source.c | 102 /* Determine the threshold for the length of the line 118 /* get the first character in the line */ 124 cur_line])->which_element.source.line; 125 /* Init the line with the line number */ 167 { /* Store the charcter in the line 199 /* Now copy the line taking the offset into account */ 202 cur_line])->which_element.source.line, 207 cur_line])->which_element.source.line[0] = (char) 0; 225 except for a line i 298 tui_show_symtab_source(struct symtab *s, union tui_line_or_address line, int noerror) argument [all...] |
/freebsd-11-stable/contrib/subversion/subversion/libsvn_fs_base/ |
H A D | trail.c | 61 const char *filename, int line) 66 txn_body_fn_name, filename, line, trail->db_txn ? 1 : 0); 77 #define print_trail_debug(trail, txn_body_fn_name, filename, line) 202 int line) 221 print_trail_debug(trail, txn_body_fn_name, filename, line); 260 int line) 263 txn_body_fn_name, filename, line); 59 print_trail_debug(trail_t *trail, const char *txn_body_fn_name, const char *filename, int line) argument 194 do_retry(svn_fs_t *fs, svn_error_t *(*txn_body)(void *baton, trail_t *trail), void *baton, svn_boolean_t use_txn, svn_boolean_t destroy_trail_pool, apr_pool_t *pool, const char *txn_body_fn_name, const char *filename, int line) argument 253 svn_fs_base__retry_debug(svn_fs_t *fs, svn_error_t *(*txn_body)(void *baton, trail_t *trail), void *baton, svn_boolean_t destroy_trail_pool, apr_pool_t *pool, const char *txn_body_fn_name, const char *filename, int line) argument
|
/freebsd-11-stable/contrib/sendmail/libsm/ |
H A D | t-qic.c | 100 char line_in[1024], line[256], line_out[32], *obp; local 186 los = sm_strlcpy(line, inout[i].qic_in, sizeof(line)); 187 SM_TEST(los + 1 < sizeof(line)); 189 obp = quote_unquote(line, line, los, inout[i].qic_exp); 203 if (obp != line)
|
/freebsd-11-stable/lib/libc/posix1e/ |
H A D | mac.c | 170 char line[LINE_MAX]; local 186 while (fgets(line, LINE_MAX, file)) { 189 if (line[strlen(line)-1] == '\n') 190 line[strlen(line)-1] = '\0'; 200 comment = line;
|
/freebsd-11-stable/lib/libfigpar/ |
H A D | figpar.c | 89 int (*unknown)(struct figpar_config *option, uint32_t line, 110 uint32_t line = 1; local 156 line++; 352 line++; 410 /* Remove all new line characters */ 429 error = unknown(NULL, line, directive, value); 447 line, directive, value); 464 error = unknown(NULL, line, directive, value); 88 parse_config(struct figpar_config options[], const char *path, int (*unknown)(struct figpar_config *option, uint32_t line, char *directive, char *value), uint16_t processing_options) argument
|
/freebsd-11-stable/usr.sbin/lpr/lpd/ |
H A D | recvjob.c | 160 cp = line; 161 clastp = line + sizeof(line) - 1; 178 cp = line; 197 strlcpy(cp + 6, from_host, sizeof(line) 198 + (size_t)(line - cp - 6)); 247 frecverr("protocol screwup: %s", line);
|
/freebsd-11-stable/stand/userboot/userboot/ |
H A D | userboot_disk.c | 122 char line[80]; local 133 snprintf(line, sizeof(line), 135 ret = pager_output(line); 144 snprintf(line, sizeof(line), " disk%d", i); 145 ret = disk_print(&dev, line, verbose);
|
/freebsd-11-stable/lib/libc/gen/ |
H A D | getttyent.c | 49 static char *line; variable 80 /* Check if this is an enabled kernel console line */ 133 if (!fgets(p = line, lbsize, tf)) 135 /* extend buffer if line was too big, and retry */ 139 if ((p = realloc(line, lbsize)) == NULL) { 143 line = p; 144 if (!fgets(&line[i], lbsize - i, tf)) 265 if (line == NULL) { 266 if ((line = malloc(MALLOCCHUNK)) == NULL) 284 * NB: Don't free `line' becaus [all...] |
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Language/ClangCommon/ |
H A D | ClangHighlighter.cpp | 58 // Let's assume that the rest of the line is a PP directive. 132 llvm::StringRef line, 142 // The line might end in a backslash which would cause Clang to drop the 143 // backslash and the terminating new line. This makes sense when parsing C++, 145 // not lose this information we remove the new line here so that Clang knows 146 // this is just a single line we are highlighting. We add back the newline 149 // There are a few legal line endings Clang recognizes and we need to 151 if (line.consume_back("\r\n")) 153 else if (line.consume_back("\n")) 155 else if (line 131 Highlight(const HighlightStyle &options, llvm::StringRef line, llvm::Optional<size_t> cursor_pos, llvm::StringRef previous_lines, Stream &result) const argument 254 result << line; local [all...] |
/freebsd-11-stable/contrib/xz/src/common/ |
H A D | mythread.h | 52 #define mythread_sync_helper1(mutex, line) mythread_sync_helper2(mutex, line) 53 #define mythread_sync_helper2(mutex, line) \ 54 for (unsigned int mythread_i_ ## line = 0; \ 55 mythread_i_ ## line \ 58 mythread_i_ ## line = 1) \ 59 for (unsigned int mythread_j_ ## line = 0; \ 60 !mythread_j_ ## line; \ 61 mythread_j_ ## line = 1)
|
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftp/ |
H A D | main.c | 55 "Turn off line editing", NULL}, 290 strlcpy(line, p, sizeof(line)); 295 if (fgets(line, sizeof line, stdin) == NULL) 299 l = strlen(line); 302 if (line[--l] == '\n') { 305 line[l] = '\0'; 306 } else if (l == sizeof(line) - 2) { 307 printf("sorry, input line to [all...] |
/freebsd-11-stable/contrib/ntp/libntp/ |
H A D | audio.c | 119 * agc pcm_input_device {igain,line,line1,...} 136 char device[20], line[100], ab[100]; local 155 while (fgets(line, sizeof line, fd)) { 160 if ((cp = strchr(line, '#'))) 164 for (i = strlen(line); 165 i > 0 && isascii((unsigned char)line[i - 1]) && isspace((unsigned char)line[i - 1]); 167 line[--i] = '\0'; 170 for (cc = line; *c [all...] |
/freebsd-11-stable/sys/vm/ |
H A D | vm_map.h | 292 void _vm_map_lock(vm_map_t map, const char *file, int line); 293 void _vm_map_unlock(vm_map_t map, const char *file, int line); 294 int _vm_map_unlock_and_wait(vm_map_t map, int timo, const char *file, int line); 295 void _vm_map_lock_read(vm_map_t map, const char *file, int line); 296 void _vm_map_unlock_read(vm_map_t map, const char *file, int line); 297 int _vm_map_trylock(vm_map_t map, const char *file, int line); 298 int _vm_map_trylock_read(vm_map_t map, const char *file, int line); 299 int _vm_map_lock_upgrade(vm_map_t map, const char *file, int line); 300 void _vm_map_lock_downgrade(vm_map_t map, const char *file, int line);
|
/freebsd-11-stable/contrib/gcc/ |
H A D | scan-decls.c | 169 unsigned int line; local 188 line = SOURCE_LINE (map, token->src_loc); 189 recognized_function (&prev_id, line,
|
/freebsd-11-stable/contrib/wpa/src/utils/ |
H A D | edit_readline.c | 2 * Command line editing and history wrapper for readline 99 if (h == NULL || os_strcmp(cmd, h->line) != 0) 164 char *p = h->line; 170 free(h->line);
|
/freebsd-11-stable/sys/isa/ |
H A D | isahint.c | 107 int line, matches, unit; local 109 line = 0; 111 if (resource_find_dev(&line, name, &unit, "at", NULL) != 0)
|
/freebsd-11-stable/usr.sbin/pc-sysinstall/backend/ |
H A D | functions-parse.sh | 31 # which gets the value of a setting in the provided line 66 # Checks the value of a setting in the provided line with supplied possibilities 100 # Checks the value of a setting in the provided line with supplied possibilities 208 # Function which returns the next line in the specified config file 216 while read line 219 export VAL="$line" 222 if [ "$line" = "${CURLINE}" ] ; then 227 # Got here, couldn't find this line or at end of file, set VAL to ""
|
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | spinlock.h | 127 #define __spin_lock_name(name, file, line) \ 128 (((const char *){file ":" #line "-" name}) + \ 131 #define __spin_lock_name(name, file, line) name
|
H A D | mutex.h | 130 #define __mutex_name(name, file, line) \ 131 (((const char *){file ":" #line "-" name}) + \ 134 #define __mutex_name(name, file, line) name
|
/freebsd-11-stable/contrib/llvm-project/lld/Common/ |
H A D | DWARF.cpp | 52 // Get the line number on which the variable is declared. 53 unsigned line = dwarf::toUnsigned(die.find(dwarf::DW_AT_decl_line), 0); local 65 variableLoc.insert({name, {lt, file, line}}); 70 // Returns the pair of file name and line number describing location of data 79 // Take file name string from line table. 86 return std::make_pair(fileName, it->second.line); 89 // Returns source line information for a given offset
|
/freebsd-11-stable/contrib/serf/buckets/ |
H A D | dechunk_buckets.c | 80 /* fetch a line terminated by CRLF */ 86 /* if a line was read, then parse it. */ 88 /* NUL-terminate the line. if it filled the entire buffer, 90 if (ctx->linebuf.used == sizeof(ctx->linebuf.line)) 92 ctx->linebuf.line[ctx->linebuf.used] = '\0'; 95 ctx->body_left = apr_strtoi64(ctx->linebuf.line, NULL, 16);
|
/freebsd-11-stable/contrib/dtc/ |
H A D | dtc-lexer.l | 85 <*>^"#"(line)?[ \t]+[0-9]+[ \t]+{STRING}([ \t]+[0-9]+)? { 86 char *line, *fnstart, *fnend; 88 /* skip text before line # */ 89 line = yytext; 90 while (!isdigit((unsigned char)*line)) 91 line++; 107 lexical_error("nul in line number directive"); 109 /* -1 since #line is the number of the next line */ 110 srcpos_set_line(xstrdup(fn.val), atoi(line) [all...] |
/freebsd-11-stable/contrib/ipfilter/lib/ |
H A D | ipft_tx.c | 122 char line[513]; local 131 while (fgets(line, sizeof(line)-1, tfp)) { 132 if ((s = strchr(line, '\n'))) 134 if ((s = strchr(line, '\r'))) 136 if ((s = strchr(line, '#'))) 138 if (!*line) 141 printf("input: %s\n", line); 144 if (!parseline(line, (ip_t *)buf, ifn, dir)) { 164 static int parseline(line, i [all...] |