Lines Matching +full:unused +full:- +full:but +full:- +full:set +full:- +full:variable
3 * Use of this source code is governed by a BSD-style license that can be
27 * Silence compiler warnings for unused variables/functions.
29 * If the definition is actually used, the attribute should be removed, but if
32 * If the definition is actually unused, the compiler is free to remove it from
46 * Mark the function as a printf-style function.
63 * Mark a local variable for automatic cleanup when exiting its scope.
65 * Make sure any variable using this is always initialized to something.
66 * @func The function to call on (a pointer to) the variable.
95 * attribute_cleanup_fd int fd = -1;
125 /* clang-format off */
142 /* clang-format on */
199 * opposed to compile-time) test. Some Android processes that start in running_with_asan()
200 * before /data is mounted run with non-instrumented libminijail.so, so in running_with_asan()
201 * the symbol-sniffing code must be present to make the right decision. in running_with_asan()
269 * Note that, unlike strtok, @delim is not a set of characters, but the full
273 * strtok will yield ["a","b"], but this will yield ["a","","b"].
306 * init_logging: initializes the module-wide logging.
337 * minjail_setenv: Set an environment variable in @env. Semantics match the
338 * standard setenv() function, but this operates on @env, not the global
341 * newly-allocated memory.
343 * @env Address of the environment to modify. Might be re-allocated to
345 * @name Name of the key to set.
346 * @value The value to set.
347 * @overwrite Whether to replace the existing value for @name. If non-zero and
356 * getmultiline: This is like getline() but supports line wrapping with \.
358 * @lineptr Address of a buffer that a mutli-line is stored.
362 * Returns number of bytes read or -1 on failure to read (including EOF).
367 * minjail_getenv: Get an environment variable from @envp. Semantics match the
368 * standard getenv() function, but this operates on @envp, not the global
377 * If the environment variable name is not found, returns NULL.
382 * minjail_unsetenv: Clear the environment variable @name from the @envp array
387 * @envp Address of the environment to clear the variable from.
388 * @name Name of the variable to clear.