/freebsd-10.1-release/contrib/libarchive/tar/test/ |
H A D | test.h | 185 #define assertIsDir(pathname, mode) \ 186 assertion_is_dir(__FILE__, __LINE__, pathname, mode) 191 #define assertIsReg(pathname, mode) \ 192 assertion_is_reg(__FILE__, __LINE__, pathname, mode) 196 #define assertMakeDir(dirname, mode) \ 197 assertion_make_dir(__FILE__, __LINE__, dirname, mode) 198 #define assertMakeFile(path, mode, contents) \ 199 assertion_make_file(__FILE__, __LINE__, path, mode, -1, contents) 200 #define assertMakeBinFile(path, mode, csize, contents) \ 201 assertion_make_file(__FILE__, __LINE__, path, mode, csiz [all...] |
/freebsd-10.1-release/crypto/openssh/openbsd-compat/ |
H A D | port-tun.c | 58 sys_tun_open(int tun, int mode) argument 72 if (mode == SSH_TUNMODE_ETHERNET) { 91 debug("%s: failed to configure tunnel (mode %d): %s", __func__, 92 mode, strerror(errno)); 97 debug("%s: tunnel mode %d fd %d", __func__, mode, fd); 99 debug("%s: %s mode %d fd %d", __func__, ifr.ifr_name, mode, fd); 118 sys_tun_open(int tun, int mode) argument 125 if (mode [all...] |
/freebsd-10.1-release/sys/dev/ipmi/ |
H A D | ipmi_isa.c | 100 const char *mode, *name; local 103 /* We require at least a "mode" hint. */ 106 if (resource_string_value(name, unit, "mode", &mode) != 0) 109 /* Set the mode and default I/O resources for each mode. */ 111 if (strcasecmp(mode, "KCS") == 0) { 116 } else if (strcasecmp(mode, "SMIC") == 0) { 121 } else if (strcasecmp(mode, "BT") == 0) { 127 device_printf(dev, "Invalid mode 175 const char *mode; local [all...] |
/freebsd-10.1-release/tools/regression/pjdfstest/tests/mkdir/ |
H A D | 00.t | 19 # mode. These file permission bits of the mode argument shall be modified by the 22 expect dir,0755 lstat ${n0} type,mode 25 expect dir,0151 lstat ${n0} type,mode 28 expect dir,0100 lstat ${n0} type,mode 31 expect dir,0305 lstat ${n0} type,mode 34 expect dir,0244 lstat ${n0} type,mode
|
/freebsd-10.1-release/tools/regression/pjdfstest/tests/mkfifo/ |
H A D | 00.t | 19 # mode. The file permission bits of the mode argument shall be modified by the 22 expect fifo,0755 lstat ${n0} type,mode 25 expect fifo,0151 lstat ${n0} type,mode 28 expect fifo,0100 lstat ${n0} type,mode 31 expect fifo,0305 lstat ${n0} type,mode 34 expect fifo,0244 lstat ${n0} type,mode
|
/freebsd-10.1-release/tools/regression/pjdfstest/tests/mknod/ |
H A D | 00.t | 19 # mode. The file permission bits of the mode argument shall be modified by the 22 expect fifo,0755 lstat ${n0} type,mode 25 expect fifo,0151 lstat ${n0} type,mode 28 expect fifo,0100 lstat ${n0} type,mode 31 expect fifo,0305 lstat ${n0} type,mode 34 expect fifo,0244 lstat ${n0} type,mode
|
/freebsd-10.1-release/sys/dev/ata/chipsets/ |
H A D | ata-sis.c | 57 static int ata_sis_setmode(device_t dev, int target, int mode); 239 ata_sis_setmode(device_t dev, int target, int mode) argument 246 mode = min(mode, ctlr->chip->max_dma); 249 if (ata_dma_check_80pin && mode > ATA_UDMA2 && 252 mode = ATA_UDMA2; 255 if (ata_dma_check_80pin && mode > ATA_UDMA2 && 258 mode = ATA_UDMA2; 271 pci_write_config(parent, reg, timings[ata_mode2idx(mode)], 4); 281 pci_write_config(parent, reg, timings[ata_mode2idx(mode)], [all...] |
/freebsd-10.1-release/sys/powerpc/powermac/ |
H A D | ata_kauai.c | 87 static int ata_kauai_setmode(device_t dev, int target, int mode); 302 /* Set up initial mode */ 319 ata_kauai_setmode(device_t dev, int target, int mode) argument 323 mode = min(mode,sc->shasta ? ATA_UDMA6 : ATA_UDMA5); 326 switch (mode & ATA_DMA_MASK) { 329 = udma_timing_shasta[mode & ATA_MODE_MASK]; 334 = dma_timing_shasta[mode & ATA_MODE_MASK]; 338 = pio_timing_shasta[(mode & ATA_MODE_MASK) - 343 switch (mode [all...] |
/freebsd-10.1-release/contrib/gcc/ |
H A D | cse.c | 103 REG expressions with qty_table `mode' must be in the hash table for both 107 any mode, two REG expressions might be equivalent in the hash table 109 of the registers is not the same mode as those expressions. 125 Integer constants don't have a machine mode. However, cse 126 determines the intended machine mode from the destination 127 of the instruction that moves the constant. The machine mode 223 `mode' contains the machine mode of this quantity. 251 code and mode fields of struct rtx_def (see rtl.h). */ 253 ENUM_BITFIELD(machine_mode) mode 747 enum machine_mode mode; local 981 make_new_qty(unsigned int reg, enum machine_mode mode) argument 1408 lookup(rtx x, unsigned int hash, enum machine_mode mode) argument 1424 lookup_for_remove(rtx x, unsigned int hash, enum machine_mode mode) argument 1510 insert(rtx x, struct table_elt *classp, unsigned int hash, enum machine_mode mode) argument 1704 enum machine_mode mode = elt->mode; local 1763 enum machine_mode mode; member in struct:check_dependence_data 1946 remove_invalid_subreg_refs(unsigned int regno, unsigned int offset, enum machine_mode mode) argument 2179 hash_rtx(rtx x, enum machine_mode mode, int *do_not_record_p, int *hash_arg_in_memory_p, bool have_reg_qty) argument 2468 canon_hash(rtx x, enum machine_mode mode) argument 2477 safe_hash(rtx x, enum machine_mode mode) argument 2853 find_best_addr(rtx insn, rtx *loc, enum machine_mode mode) argument 3261 enum machine_mode mode = GET_MODE (x); local 3460 enum machine_mode mode = GET_MODE (x); local 3683 enum machine_mode mode; local 4532 enum machine_mode mode, mode0, mode1; local 4584 record_jump_cond_subreg(enum machine_mode mode, rtx op) argument 4598 record_jump_cond(enum rtx_code code, enum machine_mode mode, rtx op0, rtx op1, int reversed_nonequality) argument 5083 enum machine_mode mode; local 6025 enum machine_mode mode local 6083 enum machine_mode mode; local 7680 enum machine_mode mode; local 7882 enum machine_mode mode; local [all...] |
H A D | unwind-pe.h | 190 unsigned u2 __attribute__ ((mode (HI))); 191 unsigned u4 __attribute__ ((mode (SI))); 192 unsigned u8 __attribute__ ((mode (DI))); 193 signed s2 __attribute__ ((mode (HI))); 194 signed s4 __attribute__ ((mode (SI))); 195 signed s8 __attribute__ ((mode (DI)));
|
H A D | target.h | 156 /* Return a section for X. MODE is X's mode and ALIGN is its 394 /* Return machine mode for filter value. */ 441 enum machine_mode mode, int ignore); 522 unsigned HOST_WIDE_INT (* shift_truncation_mask) (enum machine_mode mode); 527 unsigned int (* min_divisions_for_recip_mul) (enum machine_mode mode); 530 always sign-extended to a wider mode MODE_REP then return 534 int (* mode_rep_extended) (enum machine_mode mode, 537 /* True if MODE is valid for a pointer in __attribute__((mode("MODE"))). */ 538 bool (* valid_pointer_mode) (enum machine_mode mode); 543 bool (* scalar_mode_supported_p) (enum machine_mode mode); [all...] |
/freebsd-10.1-release/libexec/tftpd/ |
H A D | tftpd.c | 102 static void tftp_recvfile(int peer, const char *mode); 103 static void tftp_xmitfile(int peer, const char *mode); 241 * We do this so that inetd can run tftpd in "wait" mode. 242 * The problem with tftpd running in "nowait" mode is that 463 char **filename, char **mode) 469 *mode = NULL; 483 *mode = cp; 486 /* Find the file transfer mode */ 487 for (cp = *mode; *cp; cp++) 491 if (strcmp(pf->f_mode, *mode) 462 parse_header(int peer, char *recvbuffer, ssize_t size, char **filename, char **mode) argument 512 char *filename, *mode; local 553 char *filename, *mode; local 674 validate_access(int peer, char **filep, int mode) argument 784 tftp_xmitfile(int peer, const char *mode) argument 804 tftp_recvfile(int peer, const char *mode) argument [all...] |
/freebsd-10.1-release/sys/dev/firewire/ |
H A D | firewire.c | 217 tcode = fp->mode.common.tcode & 0xf; 226 ((tcode != FWTCODE_RREQQ) || (fp->mode.rreqq.dest_hi != 0xffff) || 227 (fp->mode.rreqq.dest_lo < 0xf0000000) || 228 (fp->mode.rreqq.dest_lo >= 0xf0001000))) { 244 len = fp->mode.stream.len; 246 len = fp->mode.rresb.len; 1034 fp->mode.hdr.dst & 0x3f, 1035 fp->mode.hdr.tlrt >> 2, fp->mode.hdr.tlrt & 3, 1036 fp->mode 2409 fw_modevent(module_t mode, int type, void *data) argument [all...] |
/freebsd-10.1-release/contrib/gdb/gdb/tui/ |
H A D | tui-winsource.c | 402 int mode; local 412 mode = 0; 425 mode |= TUI_BP_DISABLED; 427 mode |= TUI_BP_ENABLED; 429 mode |= TUI_BP_HIT; 431 mode |= TUI_BP_CONDITIONAL; 433 mode |= TUI_BP_HARDWARE; 436 if (line->has_break != mode) 438 line->has_break = mode; 471 int mode; local [all...] |
/freebsd-10.1-release/tools/tools/net80211/wlantxtime/ |
H A D | wlantxtime.c | 436 mode2table(const char *mode) argument 438 if (strcasecmp(mode, "half") == 0) 440 else if (strcasecmp(mode, "quarter") == 0) 442 else if (strcasecmp(mode, "hta") == 0) 444 else if (strcasecmp(mode, "htg") == 0) 446 else if (strcasecmp(mode, "108g") == 0) 448 else if (strcasecmp(mode, "sturbo") == 0) 450 else if (strcasecmp(mode, "turbo") == 0) 452 else if (strcasecmp(mode, "11a") == 0) 454 else if (strcasecmp(mode, "1 517 const char *mode; local [all...] |
/freebsd-10.1-release/usr.sbin/pw/ |
H A D | pw_group.c | 51 pw_group(struct userconf * cnf, int mode, struct cargs * args) argument 69 if (mode == M_LOCK || mode == M_UNLOCK) 76 if (mode == M_NEXT) { 84 if (mode == M_PRINT && getarg(args, 'a')) { 97 if (mode != M_ADD && grp == NULL && isdigit((unsigned char)*a_name->val)) { 104 if (mode == M_UPDATE || mode == M_DELETE || mode == M_PRINT) { 109 if (mode [all...] |
/freebsd-10.1-release/contrib/groff/src/libs/libgroff/ |
H A D | searchpath.cpp | 147 const char *mode) 149 if (!mode) 150 mode = "r"; 151 bool reading = (strchr(mode, 'r') != 0); 158 FILE *fp = fopen(name, mode); 187 FILE *fp = fopen(path, mode); 146 open_file_cautious(const char *name, char **pathp, const char *mode) argument
|
/freebsd-10.1-release/sys/contrib/dts/arm/ |
H A D | kizbox.dts | 50 phy-mode = "mii"; 66 nand-ecc-mode = "soft"; 139 mode { 140 label = "mode";
|
/freebsd-10.1-release/tools/regression/tmpfs/ |
H A D | t_setattr | 82 test_name "File mode can be changed" 83 mkdir mode || die 84 chmod 0000 mode || die 85 eval $(stat -s mode) 90 test_name "Updating a file's mode raises NOTE_ATTRIB on it"
|
/freebsd-10.1-release/usr.bin/tftp/ |
H A D | tftp.c | 69 xmitfile(int peer, char *port, int fd, char *name, char *mode) argument 98 n = send_wrq(peer, name, mode); 151 if (read_init(fd, NULL, mode) < 0) { 170 recvfile(int peer, char *port, int fd, char *name, char *mode) argument 197 n = send_rrq(peer, name, mode); 236 if (write_init(fd, NULL, mode) < 0) {
|
/freebsd-10.1-release/contrib/ntp/sntp/libopts/compat/ |
H A D | pathfind.c | 12 char const * mode ); 20 char const * mode ) 34 * @param[in] mode the required file mode 40 char const * mode ) 47 if (strchr( mode, 'r' )) mode_bits |= R_OK; 48 if (strchr( mode, 'w' )) mode_bits |= W_OK; 49 if (strchr( mode, 'x' )) mode_bits |= X_OK; 290 * mode: C 292 * indent-tabs-mode [all...] |
/freebsd-10.1-release/contrib/tcsh/ |
H A D | tc.nls.c | 97 NLSChangeCase(const Char *p, int mode) argument 103 if (mode == 0 && Islower(c)) { 106 } else if (mode && Isupper(c)) {
|
/freebsd-10.1-release/sys/amd64/vmm/io/ |
H A D | vatpit.c | 80 int mode; member in struct:channel 115 switch (c->mode) { 152 if (c->mode == TIMER_RATEGEN) { 246 * For mode 0, see if the elapsed time is greater 250 if (c->mode == TIMER_INTTC && vatpit_get_out(vatpit, channel)) 283 int sel, rw, mode; local 287 mode = val & TIMER_MODE_MASK; 297 * Counter mode is not affected when issuing a 300 if (mode != TIMER_INTTC && 301 mode ! [all...] |
/freebsd-10.1-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-gpio.h | 81 /* If Multicast mode is enabled, and GPIO interrupt is enabled for 107 * @param mode Drive GPIO as output pin or not. 110 static inline void cvmx_gpio_cfg(int bit, int mode) argument 119 if (mode) 132 if (mode)
|
H A D | cvmx-helper-cfg.c | 304 "cvmx_helper_cfg_show_cfg: interface%d mode %10s nports%4d\n", i, 343 cvmx_helper_interface_mode_t mode; local 352 mode = cvmx_helper_interface_get_mode(i); 376 if (!(mode == CVMX_HELPER_INTERFACE_MODE_NPI || 377 mode == CVMX_HELPER_INTERFACE_MODE_LOOP || 378 mode == CVMX_HELPER_INTERFACE_MODE_ILK)) 382 if (mode == CVMX_HELPER_INTERFACE_MODE_NPI || 383 mode == CVMX_HELPER_INTERFACE_MODE_LOOP || 384 mode == CVMX_HELPER_INTERFACE_MODE_ILK) 551 cvmx_helper_interface_mode_t mode; local [all...] |