Searched refs:mode (Results 701 - 725 of 2233) sorted by relevance

<<21222324252627282930>>

/freebsd-11-stable/usr.bin/tftp/
H A Dmain.c82 static char mode[32]; variable
137 { "mode", modecmd, "set file transfer mode" },
141 { "verbose", setverbose, "toggle verbose mode" },
143 { "binary", setbinary, "set mode to octet" },
144 { "ascii", setascii, "set mode to netascii" },
180 strcpy(mode, "netascii");
203 * tftpURI = "tftp://" host "/" file [ mode ]
204 * mode = ";" "mode
[all...]
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_write_add_filter_uuencode.c48 int mode; member in struct:private_uuencode
86 state->mode = 0644;
109 if (strcmp(key, "mode") == 0) {
112 "mode option requires octal digits");
115 state->mode = (int)atol8(value, strlen(value)) & 0777;
160 state->mode, state->name.s);
H A Darchive_write_add_filter_b64encode.c48 int mode; member in struct:private_b64encode
97 state->mode = 0644;
120 if (strcmp(key, "mode") == 0) {
123 "mode option requires octal digits");
126 state->mode = (int)atol8(value, strlen(value)) & 0777;
171 state->mode, state->name.s);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_file.h58 fd_t OpenFile(const char *filename, FileAccessMode mode,
/freebsd-11-stable/sys/netgraph/
H A Dng_car.h79 u_int8_t mode; /* single/double rate, ... */ member in struct:ng_car_hookconf
91 { "mode", &ng_parse_uint8_type }, \
107 /* operation modes (mode) */
115 /* mode options (bits in opt) */
/freebsd-11-stable/contrib/ntp/lib/isc/win32/
H A Dfile.c321 int mode = _S_IREAD | _S_IWRITE; local
322 return (isc_file_openuniquemode(templet, mode, fp));
327 int mode = _S_IREAD | _S_IWRITE; local
328 return (isc_file_openuniquemode(templet, mode, fp));
332 isc_file_openuniquemode(char *templet, int mode, FILE **fp) { argument
349 UNUSED(mode);
351 (void)fchmod(fd, mode);
/freebsd-11-stable/contrib/groff/src/devices/grolbp/
H A Dlbp.cpp76 void setfillmode(int mode);
388 inline void lbp_printer::setfillmode(int mode) argument
390 if (mode != fill_mode) {
391 if (mode != 1)
392 vdmsetfillmode(mode, 1, 0);
394 vdmsetfillmode(mode, 1, 1); // To get black we must use white
396 fill_mode = mode;
/freebsd-11-stable/sys/dev/cxgb/common/
H A Dcxgb_mc5.c41 /* DBGI command mode */
53 /* IDT LAR register address and value for 144-bit mode (low 32 bits) */
143 if (mc5->mode == MC5_MODE_144_BIT) {
169 mc5->mode == MC5_MODE_144_BIT ? 0xfffffff9 : 0xfffffffd,
205 /* Set DBGI command mode for IDT TCAM. */
269 /* Set DBGI command mode for IDT TCAM. */
303 /* Put MC5 in DBGI mode. */
310 /* Put MC5 in M-Bus mode. */
333 unsigned int mode72 = mc5->mode == MC5_MODE_72_BIT;
467 * @mode
472 t3_mc5_prep(adapter_t *adapter, struct mc5 *mc5, int mode) argument
[all...]
/freebsd-11-stable/sys/dev/mwl/
H A Dmwlhal.h91 MWL_HAL_STA, /* infrastructure mode */
92 MWL_HAL_IBSS /* ibss/adhoc mode */
308 * Set the adapter to operate in infrastructure mode.
336 const MWL_HAL_CHANNEL *nextchan, uint32_t mode, uint32_t count);
479 * save mode (it will then buffer mcast traffic). mwl_hal_setsta_powersave
526 int mwl_hal_setaggampduratemode(struct mwl_hal *, int mode, int thresh);
527 int mwl_hal_getaggampduratemode(struct mwl_hal *, int *mode, int *thresh);
614 int mwl_hal_setrateadaptmode(struct mwl_hal *mh, uint16_t mode);
634 int mwl_hal_setnprot(struct mwl_hal_vap *, MWL_HAL_HTPROTECT mode);
638 int mwl_hal_setnprotmode(struct mwl_hal_vap *, uint8_t mode);
[all...]
/freebsd-11-stable/contrib/ngatm/snmp_atm/
H A Dsnmp_atm.c188 * Retrieve the SUNI mode
200 aif->pub.mode = ATMIF_SUNI_MODE_UNKNOWN;
204 aif->pub.mode = ATMIF_SUNI_MODE_SDH;
206 aif->pub.mode = ATMIF_SUNI_MODE_SONET;
223 /* get current mode */
243 aif->pub.mode = newmode;
461 if (aif->pub.mode == ATMIF_SUNI_MODE_UNKNOWN)
466 if ((u_int)value->v.integer == aif->pub.mode)
512 value->v.integer = aif->pub.mode;
/freebsd-11-stable/contrib/ntp/ntpd/
H A Dntp_scanner.c124 * Note: When 'mode' is NULL, then the INFO block will be set up to
137 const char *mode
150 if (NULL != mode) {
151 stream->fpi = fopen(path, mode);
305 const char * mode
311 lex_stack = lex_open(path, mode);
334 * in the force-eof mode before this call.
350 /* Push another file on the parsing stack. If the mode is NULL, create a
359 const char * mode
365 next = lex_open(path, mode);
[all...]
/freebsd-11-stable/gnu/lib/libgcc/
H A DMakefile56 .for mode in sf df xf
57 LIB2FUNCS+= _fixuns${mode}si
65 .for mode in sf df xf tf
66 LIB2FUNCS+= _fix${mode}di _fixuns${mode}di
67 LIB2FUNCS+= _floatdi${mode} _floatundi${mode}
/freebsd-11-stable/contrib/sendmail/libsmdb/
H A Dsmdb1.c426 ** mode -- File permisions on the database if created.
446 smdb_db_open(database, db_name, mode, mode_mask, sff, type, user_info,
450 int mode;
487 bitset(mode, O_CREAT))
491 result = smdb_lock_file(&lock_fd, db_name, mode, sff,
498 mode |= O_TRUNC;
499 mode &= ~(O_CREAT|O_EXCL);
534 db = dbopen(db_file_name, mode, DBMMODE, db_type, params);
/freebsd-11-stable/secure/usr.bin/bdes/
H A Dbdes.c57 * -b use ECB (electronic code book) mode
59 * -f b use b-bit CFB (cipher feedback) mode
60 * -F b use b-bit CFB (cipher feedback) alternative mode
63 * -o b use b-bit OFB (output feedback) mode
107 mode == MODE_ENCRYPT ? DES_ENCRYPT : DES_DECRYPT);
126 } mode = MODE_ENCRYPT; variable in typeref:enum:__anon7101
187 case 'b': /* use ECB mode */
191 mode = MODE_DECRYPT;
193 case 'F': /* use alternative CFB mode */
200 case 'f': /* use CFB mode */
[all...]
/freebsd-11-stable/sys/dev/drm2/radeon/
H A Datombios_dp.c202 int radeon_dp_i2c_aux_ch(device_t dev, int mode, u8 write_byte, u8 *read_byte) argument
216 if (mode & MODE_I2C_READ)
221 if (!(mode & MODE_I2C_STOP))
227 switch (mode) {
273 if (mode == MODE_I2C_READ)
507 const struct drm_display_mode *mode)
519 radeon_dp_get_dp_link_clock(connector, dig_connector->dpcd, mode->clock);
521 radeon_dp_get_dp_lane_number(connector, dig_connector->dpcd, mode->clock);
526 struct drm_display_mode *mode)
537 radeon_dp_get_dp_link_clock(connector, dig_connector->dpcd, mode
506 radeon_dp_set_link_config(struct drm_connector *connector, const struct drm_display_mode *mode) argument
525 radeon_dp_mode_valid_helper(struct drm_connector *connector, struct drm_display_mode *mode) argument
[all...]
/freebsd-11-stable/sys/dev/sound/pci/
H A Dvia82c686.c72 int base, count, mode, ctrl; member in struct:via_chinfo
258 ch->mode = VIA_PLAY_MODE;
266 ch->mode = VIA_RECORD_MODE;
288 int mode, mode_set; local
298 mode = via_rd(via, ch->mode, 1);
299 mode &= ~(VIA_RPMODE_16BIT | VIA_RPMODE_STEREO);
300 mode |= mode_set;
301 via_wr(via, ch->mode, mode,
[all...]
/freebsd-11-stable/sys/dev/syscons/
H A Dsyscons.h64 /* Always load font data if the pixel (raster text) mode is to be used. */
127 #define UNKNOWN_MODE 0x00010 /* unknown video mode */
135 #define GRAPHICS_MODE 0x08000 /* vty is in a graphics mode */
136 #define PIXEL_MODE 0x10000 /* vty is in a raster text mode */
228 int initial_mode; /* initial video mode */
305 int xoff; /* X offset in pixel mode */
306 int yoff; /* Y offset in pixel mode */
319 int kbd_mode; /* keyboard I/O mode */
345 int mode; /* mode */ member in struct:scr_stat
477 int mode; member in struct:sc_renderer
[all...]
/freebsd-11-stable/sys/dev/fb/
H A Dvga.c111 vga_open(struct cdev *dev, vga_softc_t *sc, int flag, int mode, struct thread *td) argument
115 if (mode & (O_CREAT | O_APPEND | O_TRUNC))
118 return genfbopen(&sc->gensc, sc->adp, flag, mode, td);
122 vga_close(struct cdev *dev, vga_softc_t *sc, int flag, int mode, struct thread *td) argument
124 return genfbclose(&sc->gensc, sc->adp, flag, mode, td);
454 static int map_mode_num(int mode);
456 static int map_gen_mode_num(int type, int color, int mode);
458 static u_char *get_mode_param(int mode);
541 /* construct the mode parameter map */
573 /* map the non-standard video mode t
575 map_mode_num(int mode) argument
615 map_gen_mode_num(int type, int color, int mode) argument
741 get_mode_param(int mode) argument
1411 vga_get_info(video_adapter_t *adp, int mode, video_info_t *info) argument
1533 vga_set_mode(video_adapter_t *adp, int mode) argument
2389 vga_blank_display(video_adapter_t *adp, int mode) argument
[all...]
/freebsd-11-stable/contrib/libarchive/tar/
H A Dbsdtar.c407 * allowing names and mode/owner to be read
787 /* If no "real" mode was specified, treat -h as --help. */
788 if ((bsdtar->mode == '\0') && possible_help_request) {
793 /* Otherwise, a mode is required. */
794 if (bsdtar->mode == '\0')
828 switch (bsdtar->mode) {
911 switch(bsdtar->mode) {
945 if (bsdtar->mode != '\0' && bsdtar->mode != opt)
947 "Can't specify both -%c and -%c", opt, bsdtar->mode);
[all...]
/freebsd-11-stable/contrib/apr-util/crypto/
H A Dapr_crypto_openssl.c357 * @brief Get a hash table of key modes, keyed by the name of the mode against
376 const apr_crypto_block_key_mode_e mode, const int doPad, apr_pool_t *p)
384 if (mode == APR_MODE_CBC) {
394 if (mode == APR_MODE_CBC) {
404 if (mode == APR_MODE_CBC) {
414 if (mode == APR_MODE_CBC) {
453 * error occurred while generating the key. APR_ENOCIPHER if the type or mode
475 rv = crypto_cipher_mechanism(key, rec->type, rec->mode, rec->pad, p);
521 if (APR_MODE_ECB != rec->mode) {
545 * @param mode Electroni
374 crypto_cipher_mechanism(apr_crypto_key_t *key, const apr_crypto_block_key_type_e type, const apr_crypto_block_key_mode_e mode, const int doPad, apr_pool_t *p) argument
556 crypto_passphrase(apr_crypto_key_t **k, apr_size_t *ivSize, const char *pass, apr_size_t passLen, const unsigned char * salt, apr_size_t saltLen, const apr_crypto_block_key_type_e type, const apr_crypto_block_key_mode_e mode, const int doPad, const int iterations, const apr_crypto_t *f, apr_pool_t *p) argument
[all...]
/freebsd-11-stable/sys/arm/ti/usb/
H A Domap_host.c177 device_printf(isc->sc_dev, "unknown port mode %d for port 0\n", isc->port_mode[0]);
201 device_printf(isc->sc_dev, "unknown port mode %d for port 1\n", isc->port_mode[1]);
205 /* Put UHH in SmartIdle/SmartStandby mode */
240 /* Bypass the TLL module for PHY mode operation */
251 /* Clear port mode fields for PHY mode*/
372 char *mode; local
394 "port%d-mode", i+1);
396 if (OF_getprop_alloc(node, propname, 1, (void**)&mode) <= 0)
398 if (strcmp(mode, "ehc
[all...]
/freebsd-11-stable/sys/security/audit/
H A Daudit.h90 void audit_arg_mode(mode_t mode);
112 void audit_arg_posix_ipc_perm(uid_t uid, gid_t gid, mode_t mode);
215 #define AUDIT_ARG_MODE(mode) do { \
217 audit_arg_mode((mode)); \
357 #define AUDIT_ARG_MODE(mode)
/freebsd-11-stable/sys/sys/
H A Dacl.h274 * of the POSIX mode field. We provide two masks: one that defines the bits
275 * the ACL will replace in the mode, and the other that defines the bits that
276 * must be preseved when an ACL is updating a mode.
284 * Filesystem-independent code to move back and forth between POSIX mode and
287 acl_perm_t acl_posix1e_mode_to_perm(acl_tag_t tag, mode_t mode);
289 gid_t gid, mode_t mode);
301 mode_t mode, int file_owner_id);
302 void acl_nfs4_sync_mode_from_acl(mode_t *mode,
308 struct acl *child_aclp, mode_t mode,
/freebsd-11-stable/tools/tools/bus_autoconf/
H A Dbus_usb.c143 /* in the end sort by module name and mode */
161 const char *mode; local
164 mode = "host";
166 mode = "device";
168 mode = "(host|device)";
171 strlcpy(id->module_mode, mode, sizeof(id->module_mode));
258 " match \"mode\" \"%s\";\n", id->module_mode);
/freebsd-11-stable/contrib/bmake/mk/
H A Dmeta.stage.mk63 { [ -z "$$mode" ] && ${LN:Uln} $$1 $$2 2> /dev/null; } || \
90 case "$$1" in "") return;; -m) mode=$$2; shift 2;; *) mode=;; esac; \
98 [ -z "$$mode" ] || chmod $$mode $$t; \
117 case "$$1" in "") return;; -m) mode=$$2; shift 2;; *) mode=;; esac; \
128 [ -z "$$mode" ] || chmod $$mode $$t; \
305 # for non-jobs mode th
[all...]

Completed in 327 milliseconds

<<21222324252627282930>>