/dragonfly/contrib/grep/lib/ |
H A D | openat.h | 36 int openat_permissive (int fd, char const *file, int flags, mode_t mode, 62 chownat (int fd, char const *file, uid_t owner, gid_t group) in chownat() argument 64 return fchownat (fd, file, owner, group, 0); in chownat() 68 lchownat (int fd, char const *file, uid_t owner, gid_t group) in lchownat() argument 70 return fchownat (fd, file, owner, group, AT_SYMLINK_NOFOLLOW); in lchownat() 82 chmodat (int fd, char const *file, mode_t mode) in chmodat() argument 84 return fchmodat (fd, file, mode, 0); in chmodat() 88 lchmodat (int fd, char const *file, mode_t mode) in lchmodat() argument 90 return fchmodat (fd, file, mode, AT_SYMLINK_NOFOLLOW); in lchmodat()
|
H A D | dirname.h | 39 char *base_name (char const *file) _GL_ATTRIBUTE_MALLOC; 40 char *dir_name (char const *file); 43 char *mdir_name (char const *file); 44 size_t base_len (char const *file) _GL_ATTRIBUTE_PURE; 45 size_t dir_len (char const *file) _GL_ATTRIBUTE_PURE; 46 char *last_component (char const *file) _GL_ATTRIBUTE_PURE; 48 bool strip_trailing_slashes (char *file);
|
/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | gcov-io.c | 82 gcc_assert (!gcov_var.file); in gcov_open() 111 if (!gcov_var.file) in gcov_open() 125 fclose (gcov_var.file); in gcov_open() 126 gcov_var.file = 0; in gcov_open() 140 if (gcov_var.file) in gcov_open() 145 if (gcov_var.file) in gcov_open() 148 if (!gcov_var.file) in gcov_open() 152 setbuf (gcov_var.file, (char *)0); in gcov_open() 163 if (gcov_var.file) in gcov_close() 169 fclose (gcov_var.file); in gcov_close() [all …]
|
H A D | tlink.c | 69 } file; typedef 198 file *value; 228 file_push (file *p) in file_push() 242 static file * 246 file *p; in file_pop() 355 if (sym->file == NULL) in freadsym() 360 sym->file = f; in freadsym() 374 f = sym->file; in freadsym() 378 sym->file = f; in freadsym() 461 file *f; in recompile_files() [all …]
|
H A D | final.c | 1556 profile_function (file); in final_start_function() 1594 profile_function (file); in profile_after_prologue() 1697 fprintf (file, "\n"); in dump_basic_block_info() 1710 fprintf (file, "\n"); in dump_basic_block_info() 2262 (file, in final_scan_insn() 3563 putc ('.', file); in output_addr_const() 3628 fprintf (file, "+"); in output_addr_const() 3636 fprintf (file, "+"); in output_addr_const() 3649 fprintf (file, "-"); in output_addr_const() 3862 putc ('%', file); in asm_fprintf() [all …]
|
/dragonfly/contrib/binutils-2.27/gas/ |
H A D | symbols.c | 981 const char *file; in report_op_error() local 1020 as_bad_where (file, line, in report_op_error() 1024 as_bad_where (file, line, in report_op_error() 1391 const char *file; in resolve_symbol_value() local 2813 fprintf (file, "sym "); in print_symbol_value_1() 2847 fprintf (file, " used"); in print_symbol_value_1() 2849 fprintf (file, " local"); in print_symbol_value_1() 2853 fprintf (file, " weak"); in print_symbol_value_1() 2885 fflush (file); in print_symbol_value_1() 2904 fprintf (file, ">"); in print_binary() [all …]
|
/dragonfly/contrib/zlib-1.2/ |
H A D | gzclose.c | 11 int ZEXPORT gzclose(file) in gzclose() argument 12 gzFile file; in gzclose() 17 if (file == NULL) 19 state = (gz_statep)file; 21 return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file); 23 return gzclose_r(file);
|
/dragonfly/games/quiz/datfiles/ |
H A D | ed | 1 prepare to add text at beginning of file:0a|1i 2 find name of file being edited:f 3 print last 3 lines of file:$-[2|-],$p 5 print whole file:1,$p|g/[^|$]/p 22 reverse order of lines in whole file:[g|1,$g]/^/[m|.m]0 56 delete the first 3 lines of the file:1,3d 68 prepare to add text at end of file:$a 69 append the contents of file "suffix" to this file:$r suffix 78 put the work you've done back in the original file:w 79 append the whole file to the file "unfinished":\ [all …]
|
/dragonfly/games/sail/ |
H A D | dr_2.c | 69 if (sp->file->captain[0] || sp->file->dir == 0) in thinkofgrapples() 74 if (sp->file->struck || sp->file->captured != 0) in thinkofgrapples() 85 sp->file->loadwith = L_GRAPE; in thinkofgrapples() 100 if (sp->file->dir == 0) in checkup() 102 explode = sp->file->explode; in checkup() 103 sink = sp->file->sink; in checkup() 137 if (sp->file->captured == 0) in prizecheck() 139 if (sp->file->struck || sp->file->dir == 0) in prizecheck() 142 sp->file->pcrew * 6) { in prizecheck() 145 sp->file->captured->file->points in prizecheck() [all …]
|
H A D | extern.h | 60 #define grappled(a) ((a)->file->ngrap) 61 #define fouled(a) ((a)->file->nfoul) 64 #define grappled2(a, b) ((a)->file->grap[(b)->file->index].sn_count) 65 #define fouled2(a, b) ((a)->file->foul[(b)->file->index].sn_count) 68 #define Xgrappled2(a, b) ((a)->file->grap[(b)->file->index].sn_turn < turn-1 \ 70 #define Xfouled2(a, b) ((a)->file->foul[(b)->file->index].sn_turn < turn-1 \ 78 #define sterncolour(sp) ((sp)->file->stern+'0'-((sp)->file->captured ? 10 : 0)) 79 #define sternrow(sp) ((sp)->file->row + dr[(sp)->file->dir]) 80 #define sterncol(sp) ((sp)->file->col + dc[(sp)->file->dir]) 82 #define capship(sp) ((sp)->file->captured?(sp)->file->captured:(sp)) [all …]
|
H A D | pl_main.c | 71 if (sp->file == NULL && in pl_main_init() 72 (sp->file = calloc(1, sizeof (struct File))) == NULL) { in pl_main_init() 75 sp->file->index = sp - SHIP(0); in pl_main_init() 76 sp->file->stern = nat[sp->nationality]++; in pl_main_init() 77 sp->file->dir = sp->shipdir; in pl_main_init() 78 sp->file->row = sp->shiprow; in pl_main_init() 79 sp->file->col = sp->shipcol; in pl_main_init() 95 free(sp->file); in pl_main_uninit() 96 sp->file = NULL; in pl_main_uninit()
|
/dragonfly/contrib/tnftp/src/ |
H A D | complete.c | 172 char *file; in complete_local() local 181 file = word; in complete_local() 183 if (file == word) { in complete_local() 188 file++; in complete_local() 203 len = strlen(file); in complete_local() 286 char *file, *cp; in complete_remote() local 298 file = word; in complete_remote() 300 cp = file; in complete_remote() 304 file++; in complete_remote() 345 if (strlen(file) > strlen(cp)) in complete_remote() [all …]
|
/dragonfly/test/stress/stress2/testcases/lockf/ |
H A D | lockf.c | 43 char file[128]; variable 51 err(1, "lockf(%s, F_LOCK)", file); in get() 57 err(1, "lockf(%s, F_ULOCK)", file); in get() 65 err(1, "lockf(%s, F_LOCK)", file); in incr() 76 err(1, "lockf(%s, F_ULOCK)", file); in incr() 95 sprintf(file, "lockf.0.%d", getpid()); in test() 96 if ((fd = open(file,O_CREAT | O_TRUNC | O_RDWR, 0600)) == -1) in test() 97 err(1, "creat(%s)", file); in test() 131 unlink(file); in test()
|
/dragonfly/usr.bin/gzip/ |
H A D | gzip.c | 1137 if (stat(file, &nsb) != 0) in unlink_input() 1143 unlink(file); in unlink_input() 1151 int len = strlen(file); in check_suffix() 1183 in = open(file, O_RDONLY); in file_compress() 1266 unlink_input(file, &isb); in file_compress() 1298 fd = open(file, O_RDONLY); in file_uncompress() 1359 dp = file; in file_uncompress() 1363 (int) (dp - file), in file_uncompress() 1529 unlink_input(file, &isb); in file_uncompress() 1780 infile = file; in handle_file() [all …]
|
/dragonfly/test/stress/stress2/testcases/rw/ |
H A D | rw.c | 131 char file[128]; in test() local 134 sprintf(file,"p%05d", getpid()); in test() 135 if ((fd = creat(file, 0660)) == -1) in test() 136 err(1, "creat(%s)", file); in test() 149 err(1, "write(%s), %s:%d", file, __FILE__, __LINE__); in test() 152 err(1, "close(%s), %s:%d", file, __FILE__, __LINE__); in test() 154 if ((fd = open(file, O_RDONLY)) == -1) in test() 155 err(1, "open(%s), %s:%d", file, __FILE__, __LINE__); in test() 177 err(1, "close(%s), %s:%d", file, __FILE__, __LINE__); in test() 178 if (unlink(file) == -1) in test() [all …]
|
/dragonfly/contrib/gcc-8.0/gcc/c-family/ |
H A D | c-indentation.c | 74 const char *line = location_get_source_line (exploc.file, exploc.line, in get_visual_column() 110 get_first_nws_vis_column (const char *file, int line_num, in get_first_nws_vis_column() argument 116 const char *line = location_get_source_line (file, line_num, &line_len); in get_first_nws_vis_column() 181 detect_intervening_unindent (const char *file, in detect_intervening_unindent() argument 186 gcc_assert (file); in detect_intervening_unindent() 192 if (get_first_nws_vis_column (file, line, &line_vis_column)) in detect_intervening_unindent() 296 if (next_stmt_exploc.file != body_exploc.file) in should_warn_for_misleading_indentation() 325 if (guard_exploc.file != body_exploc.file) in should_warn_for_misleading_indentation() 334 gcc_assert (guard_exploc.file == next_stmt_exploc.file); in should_warn_for_misleading_indentation() 490 if (detect_intervening_unindent (body_exploc.file, body_exploc.line, in should_warn_for_misleading_indentation()
|
/dragonfly/contrib/diffutils/lib/ |
H A D | dirname.h | 39 char *base_name (char const *file) _GL_ATTRIBUTE_MALLOC; 40 char *dir_name (char const *file); 43 char *mdir_name (char const *file); 44 size_t base_len (char const *file) _GL_ATTRIBUTE_PURE; 45 size_t dir_len (char const *file) _GL_ATTRIBUTE_PURE; 46 char *last_component (char const *file) _GL_ATTRIBUTE_PURE; 48 bool strip_trailing_slashes (char *file);
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | tlink.c | 67 } file; typedef 192 file *value; 222 file_push (file *p) in file_push() 236 static file * 240 file *p; in file_pop() 350 if (sym->file == NULL) in freadsym() 355 sym->file = f; in freadsym() 369 f = sym->file; in freadsym() 373 sym->file = f; in freadsym() 456 file *f; in recompile_files() [all …]
|
H A D | df-problems.c | 62 fprintf (file, "{ "); in df_chain_dump() 74 fprintf (file, "}"); in df_chain_dump() 86 fprintf (file, "\n( "); in df_print_bb_index() 98 fprintf (file, ")\n"); in df_print_bb_index() 594 fprintf (file, "\n"); in df_rd_start_dump() 623 fprintf (file, ","); in df_rd_dump_defs_set() 632 fprintf (file, "]"); in df_rd_dump_defs_set() 637 fprintf (file, "\n"); in df_rd_dump_defs_set() 2547 fprintf (file, in df_chain_bb_dump() 2556 fprintf (file, "\n"); in df_chain_bb_dump() [all …]
|
/dragonfly/contrib/libarchive/libarchive/ |
H A D | archive_write_set_format_mtree.c | 1863 archive_string_copy(&(file->basename), &(file->parentdir)); in mtree_entry_setup_filenames() 1871 file->parentdir.length = slash - file->parentdir.s; in mtree_entry_setup_filenames() 1906 *m_entry = file; in mtree_entry_create_virtual_dir() 1934 file = file_next; in mtree_entry_register_free() 2001 file = *filep; in mtree_entry_tree_add() 2002 if (file->parentdir.length == 0 && file->basename.length == 1 && in mtree_entry_tree_add() 2004 file->parent = file; in mtree_entry_tree_add() 2009 mtree->root = file; in mtree_entry_tree_add() 2204 np->uid = file->uid; in mtree_entry_exchange_same_entry() 2205 np->gid = file->gid; in mtree_entry_exchange_same_entry() [all …]
|
/dragonfly/usr.bin/patch/ |
H A D | backupfile.c | 54 find_backup_file_name(const char *file) in find_backup_file_name() argument 60 return concat(file, simple_backup_suffix); in find_backup_file_name() 61 tmp_file = strdup(file); in find_backup_file_name() 68 tmp_file = strdup(file); in find_backup_file_name() 83 return concat(file, simple_backup_suffix); in find_backup_file_name() 84 return make_version_name(file, highest_backup + 1); in find_backup_file_name() 94 max_backup_version(const char *file, const char *dir) in max_backup_version() argument 106 file_name_length = strlen(file); in max_backup_version() 116 this_version = version_number(file, dp->d_name, file_name_length); in max_backup_version() 129 make_version_name(const char *file, int version) in make_version_name() argument [all …]
|
/dragonfly/usr.bin/tftp/ |
H A D | tftpsubs.c | 98 readit(FILE *file, /* file opened for read */ in readit() argument 110 read_ahead(file, convert); /* fill it */ in readit() 121 read_ahead(FILE *file, int convert) in read_ahead() argument 137 b->counter = read(fileno(file), dp->th_data, SEGSIZE); in read_ahead() 150 c = getc(file); in read_ahead() 168 writeit(FILE *file, struct tftphdr **dpp, int ct, int convert) in writeit() argument 173 (void)write_behind(file, convert); /* flush it */ in writeit() 186 write_behind(FILE *file, int convert) in write_behind() argument 209 return write(fileno(file), buf, count); in write_behind() 217 fseek(file, -1, 1); /* smash lf on top of the cr */ in write_behind() [all …]
|
/dragonfly/contrib/bmake/ |
H A D | dir.c | 799 free(file); in DirExpandCurly() 975 return file; in DirLookup() 995 return file; in DirLookupSubdir() 997 free(file); in DirLookupSubdir() 1068 char *file; in FindFileRelative() local 1113 file = NULL; in FindFileRelative() 1128 char *file; in FindFileAbsolute() local 1163 free(file); in FindFileAbsolute() 1164 file = NULL; in FindFileAbsolute() 1236 return file; in Dir_FindFile() [all …]
|
/dragonfly/contrib/binutils-2.34/gas/ |
H A D | symbols.c | 1141 const char *file; in report_op_error() local 1180 as_bad_where (file, line, in report_op_error() 1184 as_bad_where (file, line, in report_op_error() 1557 const char *file; in resolve_symbol_value() local 3017 fprintf (file, "sym "); in print_symbol_value_1() 3051 fprintf (file, " used"); in print_symbol_value_1() 3053 fprintf (file, " local"); in print_symbol_value_1() 3057 fprintf (file, " weak"); in print_symbol_value_1() 3089 fflush (file); in print_symbol_value_1() 3108 fprintf (file, ">"); in print_binary() [all …]
|
/dragonfly/contrib/ee/ |
H A D | ee.i18n.guide | 35 72 prompt for name of file to be written 36 73 prompt for name of file to be read 44 79 string for displaying the name of the file 47 text file 51 87 message after file has been read with the file name and number 53 88 message indicating that the file has been read 54 89 message indicating that the file is being read 57 91 message after file has been read with the file name and number 60 entered for a file to edit) 102 162 error message when unable to save configuration file [all …]
|