/haiku-fatelf/src/bin/coreutils/lib/ |
H A D | mkstemp-safer.c | 40 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 D | open-safer.c | 29 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 D | openat-safer.c | 29 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 D | cloexec.c | 35 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 D | mbswidth.h | 37 /* 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 D | open-safer.c | 29 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 D | xmlfile.h | 10 unsigned flags);
|
H A D | xmlurl.h | 9 unsigned flags);
|
/haiku-fatelf/src/system/libroot/os/ |
H A D | fs_volume.c | 15 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 D | fnmatch.c | 59 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 D | pex-os2.c | 39 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 D | fnmatch.c | 68 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 D | pex-djgpp.c | 52 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 D | sinktcp.c | 17 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 D | fssh_fs_volume.h | 12 /* 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 D | 19-1.c | 10 int flags; variable 16 flags = t.ss_flags;
|
/haiku-fatelf/src/bin/network/tcpdump/ |
H A D | netbios.h | 10 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 D | 11-1.c | 25 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 D | slab_private.h | 22 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 D | HashedObjectCache.cpp | 32 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 D | syscall_restart.h | 25 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 D | malloc.h | 20 * 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 D | arch_int.h | 24 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 D | ObjectDepot.h | 29 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 D | strmatch.c | 33 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));
|