Home
last modified time | relevance | path

Searched full:with (Results 1 – 25 of 2233) sorted by relevance

12345678910>>...90

/picolibc-latest/newlib/libc/include/sys/
Dfeatures.h39 /* Version with trailing underscores for BSD compatibility. */
107 * POSIX-1.2024 with BSD and SVr4 extensions
205 * any version of POSIX.1; enabled by default, or with _POSIX_SOURCE,
209 * POSIX.2-1992; enabled by default, with _POSIX_C_SOURCE >= 2,
213 * POSIX.1b-1993; enabled by default, with _POSIX_C_SOURCE >= 199309L,
217 * POSIX.1c-1995; enabled by default, with _POSIX_C_SOURCE >= 199506L,
221 * POSIX.1-2001; enabled by default, with _POSIX_C_SOURCE >= 200112L,
225 * POSIX.1-2008; enabled by default, with _POSIX_C_SOURCE >= 200809L,
229 * POSIX.1-2024; enabled by default, with _POSIX_C_SOURCE >= 202405L,
233 * XPG4 XSI extensions; enabled with any version of _XOPEN_SOURCE.
[all …]
/picolibc-latest/
DREADME.md5 small embedded systems with limited RAM. Picolibc was formed by blending
22 other (mostly older) licenses with similar terms.
112 * Changes, where possible, should be made in a way compatible with
128 * [Linking with Picolibc.ld](doc/linking.md). Provides more details
194 * Validate all public headers with a C++ compiler to make sure they
207 lock so applications synchronizing with that API will "work".
211 * Add aarch64 soft float support for armv8. Clang allows this with
213 custom toolchain that included a compiler-rt library built with the
260 although picolibc doesn't do anything with <string>. Thanks to
278 * Fix some FORTITY_SOURCE issues with tinystdio
[all …]
DCOPYING.NEWLIB19 the BSD License and may only be used or replicated with the express
27 Redistribution and use in source and binary forms, with or without modification,
34 and/or other materials provided with the distribution.
84 LUCENT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
90 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
103 AMD MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS
105 DAMAGES IN CONNECTION WITH OR ARISING FROM THE FURNISHING, PERFORMANCE, OR
153 and the following disclaimer are preserved with no changes.
179 Redistribution and use in source and binary forms, with or without
186 documentation and/or other materials provided with the distribution.
[all …]
DCOPYING.GPL239 We protect your rights with two steps: (1) copyright the software, and
68 either verbatim or with modifications and/or translated into another
85 along with the Program.
130 with the Program (or with a work based on the Program) on a volume of
138 a) Accompany it with the complete corresponding machine-readable
142 b) Accompany it with a written offer, valid for at least three
149 c) Accompany it with the information you received as to the offer
152 received the program in object code or executable form with such
153 an offer, in accord with Subsection b above.)
162 form) with the major components (compiler, kernel, and so on) of the
[all …]
/picolibc-latest/doc/
Dinit.md40 decorate a function with `__attribute__((constructor))`, the compiler
42 segment. Decorate a function with `__attribute__((destructor))` and
49 ends up with arrays of function pointers. For data from the
50 `.init_array` segment, the array should start with the symbol
51 `__init_array_start` and ending with `__init_array_end`. For data from
52 the `.fini_array` segment, the array should start with the symbol
53 `__fini_array_start` and end with `__fini_array_end`. Finally, for
54 data from the `.preinit_array` segment, the array starts with
55 `__preinit_array_start` and ends with `__preinit_array_end`.
Dos.md16 the former with only a few functions.
82 Support for these requires malloc/free along with a handful of
97 callbacks registered with atexit. To make it work, you'll need to
105 smaller version, enabled (by default) with -Dnewlib-nano-malloc=true,
107 version (enabled with -Dnewlib-nano-malloc=false) requires sbrk return
119 The sample linker script provided with picolibc defines these two
134 ## Linking with System Library
145 include the functions in object files with the rest of your
146 application, which avoids the problem with libraries. Note that this
152 all of the above functions along with a couple more POSIX APIs used by
[all …]
Dlinking.md4 information, including the location of various memory sections along with
19 To use a custom linker script when linking with gcc using
22 `picolibc.specs` to not add the picolibc linker script along with your
43 This is for an STM32L151 SoC with 128kB of flash and 16kB of RAM. We
45 this with gcc, the command line would look like this:
90 decorating them with `__attribute__ ((section(`*name*`)))`. You'll
91 find '*' used in the following defintions; that can be replaced with
93 -fdata-sections with gcc, that creates a section named
165 picolibc.ld places values for variables with explicit initializers in
189 part of initializing RAM with no additional code. This requires a bit
/picolibc-latest/newlib/libc/stdio/
Dswprintf.c65 to the buffer <[str]> with a terminating wide <<NUL>>, and the
75 <<*<[str]>>> overlaps with one of the arguments. Behavior is also
98 if the same argument is requested with different types), by
126 with thousands' grouping wide characters.)
130 justified, and the right is padded with
139 <<G>>) will always begin with a plus or minus
141 values do not begin with a plus sign.)
147 result will begin with a space. If the space
173 The alternative form output with the # flag depends on the <[type]>
216 with m as a decimal integer. Negative field widths
[all …]
Dsprintf.c97 should be freed later with <<free>>.
107 is undefined if the output <<*<[str]>>> overlaps with one of
130 if the same argument is requested with different types), by
158 with thousands' grouping wide characters.)
162 justified, and the right is padded with
171 <<G>>) will always begin with a plus or minus
173 values do not begin with a plus sign.)
179 result will begin with a space. If the space
205 The alternative form output with the # flag depends on the <[type]>
247 with m as a decimal integer. Negative field widths
[all …]
/picolibc-latest/test/
Dtest-memcpy_s.c6 * Redistribution and use in source and binary forms, with or without
16 * with the distribution.
84 "ERROR: Custom constraint handler called with incorrect msg: %s\n", in test_handler_called()
91 "Custom constraint handler called with correct msg: %s\n", in test_handler_called()
120 // Test case 2: Copy with insufficient destination size in main()
125 TEST_RES(res != 0, "Copy with insufficient destination size", handler_res, in main()
128 // Test case 3: Copy with Null destination in main()
132 TEST_RES(res != 0, "Copy with Null destination", handler_res, test_id); in main()
134 // Test case 4: Copy with Null source in main()
138 TEST_RES(res != 0, "Copy with Null source", handler_res, test_id); in main()
[all …]
Dtest-memmove_s.c6 * Redistribution and use in source and binary forms, with or without
16 * with the distribution.
84 "ERROR: Custom constraint handler called with incorrect msg: %s\n", in test_handler_called()
91 "Custom constraint handler called with correct msg: %s\n", in test_handler_called()
119 // Test case 2: Move with insufficient destination size in main()
124 TEST_RES(res != 0, "Move with insufficient destination size", handler_res, in main()
127 // Test case 3: Move with Null destination in main()
131 TEST_RES(res != 0, "Move with Null destination", handler_res, test_id); in main()
133 // Test case 4: Move with Null source in main()
137 TEST_RES(res != 0, "Move with Null source", handler_res, test_id); in main()
[all …]
Dtest-strnlen_s.c6 * Redistribution and use in source and binary forms, with or without
16 * with the distribution.
84 "ERROR: Custom constraint handler called with incorrect msg: %s\n", in test_handler_called()
91 "Custom constraint handler called with correct msg: %s\n", in test_handler_called()
116 // Test case 2: Length with exact buffer size in main()
120 TEST_RES(length == 13, "Length with exact buffer size", handler_res, in main()
123 // Test case 3: Length with insufficient buffer in main()
127 TEST_RES(length == 5, "Length with insufficient buffer", handler_res, in main()
136 // Test case 5: Length with Null string in main()
140 TEST_RES(length == 0, "Length with Null string", handler_res, test_id); in main()
[all …]
Dtest-sprintf_s.c6 * Redistribution and use in source and binary forms, with or without
16 * with the distribution.
84 "ERROR: Custom constraint handler called with incorrect msg: %s\n", in test_handler_called()
91 "Custom constraint handler called with correct msg: %s\n", in test_handler_called()
120 // Test case 2: Formatting with buffer overflow in main()
125 TEST_RES(res == 0, "Formatting with buffer overflow", handler_res, test_id); in main()
127 // Test case 3: Formatting with Null buffer in main()
132 TEST_RES(res == 0, "Formatting with Null buffer", handler_res, test_id); in main()
134 // Test case 4: Formatting with Null format string in main()
139 TEST_RES(res == 0, "Formatting with Null format string", handler_res, in main()
Dtest-strncat_s.c6 * Redistribution and use in source and binary forms, with or without
16 * with the distribution.
84 "ERROR: Custom constraint handler called with incorrect msg: %s\n", in test_handler_called()
91 "Custom constraint handler called with correct msg: %s\n", in test_handler_called()
121 // Test case 2: Concatenation with insufficient buffer in main()
127 TEST_RES(res != 0, "Concatenation with insufficient buffer", handler_res, in main()
150 // Test case 5: Concatenation with empty destination string in main()
161 // Test case 6: Concatenation with Zero Characters in main()
166 TEST_RES(res == 0, "Concatenation with Zero Characters", handler_res, in main()
169 "Concatenation with Zero Characters Contents", handler_res, in main()
Dtest-strncpy_s.c6 * Redistribution and use in source and binary forms, with or without
16 * with the distribution.
84 "ERROR: Custom constraint handler called with incorrect msg: %s\n", in test_handler_called()
91 "Custom constraint handler called with correct msg: %s\n", in test_handler_called()
120 // Test case 2: Copy with insufficient buffer in main()
125 TEST_RES(res != 0, "Copy with insufficient buffer", handler_res, test_id); in main()
144 // Test case 5: Copy with zero Characters in main()
148 TEST_RES(res == 0, "Copy with zero Characters", handler_res, test_id); in main()
149 TEST_RES(strcmp(dest, "") == 0, "Copy with zero Characters Contents", in main()
/picolibc-latest/.github/workflows/
Dlinux.yml33 with:
39 with:
51 with:
74 with:
79 with:
104 with:
120 …# Tinystdio and math configurations, one with multithread disabled and with locale, original mallo…
124 # Original stdio, one with multithread disabled
134 with:
139 with:
[all …]
Dzephyr.yml34 with:
40 with:
52 with:
66 …# Tinystdio and math configurations, one with multithread disabled and with locale, original mallo…
70 # Original stdio, one with multithread disabled
80 with:
85 with:
110 with:
126 …# Tinystdio and math configurations, one with multithread disabled and with locale, original mallo…
130 # Original stdio, one with multithread disabled
[all …]
/picolibc-latest/newlib/testsuite/newlib.string/
Dmemcpy-1.c5 * Redistribution and use in source and binary forms, with or without
12 * documentation and/or other materials provided with the distribution.
84 /* Fill the source buffer with non-null values, reproducable random data. */ in main()
97 /* Make calls to memcpy with block sizes ranging between 1 and in main()
113 "with src_align %u and dst_align %u. " in main()
126 "with src_align %u and dst_align %u, " in main()
135 "with src_align %u and dst_align %u, " in main()
142 "with src_align %u and dst_align %u, " in main()
151 "with src_align %u and dst_align %u, " in main()
/picolibc-latest/newlib/libc/include/machine/
Dfenv.h6 Redistribution and use in source and binary forms, with or without
15 documentation and/or other materials provided with the distribution.
39 * DEGENERATE, WITH ALL FUNCTIONS RETURNING ERROR AND NO EXCEPTIONS AND NO
43 * REMOVE THIS NOTICE WHEN COPYING TO A REAL IMPLEMENTATION, REPLACING IT WITH
50 * supported by the implementation, each with a unique bit mask:
59 * with FE_ followed by a capital letter.
78 * fesetround() functions, each with a unique positive value.
86 * with FE_ followed by a capital letter.
/picolibc-latest/newlib/libc/ssp/
Dssp.tex5 * Stack Smashing Protection:: Checks enabled with -fstack-protector*
6 * Object Size Checking:: Checks enabled with _FORTIFY_SOURCE
13 initialized with the process, and functions for process termination when
21 Object Size Checking is a feature which wraps certain functions with checks
22 to prevent buffer overflows. These are enabled when compiling with
/picolibc-latest/newlib/libc/
Dsys.tex8 complies with the POSIX.1 standard (also known as IEEE 1003.1), most of
9 these subroutines are supplied with your operating system.
11 If some of these subroutines are not provided with your system---in
14 stubs (or subroutines with minimal functionality) to allow your
15 programs to link with the subroutines in @code{libc.a}.
34 complication arises here: the C library must be compatible with
43 straightforward: the C library routines with OS interface calls
64 provide this, it is best to avoid linking with subroutines that require
113 Status of an open file. For consistency with other minimal
128 conflict with other processes. Minimal implementation, for a system
[all …]
/picolibc-latest/newlib/libc/tinystdio/
Dfdevopen.c4 Redistribution and use in source and binary forms, with or without
11 the documentation and/or other materials provided with the
44 attempting to open a stream with no IO intent at all, or that
48 with write intent. The function passed as \c put shall take two
55 with read intent. The function passed as \c get shall take
63 If both functions are provided, the stream is opened with read
76 chosen that is backwards compatible with avr-libc version 1.2 and
/picolibc-latest/newlib/libc/include/
Dtime.h7 Co. or Unix System Laboratories, Inc. and are reproduced herein with
10 Redistribution and use in source and binary forms, with or without
17 documentation and/or other materials provided with the distribution.
37 * Struct and function declarations for dealing with time.
97 /* Flag indicating time is "absolute" with respect to the clock
98 associated with a time. Value 4 is historic. */
115 * Structure defined by POSIX.1b to be like a itimerval, but with
132 the identifier of the CPU_time clock associated with the PROCESS
142 the identifier of the CPU_time clock associated with the THREAD
/picolibc-latest/scripts/
DGeneratePicolibcCrossFile.sh16 # along with this program. If not, see <https://www.gnu.org/licenses/>.
43 This script generates a file with the cross-compilation settings needed to build Picolibc.
72 --exewrap=xxx The first time, add Meson setting 'exe_wrapper' with the given
75 --meson-compat=0.55 Provides compability with Meson versions up to 0.55.
87 If you are calling this script from a GNU Make makefile, and you have a variable with all compiler …
113 along with this program. If not, see L<http://www.gnu.org/licenses/>.
235 …# The "-:" means an option can start with '-', which helps parse long options which start with "--…
247 -) # This case triggers for options beginning with a double hyphen ('--').
251 if [[ "$OPTARG" =~ .*=.* ]] # With this --key=value format, only one argument is possible.
271 else # With this format, multiple arguments are possible, like in "--key value1 value2".
[all …]
/picolibc-latest/newlib/libm/ld/ld80/
Ds_copysignl.c29 <<copysign>> constructs a number with the magnitude (absolute value)
37 <<copysign>> returns a <<double>> with the magnitude of
39 <<copysignf>> returns a <<float>> with the magnitude of
50 * copysignl(x,y) returns a value with the magnitude of x and
51 * with the sign bit of y.

12345678910>>...90