Lines Matching refs:h

39   'sys/inotify.h',
40 'sys/loadavg.h',
41 'sys/poll.h',
42 'sys/prctl.h',
43 'sys/procctl.h',
44 'sys/sendfile.h',
45 'sys/un.h',
46 'sys/wait.h',
47 'sys/time.h',
48 'unistd.h',
49 'dlfcn.h',
50 'getopt.h',
51 'inttypes.h',
52 'poll.h',
53 'pwd.h',
54 'stdint.h',
55 'stdlib.h',
56 'strings.h',
57 'syslog.h',
58 'crypt.h',
59 'malloc.h',
60 'signal.h',
61 'sys/epoll.h',
62 'sys/event.h',
63 'sys/mman.h',
64 'sys/random.h',
65 'linux/random.h',
66 'sys/resource.h',
67 'sys/uio.h',
70 foreach h : headers
71 conf_data.set('HAVE_@0@'.format(h.underscorify().to_upper()), compiler.has_header(h))
79 if compiler.has_function('crypt_r', args: defs, prefix: '#include <crypt.h>')
83 elif compiler.has_function('crypt_r', args: defs + ['-lcrypt'], prefix: '#include <crypt.h>')
87 elif compiler.has_function('crypt', args: defs, prefix: '#include <crypt.h>')
91 elif compiler.has_function('crypt', args: defs + ['-lcrypt'], prefix: '#include <crypt.h>')
97 if compiler.has_function('crypt', args: defs, prefix: '#include <unistd.h>')
101 elif compiler.has_function('crypt', args: defs + ['-lcrypt'], prefix: '#include <unistd.h>')
107 …et('HAVE_SOCKLEN_T', compiler.has_type('socklen_t', args: defs, prefix: '#include <sys/socket.h>'))
110 'arc4random_buf': 'stdlib.h',
111 'chroot': 'unistd.h',
112 'copy_file_range': 'unistd.h',
113 'epoll_ctl': 'sys/epoll.h',
114 'explicit_bzero': 'strings.h',
115 'explicit_memset': 'string.h',
116 'fork': 'unistd.h',
117 'getentropy': 'sys/random.h',
118 'getloadavg': 'stdlib.h',
119 'getrandom': 'linux/random.h',
120 'getrlimit': 'sys/resource.h',
121 'getuid': 'unistd.h',
122 'gmtime_r': 'time.h',
123 'inet_aton': 'arpa/inet.h',
124 'inet_pton': 'arpa/inet.h',
125 'issetugid': 'unistd.h',
126 'jrand48': 'stdlib.h',
127 'kqueue': 'sys/event.h',
128 'localtime_r': 'time.h',
129 'lstat': 'sys/stat.h',
130 'madvise': 'sys/mman.h',
131 'malloc_trim': 'malloc.h',
132 'mallopt': 'malloc.h',
133 'mempcpy': 'string.h',
134 'memset_s': 'string.h',
135 'mkostemp': 'stdlib.h',
136 'mmap': 'sys/mman.h',
137 'pipe2': 'unistd.h',
138 'poll': 'poll.h',
139 'pread': 'unistd.h',
140 'preadv': 'sys/uio.h',
141 'pwrite': 'unistd.h',
142 'pwritev': 'sys/uio.h',
143 'sendfile64': 'sys/socket.h',
144 'sendfile': 'sys/sendfile.h',
145 'sigaction': 'signal.h',
146 'signal': 'signal.h',
147 'splice': 'fcntl.h',
148 'srandom': 'stdlib.h',
149 'strerror_r': 'string.h',
150 'timegm': 'time.h',
151 'writev': 'sys/uio.h',
154 foreach f, h : functions
155 …conf_data.set('HAVE_@0@'.format(f.underscorify().to_upper()), compiler.has_header_symbol(h, f, arg…
159 conf_data.set('HAVE_SYS_SELECT_H', compiler.has_header('sys/select.h'))
164 conf_data.set('HAVE_PORT_H', compiler.has_header('port.h'))
165 conf_data.set('HAVE_PRIV_H', compiler.has_header('priv.h'))
166 conf_data.set('HAVE_SYS_DEVPOLL_H', compiler.has_header('sys/devpoll.h'))
167 conf_data.set('HAVE_SYS_FILIO_H', compiler.has_header('sys/filio.h'))
176 …VE_CLOCK_GETTIME', compiler.has_function('clock_gettime', args: defs, prefix: '#include <time.h>'))
180 … compiler.has_function('clock_gettime', args: defs, dependencies: rt, prefix: '#include <time.h>'))
185 …iler.has_function('clock_gettime', args: defs, dependencies: threads, prefix: '#include <time.h>'))
193 if compiler.has_function('elftc_copyfile', args: defs + ['-lelftc'], prefix: '#include <libelftc.h>…
199 #include <sys/types.h>
200 #include <sys/socket.h>
201 #include <netinet/in.h>
224 #include <time.h>
245 …not(compiler.has_function('dlopen', args: defs, dependencies: libdl, prefix: '#include <dlfcn.h>'))
246 error('Couldn\'t find dlfcn.h or dlopen in lib dl')
305 if compiler.has_header(join_paths(i, 'lua.h'))
335 # header: openssl/ssl.h
346 # header: wolfssl/ssl.h
354 # header: mbedtls/ssl.h
366 # header: nettle/nettle-types.h
373 # header: gnutls/gnutls.h
387 # header: nss3/nss.h
404 # header: nss/nss.h
441 uuid = compiler.has_function('uuid_generate', args: defs, prefix: '#include <uuid/uuid.h>')
462 #include <sys/types.h>
463 #include <sys/xattr.h>
471 #include <sys/types.h>
472 #include <sys/extattr.h>
483 #include <sys/types.h>
484 #include <attr/attributes.h>
487 error('Couldn\'t find attr/attributes.h or attr_get in lib attr')
506 output : 'config.h',
587 output: ['configparser.c', 'configparser.h'],