Searched refs:flags (Results 1 - 25 of 2754) sorted by relevance

1234567891011>>

/haiku-fatelf/src/bin/coreutils/lib/
H A Dmkstemp-safer.c40 mkostemp_safer (char *templ, int flags) argument
42 return fd_safer_flag (mkostemp (templ, flags), flags);
50 mkostemps_safer (char *templ, int suffixlen, int flags) argument
52 return fd_safer_flag (mkostemps (templ, suffixlen, flags), flags);
H A Dopen-safer.c29 open_safer (char const *file, int flags, ...) argument
33 if (flags & O_CREAT)
36 va_start (ap, flags);
45 return fd_safer (open (file, flags, mode));
H A Dopenat-safer.c29 openat_safer (int fd, char const *file, int flags, ...) argument
33 if (flags & O_CREAT)
36 va_start (ap, flags);
45 return fd_safer (openat (fd, file, flags, mode));
H A Dcloexec.c35 open or pipe2 that accept flags like O_CLOEXEC to create DESC
43 int flags = fcntl (desc, F_GETFD, 0); local
45 if (0 <= flags)
47 int newflags = (value ? flags | FD_CLOEXEC : flags & ~FD_CLOEXEC);
49 if (flags == newflags
H A Dmbswidth.h37 /* Optional flags to influence mbswidth/mbsnwidth behavior. */
51 extern int mbswidth (const char *string, int flags);
55 extern int mbsnwidth (const char *buf, size_t nbytes, int flags);
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Dopen-safer.c29 open_safer (char const *file, int flags, ...) argument
33 if (flags & O_CREAT)
36 va_start (ap, flags);
48 return fd_safer (open (file, flags, mode));
/haiku-fatelf/src/libs/expat/xmlwf/
H A Dxmlfile.h10 unsigned flags);
H A Dxmlurl.h9 unsigned flags);
/haiku-fatelf/src/system/libroot/os/
H A Dfs_volume.c15 const char *fileSystem, uint32 flags, const char *parameters)
17 return _kern_mount(where, device, fileSystem, flags, (void *)parameters,
23 fs_unmount_volume(const char *path, uint32 flags) argument
25 return _kern_unmount(path, flags);
14 fs_mount_volume(const char *where, const char *device, const char *fileSystem, uint32 flags, const char *parameters) argument
/haiku-fatelf/src/system/libroot/posix/
H A Dfnmatch.c59 fnmatch(pattern, string, flags)
61 int flags;
70 if ((flags & FNM_LEADING_DIR) && *string == '/')
76 if (*string == '/' && (flags & FNM_PATHNAME))
78 if (*string == '.' && (flags & FNM_PERIOD) &&
80 ((flags & FNM_PATHNAME) && *(string - 1) == '/')))
90 if (*string == '.' && (flags & FNM_PERIOD) &&
92 ((flags & FNM_PATHNAME) && *(string - 1) == '/')))
97 if (flags & FNM_PATHNAME)
98 return ((flags
[all...]
/haiku-fatelf/src/bin/gdb/libiberty/
H A Dpex-os2.c39 pexecute (program, argv, this_pname, temp_base, errmsg_fmt, errmsg_arg, flags)
45 int flags;
49 if ((flags & PEXECUTE_ONE) != PEXECUTE_ONE)
52 pid = (flags & PEXECUTE_SEARCH ? spawnvp : spawnv) (1, program, argv);
63 pwait (pid, status, flags)
66 int flags;
H A Dfnmatch.c68 fnmatch (pattern, string, flags)
71 int flags;
76 #define FOLD(c) ((flags & FNM_CASEFOLD) ? TOLOWER (c) : (c))
87 else if ((flags & FNM_FILE_NAME) && *n == '/')
89 else if ((flags & FNM_PERIOD) && *n == '.' &&
90 (n == string || ((flags & FNM_FILE_NAME) && n[-1] == '/')))
95 if (!(flags & FNM_NOESCAPE))
105 if ((flags & FNM_PERIOD) && *n == '.' &&
106 (n == string || ((flags & FNM_FILE_NAME) && n[-1] == '/')))
110 if (((flags
[all...]
H A Dpex-djgpp.c52 pexecute (program, argv, this_pname, temp_base, errmsg_fmt, errmsg_arg, flags)
58 int flags;
66 if ((flags & PEXECUTE_ONE) != PEXECUTE_ONE)
70 rc = (flags & PEXECUTE_SEARCH ? spawnvp : spawnv) (P_WAIT, program, argv);
85 pwait (pid, status, flags)
88 int flags;
/haiku-fatelf/src/tests/kits/net/sock/
H A Dsinktcp.c17 int n, flags; local
24 flags = msgpeek;
26 if ( (n = recv(sockfd, rbuf, readlen, flags)) < 0) {
43 (flags == MSG_PEEK) ? " (MSG_PEEK)" : "");
48 if (flags != 0) {
49 flags = 0; /* no infinite loop */
/haiku-fatelf/headers/private/fs_shell/
H A Dfssh_fs_volume.h12 /* mount flags */
16 /* unmount flags */
26 uint32_t flags, const char *parameters);
28 uint32_t flags);
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/signal_h/
H A D19-1.c10 int flags; variable
16 flags = t.ss_flags;
/haiku-fatelf/src/bin/network/tcpdump/
H A Dnetbios.h10 u_char flags; member in struct:p8022Hdr
15 #define UI 0x03 /* 802.2 flags */
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/shm_open/
H A D11-1.c25 int fd, flags; local
33 flags = fcntl(fd, F_GETFD);
34 if(flags == -1) {
42 if(flags & FD_CLOEXEC){
46 printf("shm_open() does not set the FD_CLOEXEC flags.\n");
/haiku-fatelf/src/system/kernel/slab/
H A Dslab_private.h22 void* block_alloc(size_t size, size_t alignment, uint32 flags);
24 void block_free(void* block, uint32 flags);
49 slab_internal_alloc(size_t size, uint32 flags) argument
51 if (flags & CACHE_DURING_BOOT)
54 return block_alloc(size, 0, flags);
59 slab_internal_free(void* buffer, uint32 flags) argument
61 block_free(buffer, flags);
H A DHashedObjectCache.cpp32 allocate_slab(uint32 flags) argument
34 return (HashedSlab*)slab_internal_alloc(sizeof(HashedSlab), flags);
39 free_slab(HashedSlab* slab, uint32 flags) argument
41 slab_internal_free(slab, flags);
58 size_t maxMagazineCount, uint32 flags, void* cookie,
62 void* buffer = slab_internal_alloc(sizeof(HashedObjectCache), flags);
70 buffer = slab_internal_alloc(hashSize, flags);
79 maxMagazineCount, flags, cookie, constructor, destructor,
85 if ((flags & CACHE_LARGE_SLAB) != 0)
106 HashedObjectCache::CreateSlab(uint32 flags) argument
56 Create(const char* name, size_t object_size, size_t alignment, size_t maximum, size_t magazineCapacity, size_t maxMagazineCount, uint32 flags, void* cookie, object_cache_constructor constructor, object_cache_destructor destructor, object_cache_reclaimer reclaimer) argument
140 ReturnSlab(slab* _slab, uint32 flags) argument
173 _ResizeHashTableIfNeeded(uint32 flags) argument
[all...]
/haiku-fatelf/headers/private/kernel/
H A Dsyscall_restart.h25 if ((thread->flags & THREAD_FLAGS_SYSCALL_RESTARTED) != 0)
36 /*! Helper function for syscalls with flags + timeout.
42 syscall_restart_handle_timeout_pre(uint32& flags, bigtime_t& timeout) argument
49 if ((thread->flags & THREAD_FLAGS_SYSCALL_RESTARTED) != 0) {
51 if (timeout > 0 && (flags & B_RELATIVE_TIMEOUT) != 0)
52 flags = (flags & ~B_RELATIVE_TIMEOUT) | B_ABSOLUTE_TIMEOUT;
53 } else if ((flags & B_RELATIVE_TIMEOUT) != 0) {
60 flags = (flags
[all...]
/haiku-fatelf/src/libs/compat/freebsd_network/compat/sys/
H A Dmalloc.h20 * flags to malloc.
31 void *_kernel_malloc(size_t size, int flags);
34 void *_kernel_contigmalloc(const char *file, int line, size_t size, int flags,
39 #define kernel_malloc(size, base, flags) \
40 _kernel_malloc(size, flags)
45 #define kernel_contigmalloc(size, type, flags, low, high, alignment, boundary) \
46 _kernel_contigmalloc(__FILE__, __LINE__, size, flags, low, high, \
53 # define malloc(size, tag, flags) kernel_malloc(size, tag, flags)
55 # define contigmalloc(size, type, flags, lo
[all...]
/haiku-fatelf/headers/private/kernel/arch/x86/
H A Darch_int.h24 size_t flags; local
28 "cli" : "=g" (flags));
29 return (flags & 0x200) != 0;
44 size_t flags; local
47 "pop %0;\n" : "=g" (flags));
48 return (flags & 0x200) != 0;
/haiku-fatelf/headers/private/kernel/slab/
H A DObjectDepot.h29 void* object, uint32 flags);
38 size_t maxCount, uint32 flags, void* cookie,
40 uint32 flags));
41 void object_depot_destroy(object_depot* depot, uint32 flags);
44 void object_depot_store(object_depot* depot, void* object, uint32 flags);
46 void object_depot_make_empty(object_depot* depot, uint32 flags);
/haiku-fatelf/src/bin/bash/lib/glob/
H A Dstrmatch.c33 strmatch (pattern, string, flags)
36 int flags;
41 return (xstrmatch (pattern, string, flags));
46 wcsmatch (wpattern, wstring, flags)
49 int flags;
54 return (internal_wstrmatch (wpattern, wstring, flags));

Completed in 197 milliseconds

1234567891011>>