Searched refs:fn (Results 1 - 25 of 40) sorted by path

12

/haiku/headers/os/drivers/pcmcia/
H A Dcistpl.h95 } fn[CISTPL_MAX_FUNCTIONS]; member in struct:cistpl_longlink_mfc_t
H A Dk_compat.h164 #define PCI_DEVFN(dev,fn) (((dev)<<3)|((fn)&7))
/haiku/headers/private/firewire/
H A Diec68113.h56 uint8_t fn:2, member in struct:ciphdr
64 fn:2; member in struct:ciphdr
/haiku/src/add-ons/media/media-add-ons/firewire_dv/
H A DFireWireCard.cpp402 if (ciph->fn != 3) {
403 fprintf(stderr, "unsupported MPEG TS stream, fn=%d (only"
404 "fn=3 is supported)", ciph->fn);
417 if (ciph->dbc % (1<<ciph->fn) == 0)
/haiku/src/bin/fwcontrol/
H A Dfwmpegts.c89 |0|0| sid | dbs |fn | qpc |S|RSV| dbc |
118 fn = 3
225 if (ciph->fn != 3) {
227 "unsupported MPEG TS stream, fn=%d (only fn=3 is supported)",
228 ciph->fn);
246 ciph->fn, (1<<ciph->fn) );
256 if (ciph->dbc % (1<<ciph->fn) == 0)
/haiku/src/bin/pcmcia-cs/
H A Dcardctl.c100 char fn[B_OS_NAME_LENGTH]; local
101 sprintf(fn, "/dev/bus/pcmcia/sock/%d", sock);
102 return open(fn, O_RDONLY);
108 char **p, fn[64];
112 sprintf(fn, "%s/cc-%d", *p, getpid());
113 if (mknod(fn, (S_IFCHR|S_IREAD|S_IWRITE), dev) == 0) {
114 fd = open(fn, O_RDONLY);
115 unlink(fn);
323 static char *fn[] = { local
342 fn[funci
[all...]
H A Ddump_cis.c85 char fn[B_OS_NAME_LENGTH]; local
86 sprintf(fn, "/dev/bus/pcmcia/sock/%d", sock);
87 return open(fn, O_RDONLY);
93 char **p, fn[64];
97 sprintf(fn, "%s/dc%d", *p, getpid());
98 if (mknod(fn, (S_IFCHR|S_IREAD|S_IWRITE), dev) == 0) {
99 fd = open(fn, O_RDONLY);
100 unlink(fn);
128 static void print_funcid(cistpl_funcid_t *fn) argument
131 switch (fn
[all...]
H A Ddump_cisreg.c84 char fn[B_OS_NAME_LENGTH]; local
85 sprintf(fn, "/dev/bus/pcmcia/sock/%d", sock);
86 return open(fn, O_RDONLY);
92 char **p, fn[64];
96 sprintf(fn, "%s/dc%d", *p, getpid());
97 if (mknod(fn, (S_IFCHR|S_IREAD|S_IWRITE), dev) == 0) {
98 fd = open(fn, O_RDONLY);
99 unlink(fn);
111 static int get_reg(int fd, int fn, off_t off) argument
116 arg.conf_reg.Function = fn;
127 dump_option(int fd, int fn, int mfc) argument
146 dump_status(int fd, int fn) argument
162 dump_pin(int fd, int fn) argument
179 dump_copy(int fd, int fn) argument
189 dump_ext_status(int fd, int fn) argument
201 dump_all(int fd, int fn, int mfc, u_int mask) argument
[all...]
/haiku/src/bin/unzip/
H A Dbeos.c960 chown(d->fn, (uid_t)d->uidgid[0], (gid_t)d->uidgid[1]))
964 d->uidgid[0], d->uidgid[1], d->fn));
968 if (utime(d->fn, (const struct utimbuf *)&d->u.t2)) {
970 LoadFarString(DirlistUtimeFailed), FnFilter1(d->fn)));
975 if (chmod(d->fn, 0xffff & d->perms)) {
977 LoadFarString(DirlistChmodFailed), FnFilter1(d->fn)));
H A Dextract.c564 Trace((stderr, "dir = %s\n", d->fn));
567 LoadFarString(DirlistSetAttrFailed), d->fn));
571 free(d->fn);
1102 (*pdirlist)->fn =
1104 if ((*pdirlist)->fn == (char *)NULL) {
1113 strcpy((*pdirlist)->fn, G.filename);
2236 return strcmp((*(dirtime **)b)->fn, (*(dirtime **)a)->fn);
2237 /* return namecmp((*(dirtime **)b)->fn, (*(dirtime **)a)->fn); */
[all...]
H A Dunzpriv.h1505 char *fn; /* filename of directory */ member in struct:dirtime
/haiku/src/kits/support/
H A DUrl.cpp984 explode_char_match_fn fn)
986 while (offset < len && fn(url[offset]))
983 char_offset_until_fn_false(const char* url, int32 len, int32 offset, explode_char_match_fn fn) argument
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dcallout.h26 #define callout_reset_on(c, to_ticks, fn, arg, cpu) \
27 callout_reset(c, to_ticks, fn, arg)
/haiku/src/libs/stdc++/legacy/
H A Dlibiberty.h107 extern int xatexit PARAMS ((void (*fn) (void)));
/haiku/src/system/libroot/posix/glibc/regex/
H A Dregcomp.c38 reg_errcode_t (fn (void *, bin_tree_t *)),
41 reg_errcode_t (fn (void *, bin_tree_t *)),
1182 postorder (bin_tree_t *root, reg_errcode_t (fn (void *, bin_tree_t *)),
1199 reg_errcode_t err = fn (extra, node);
1214 preorder (bin_tree_t *root, reg_errcode_t (fn (void *, bin_tree_t *)),
1221 reg_errcode_t err = fn (extra, node);
/haiku/src/system/libroot/posix/
H A Dglob.c850 g_lstat(Char *fn, struct stat *sb, glob_t *pglob) argument
854 if (g_Ctoc(fn, buf, sizeof(buf))) {
864 g_stat(Char *fn, struct stat *sb, glob_t *pglob) argument
868 if (g_Ctoc(fn, buf, sizeof(buf))) {
/haiku/src/tests/kits/interface/balert/
H A DAlertTest.cpp248 #define AT_ADDTEST(fn) (suite->addTest(new TC("Alert " #fn, &AlertTest::fn)))
/haiku/headers/private/shared/
H A DScopeExit.h21 explicit ScopeExit(F&& fn) : fFn(fn) argument
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dattrib.c3439 const FILE_NAME_ATTR *fn; local
3507 fn = (const FILE_NAME_ATTR*)((const u8*)a
3512 || !fn->file_name_length
3513 || ((fn->file_name_length * sizeof(ntfschar)
H A Ddir.c963 FILE_NAME_ATTR *fn = &ie->key.file_name; local
997 || !(fn->file_attributes & FILE_ATTR_HIDDEN)))
1001 res = filldir(dirent, fn->file_name,
1002 fn->file_name_length,
1003 fn->file_name_type, *pos,
1006 loname = (ntfschar*)ntfs_malloc(2*fn->file_name_length);
1008 memcpy(loname, fn->file_name,
1009 2*fn->file_name_length);
1010 ntfs_name_locase(loname, fn->file_name_length,
1014 fn
1051 FILE_NAME_ATTR *fn; local
1479 FILE_NAME_ATTR *fn = NULL; local
1871 ntfs_check_unlinkable_dir(ntfs_inode *ni, FILE_NAME_ATTR *fn) argument
1912 FILE_NAME_ATTR *fn = NULL; local
2206 FILE_NAME_ATTR *fn = NULL; local
2305 FILE_NAME_ATTR *fn; local
2345 FILE_NAME_ATTR *fn; local
2397 FILE_NAME_ATTR *fn; local
2511 FILE_NAME_ATTR *fn = NULL; local
2872 FILE_NAME_ATTR *fn; local
[all...]
H A Dindex.c274 FILE_NAME_ATTR *fn; local
276 fn = (FILE_NAME_ATTR *)&ie->key;
277 return ntfs_attr_name_get(fn->file_name, fn->file_name_length);
1561 char *fn;
1562 fn = ntfs_ie_filename_get(ie);
1563 ntfs_log_trace("file: '%s'\n", fn);
1564 ntfs_attr_name_free(&fn);
1618 * @fn: FILE_NAME attribute to add
1619 * @mref: reference of the inode which @fn describe
1623 ntfs_index_add_filename(ntfs_inode *ni, FILE_NAME_ATTR *fn, MFT_REF mref) argument
[all...]
H A Dindex.h152 extern int ntfs_index_add_filename(ntfs_inode *ni, FILE_NAME_ATTR *fn,
H A Dinode.c805 FILE_NAME_ATTR *fn; local
831 fn = (FILE_NAME_ATTR *)((u8 *)ctx->attr +
833 if (MREF_LE(fn->parent_directory) == ni->mft_no) {
847 le64_to_cpu(fn->parent_directory));
852 (long long)MREF_LE(fn->parent_directory));
866 if (ntfs_index_lookup(fn, sizeof(FILE_NAME_ATTR), ictx)) {
896 fn->allocated_size = fnx->allocated_size;
906 fnx->creation_time = fn->creation_time;
907 fnx->last_data_change_time = fn->last_data_change_time;
908 fnx->last_mft_change_time = fn
1532 FILE_NAME_ATTR *fn; local
[all...]
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dmkntfs.c1713 FILE_NAME_ATTR *fn; local
1735 fn = ntfs_malloc(fn_size);
1736 if (!fn) {
1740 fn->parent_directory = parent_dir;
1742 fn->creation_time = si->creation_time;
1743 fn->last_data_change_time = si->last_data_change_time;
1744 fn->last_mft_change_time = si->last_mft_change_time;
1745 fn->last_access_time = si->last_access_time;
1748 fn->allocated_size = cpu_to_sle64(allocated_size);
1749 fn
2862 FILE_NAME_ATTR *fn; local
2978 FILE_NAME_ATTR *fn; local
[all...]
H A Dutils.h111 #define ntfs_log_redirect(fn,fi,li,le,d,fmt, args...) \
112 do { char _b[MAX_FMT]; ntfs_log_redirect(fn,fi,li,le,d, \

Completed in 536 milliseconds

12