Home
last modified time | relevance | path

Searched refs:var (Results 1 – 25 of 157) sorted by relevance

1234567

/glibc-2.36/iconvdata/
Diso646.c50 enum variant var = ((struct iso646_data *) step->__data)->var;
51 #define EXTRA_LOOP_ARGS , var
121 enum variant var; member
134 enum variant var = 0; in gconv_init() local
148 ++var; in gconv_init()
160 new_data->var = var; in gconv_init()
209 if (var == GB || var == ES || var == IT || var == FR || var == FR1) \
211 else if (var == NO2) \
215 if (var == CN) \
217 else if (var == HU || var == CU || var == SE || var == SE2) \
[all …]
Dutf-7.c46 shift_character (enum variant const var) in shift_character() argument
48 if (var == UTF7) in shift_character()
50 else if (var == UTF_7_IMAP) in shift_character()
71 isdirect (uint32_t ch, enum variant var) in isdirect() argument
73 if (var == UTF7) in isdirect()
81 else if (var == UTF_7_IMAP) in isdirect()
94 isxdirect (uint32_t ch, enum variant var) in isxdirect() argument
96 if (isdirect (ch, var)) in isxdirect()
98 if (var != UTF7) in isxdirect()
124 base64 (unsigned int i, enum variant var) in base64() argument
[all …]
Dutf-32.c44 enum variant var = ((struct utf32_data *) step->__data)->var; \
46 if (FROM_DIRECTION && var == UTF_32) \
65 else if (!FROM_DIRECTION && var == UTF_32 && !data->__internal_use \
76 && ((var == UTF_32LE && BYTE_ORDER == BIG_ENDIAN) \
77 || (var == UTF_32BE && BYTE_ORDER == LITTLE_ENDIAN))) \
80 #define EXTRA_LOOP_ARGS , var, swap
102 enum variant var; member
113 enum variant var = illegal_var; in gconv_init() local
119 var = UTF_32; in gconv_init()
124 var = UTF_32; in gconv_init()
[all …]
Dutf-16.c45 enum variant var = ((struct utf16_data *) step->__data)->var; \
48 if (var == UTF_16) \
77 else if ((var == UTF_16LE && BYTE_ORDER == BIG_ENDIAN) \
78 || (var == UTF_16BE && BYTE_ORDER == LITTLE_ENDIAN)) \
104 enum variant var; member
115 enum variant var = illegal_var; in gconv_init() local
121 var = UTF_16; in gconv_init()
126 var = UTF_16; in gconv_init()
131 var = UTF_16BE; in gconv_init()
136 var = UTF_16BE; in gconv_init()
[all …]
Diso-2022-jp.c62 enum variant var = ((struct iso2022jp_data *) step->__data)->var; \
65 #define EXTRA_LOOP_ARGS , var, setp
88 enum variant var; member
141 enum variant var = illegal_var; in gconv_init() local
147 var = iso2022jp; in gconv_init()
152 var = iso2022jp; in gconv_init()
157 var = iso2022jp2; in gconv_init()
162 var = iso2022jp2; in gconv_init()
175 new_data->var = var; in gconv_init()
217 (void) var; \
[all …]
/glibc-2.36/manual/
Darith.texi140 These functions are specified to return a result @var{r} such that the value
141 @code{@var{r}.quot*@var{denominator} + @var{r}.rem} equals
142 @var{numerator}.
162 @deftypefun div_t div (int @var{numerator}, int @var{denominator})
167 the division of @var{numerator} by @var{denominator}, returning the
201 @deftypefun ldiv_t ldiv (long int @var{numerator}, long int @var{denominator})
226 @deftypefun lldiv_t lldiv (long long int @var{numerator}, long long int @var{denominator})
256 @deftypefun imaxdiv_t imaxdiv (intmax_t @var{numerator}, intmax_t @var{denominator})
318 @deftypefn {Macro} int fpclassify (@emph{float-type} @var{x})
327 The floating-point number @var{x} is ``Not a Number'' (@pxref{Infinity
[all …]
Dmath.texi56 @Theglibc{} also provides @code{_Float@var{N}} and
57 @code{_Float@var{N}x} types. These types are defined in @w{ISO/IEC TS
63 manual, the @code{_Float@var{N}} and @code{_Float@var{N}x} variants of
68 Support for @code{_Float@var{N}} or @code{_Float@var{N}x} types is
141 @code{_Float@var{N}} and @code{_Float@var{N}x} for the machines that
144 appended with @samp{f@var{N}} or @samp{f@var{N}x}, such as @samp{f128}
178 @deftypefun double sin (double @var{x})
179 @deftypefunx float sinf (float @var{x})
180 @deftypefunx {long double} sinl (long double @var{x})
181 @deftypefunx _FloatN sinfN (_Float@var{N} @var{x})
[all …]
Dprobes.texi28 @deftp Probe memory_sbrk_more (void *@var{$arg1}, size_t @var{$arg2})
30 @code{sbrk}. Argument @var{$arg1} is the additional size requested to
31 @code{sbrk}, and @var{$arg2} is the pointer that marks the end of the
35 @deftp Probe memory_sbrk_less (void *@var{$arg1}, size_t @var{$arg2})
37 calling @code{sbrk}. Argument @var{$arg1} is the size released by
39 to @code{sbrk}), and @var{$arg2} is the pointer that marks the end of
43 @deftp Probe memory_heap_new (void *@var{$arg1}, size_t @var{$arg2})
45 @var{$arg1} is a pointer to the base of the memory area, where the
46 @code{heap_info} data structure is held, and @var{$arg2} is the size of
50 @deftp Probe memory_heap_free (void *@var{$arg1}, size_t @var{$arg2})
[all …]
Dstring.texi83 testing to see whether the @code{char *} variable @var{p} points to a
85 @code{!*@var{p}} or @code{*@var{p} == '\0'}.
230 @deftypefun size_t strlen (const char *@var{s})
234 string @var{s} in bytes. (In other words, it returns the offset of the
256 But beware, this will not work unless @var{string} is the
296 @deftypefun size_t wcslen (const wchar_t *@var{ws})
301 wide string pointed to by @var{ws} (this is also the offset of
302 the terminating null wide character of @var{ws}).
311 @deftypefun size_t strnlen (const char *@var{s}, size_t @var{maxlen})
314 If the array @var{s} of size @var{maxlen} contains a null byte,
[all …]
Dipc.texi23 @deftypefun int semctl (int @var{semid}, int @var{semnum}, int @var{cmd});
33 @deftypefun int semget (key_t @var{key}, int @var{nsems}, int @var{semflg});
38 @deftypefun int semop (int @var{semid}, struct sembuf *@var{sops}, size_t @var{nsops});
43 @deftypefun int semtimedop (int @var{semid}, struct sembuf *@var{sops}, size_t @var{nsops}, const s…
50 @deftypefun int sem_init (sem_t *@var{sem}, int @var{pshared}, unsigned int @var{value});
56 @deftypefun int sem_destroy (sem_t *@var{sem});
61 @deftypefun sem_t *sem_open (const char *@var{name}, int @var{oflag}, ...);
70 @deftypefun int sem_close (sem_t *@var{sem});
80 @deftypefun int sem_unlink (const char *@var{name});
86 @deftypefun int sem_wait (sem_t *@var{sem});
[all …]
Ddynlink.texi25 @deftypefun {int} dlinfo (void *@var{handle}, int @var{request}, void *@var{arg})
28 This function returns information about @var{handle} in the memory
29 location @var{arg}, based on @var{request}. The @var{handle} argument
37 The following operations are defined for use with @var{request}:
41 The corresponding @code{struct link_map} pointer for @var{handle} is
42 written to @code{*@var{arg}}. The @var{arg} argument must be the
46 The namespace identifier of @var{handle} is written to
47 @code{*@var{arg}}. The @var{arg} argument must be the address of an
51 The value of the @code{$ORIGIN} dynamic string token for @var{handle} is
52 written to the character array starting at @var{arg} as a
[all …]
Dsearch.texi72 …{void *} lfind (const void *@var{key}, const void *@var{base}, size_t *@var{nmemb}, size_t @var{si…
75 The @code{lfind} function searches in the array with @code{*@var{nmemb}}
76 elements of @var{size} bytes pointed to by @var{base} for an element
77 which matches the one pointed to by @var{key}. The function pointed to
78 by @var{compar} is used to decide whether two elements match.
81 starting at @var{base} if it is found. If no matching element is
84 The mean runtime of this function is @code{*@var{nmemb}}/2. This
90 … {void *} lsearch (const void *@var{key}, void *@var{base}, size_t *@var{nmemb}, size_t @var{size}…
110 function adds the object pointed to by @var{key} (with a size of
111 @var{size} bytes) at the end of the array and it increments the value of
[all …]
Dthreads.texi98 @deftypefun int thrd_create (thrd_t *@var{thr}, thrd_start_t @var{func}, void *@var{arg})
102 @var{func}. The object pointed to by @var{arg} will be used as the
103 argument to @var{func}. If successful, @var{thr} is set to the new
116 @deftypefun int thrd_equal (thrd_t @var{lhs}, thrd_t @var{rhs})
119 @code{thrd_equal} checks whether @var{lhs} and @var{rhs} refer to the
120 same thread. If @var{lhs} and @var{rhs} are different threads, this
124 @deftypefun int thrd_sleep (const struct timespec *@var{time_point}, struct timespec *@var{remainin…
128 least until the elapsed time pointed to by @var{time_point} has been
136 @var{remaining}.
150 @deftypefun {_Noreturn void} thrd_exit (int @var{res})
[all …]
Dargp.texi36 …arse (const struct argp *@var{argp}, int @var{argc}, char **@var{argv}, unsigned @var{flags}, int …
67 The @code{argp_parse} function parses the arguments in @var{argv}, of
68 length @var{argc}, using the argp parser @var{argp}. @xref{Argp
69 Parsers}. Passing a null pointer for @var{argp} is the same as using
72 @var{flags} is a set of flag bits that modify the parsing behavior.
73 @xref{Argp Flags}. @var{input} is passed through to the argp parser
74 @var{argp}, and has meaning defined by @var{argp}. A typical usage is
79 in @var{flags}, calling @code{argp_parse} may result in the program
83 If @var{arg_index} is non-null, the index of the first unparsed option
84 in @var{argv} is returned as a value.
[all …]
Dctype.texi66 @deftypefun int islower (int @var{c})
78 Returns true if @var{c} is a lower-case letter. The letter need not be
83 @deftypefun int isupper (int @var{c})
86 Returns true if @var{c} is an upper-case letter. The letter need not be
91 @deftypefun int isalpha (int @var{c})
94 Returns true if @var{c} is an alphabetic character (a letter). If
106 @deftypefun int isdigit (int @var{c})
109 Returns true if @var{c} is a decimal digit (@samp{0} through @samp{9}).
113 @deftypefun int isalnum (int @var{c})
116 Returns true if @var{c} is an alphanumeric character (a letter or
[all …]
Dstdio.texi144 @deftypefun {FILE *} fopen (const char *@var{filename}, const char *@var{opentype})
149 @var{filename}, and returns a pointer to the stream.
151 The @var{opentype} argument is a string that controls how the file is
196 @Theglibc{} defines additional characters for use in @var{opentype}:
213 Insist on creating a new file---if a file @var{filename} already
224 The character @samp{b} in @var{opentype} has a standard meaning; it
232 If the @var{opentype} string contains the sequence
233 @code{,ccs=@var{STRING}} then @var{STRING} is taken as the name of a
236 from and to the character set @var{STRING}. Any other stream
245 Any other characters in @var{opentype} are simply ignored. They may be
[all …]
Dllio.texi83 @deftypefun int open (const char *@var{filename}, int @var{flags}[, mode_t @var{mode}])
87 the file named by @var{filename}. Initially, the file position
89 @var{mode} (@pxref{Permission Bits}) is used only when a file is
92 The @var{flags} argument controls how the file is to be opened. This is
105 The file exists but is not readable/writable as requested by the @var{flags}
118 The @var{flags} argument specified write access, and the file is a directory.
138 @code{O_NONBLOCK} and @code{O_WRONLY} are both set in the @var{flags}
139 argument, the file named by @var{filename} is a FIFO (@pxref{Pipes and
144 @code{O_RDWR}, and @code{O_TRUNC} are set in the @var{flags} argument,
169 @deftypefun int open64 (const char *@var{filename}, int @var{flags}[, mode_t @var{mode}])
[all …]
Dfilesys.texi58 @deftypefun {char *} getcwd (char *@var{buffer}, size_t @var{size})
81 @var{buffer} that you provide. The @var{size} argument is how you tell
82 the system the allocation size of @var{buffer}.
85 null pointer for the @var{buffer} argument. Then @code{getcwd}
87 (@pxref{Unconstrained Allocation}). If the @var{size} is greater than
91 The return value is @var{buffer} on success and a null pointer on failure.
96 The @var{size} argument is zero and @var{buffer} is not a null pointer.
99 The @var{size} argument is less than the length of the working directory
134 @deftypefn {Deprecated Function} {char *} getwd (char *@var{buffer})
143 The @var{buffer} argument should be a pointer to an array at least
[all …]
/glibc-2.36/benchtests/scripts/
Dcompare_bench.py30 def do_compare(func, var, tl1, tl2, par, threshold): argument
50 sys.stderr.write('%s(%s)[%s]: stat does not exist\n' % (func, var, par))
61 (ind, func, var, par, d, v1, v2))
76 for var in pts1['functions'][func].keys():
77 tl1 = pts1['functions'][func][var]
78 tl2 = pts2['functions'][func][var]
83 do_compare(func, var, tl1, tl2, stat, threshold)
87 if 'timings' not in pts1['functions'][func][var].keys() or \
88 'timings' not in pts2['functions'][func][var].keys():
99 (func, var))
[all …]
/glibc-2.36/misc/sys/
Dqueue.h134 #define LIST_FOREACH(var, head, field) \ argument
135 for ((var) = ((head)->lh_first); \
136 (var); \
137 (var) = ((var)->field.le_next))
197 #define SLIST_FOREACH(var, head, field) \ argument
198 for((var) = (head)->slh_first; (var); (var) = (var)->field.sle_next)
269 #define STAILQ_FOREACH(var, head, field) \ argument
270 for ((var) = ((head)->stqh_first); \
271 (var); \
272 (var) = ((var)->field.stqe_next))
[all …]
/glibc-2.36/hurd/
Dhurdlock.h75 #define lll_robust_lock(var, flags) \ argument
76 __lll_robust_lock (&(var), flags)
86 #define lll_robust_trylock(var) \ argument
87 __lll_robust_trylock (&(var))
97 #define lll_robust_unlock(var, flags) \ argument
98 __lll_robust_unlock (&(var), flags)
111 #define lll_abstimed_wait(var, val, tsp, flags, ...) \ argument
114 __lll_abstimed_wait (&(var), (val), (tsp), (flags), \
118 #define lll_abstimed_wait_intr(var, val, tsp, flags, ...) \ argument
121 __lll_abstimed_wait_intr (&(var), (val), (tsp), (flags), \
[all …]
/glibc-2.36/mach/
Dlowlevellock.h56 #define lll_wait(var, val, flags) \ argument
57 __lll_wait (&(var), val, flags)
63 #define lll_wait_intr(var, val, flags) \ argument
64 __lll_wait_intr ((&var), val, flags)
69 #define lll_wake(var, flags) \ argument
70 __lll_wake (&(var), flags)
87 #define lll_lock(var, flags) \ argument
88 __lll_lock (&(var), flags)
98 #define lll_trylock(var) \ argument
99 __lll_trylock (&(var))
[all …]
/glibc-2.36/nptl/
Dtest-mutex-printers.py33 var = 'mutex' variable
38 test_printer(var, to_string, {'Status': 'Destroyed'})
42 test_printer(var, to_string, {'Status': 'Not acquired'})
47 test_printer(var, to_string,
53 test_printer(var, to_string, {'Status': 'Not acquired'})
75 test_printer(var, to_string, {'Owner ID': r'{0} \(dead\)'.format(child_id)})
78 test_printer(var, to_string, {'Owner ID': thread_id,
81 test_printer(var, to_string, {'Status': 'Not acquired',
87 test_printer(var, to_string, {'Times acquired by the owner': '2'})
89 test_printer(var, to_string, {'Times acquired by the owner': '3'})
/glibc-2.36/include/
Darray_length.h24 #define array_length(var) \ argument
25 (sizeof (var) / sizeof ((var)[0]) \
28 (__typeof (var), __typeof (&(var)[0])), \
34 #define array_end(var) (&(var)[array_length (var)]) argument
/glibc-2.36/nscd/
Dnscd.init50 [ -d /var/run/nscd ] || mkdir /var/run/nscd
51 [ -d /var/db/nscd ] || mkdir /var/db/nscd
56 [ $RETVAL -eq 0 ] && touch /var/lock/subsys/nscd
65 rm -f /var/lock/subsys/nscd
68 rm -f /var/run/nscd/nscd.pid
69 rm -f /var/run/nscd/socket
102 [ -e /var/lock/subsys/nscd ] && restart

1234567