Home
last modified time | relevance | path

Searched refs:to (Results 1 – 25 of 415) sorted by relevance

12345678910>>...17

/picolibc-latest/
DREADME.md19 from Newlib, none of the GPL-related bits used to build the library
39 is used to validate the code for all patch integration:
63 1. newlib/libc/machine/_architecture_/meson.build to build the
69 atomics for ungetc to work correctly in a reentrant
75 3. newlib/libm/machine/_architecture_/meson.build to build any
80 cases, but this is necessary to run tests under qemu if your
83 5. cross-_gcc-triple_.txt to configure the meson cross-compilation
84 mechanism to use the right tools
86 6. do-_architecture_-configure to make testing the cross-compilation
93 8. run-_architecture_ script to run tests under QEMU. Look at the ARM
[all …]
DCOPYING.GPL26 Everyone is permitted to copy and distribute verbatim copies
11 The licenses for most software are designed to take away your
12 freedom to share and change it. By contrast, the GNU General Public
13 License is intended to guarantee your freedom to share and change free
14 software--to make sure the software is free for all its users. This
15 General Public License applies to most of the Free Software
16 Foundation's software and to any other program whose authors commit to
18 the GNU Library General Public License instead.) You can apply it to
21 When we speak of free software, we are referring to freedom, not
22 price. Our General Public Licenses are designed to make sure that you
[all …]
DCONTRIBUTING.md1 # Contributing to Picolibc
3 We welcome contributions of all forms, including patches to code and
14 exactly mirror the code at keithp.com. I've placed it here to
15 make contributing to Picolibc easier for people familiar with github.
28 need to make sure that's installed before you start trying to build
33 As Picolibc is designed to be used for embedded systems, getting that
40 range of styles. As picolibc tries to retain compatibility with newlib
42 reformat all of the existing code. Here are suggestions on how to
43 preserve compatibility while still being able to write readable code:
48 2. Try to adopt local coding styles as much as you can manage by
[all …]
/picolibc-latest/newlib/libc/stdlib/
Dstdlib.tex13 * Function a64l:: String to long long
18 * Function atof:: String to double or float
19 * Function atoi:: String to integer
20 * Function atoll:: String to long long
24 * Function ecvtbuf:: Double or float to string of digits
25 * Function ecvt:: Double or float to string of digits (malloc result)
30 * Function itoa:: Integer to string
38 * Function mbsrtowcs:: Convert a character string to a wide-character string
39 * Function mbstowcs:: Minimal multibyte string to wide string converter
41 * Function mbtowc:: Minimal multibyte to wide character converter
[all …]
/picolibc-latest/newlib/libc/signal/
Dsignal.tex8 #and/or other materials related to such
10 #at Cygnus Support, Inc. Cygnus Support, Inc. may not be used to
35 Attempt to execute as a function data that is not executable.
41 An attempt to access a memory location that is not available.
48 signals---one to allow your program to send signals to itself (this is
49 called @dfn{raising} a signal), and one to specify subroutines (called
50 @dfn{handlers} to handle particular signals that you anticipate may
57 Used with the @code{signal} function in place of a pointer to a
58 handler subroutine, to select the operating environment's default
62 Used with the @code{signal} function in place of a pointer to a
[all …]
/picolibc-latest/newlib/
DHOWTO1 This HOWTO file contains notes for maintainers and contributors to Newlib.
4 interest to both users and contributors.)
6 (This file could probably use some other "sections" in addition to the
20 doc directory. doc.str is a macro file that can be used to define things to
23 the proper format to pull out of source files. Second, it adds some Texinfo
25 Texinfo commands. Refer to makedoc.c and doc.str for what these are.
26 (makedoc.c is not particularly-well commented.) Another way to see how they
27 work is to simply examine the source files with documentation comments.
33 In addition to the makedoc.c stuff, Texinfo commands can be directly
34 used. Texinfo is a documentation system that uses a single source file to
[all …]
DREADME7 Prior to the 3.0.0 release, newlib supported both ANSI and K&R-style
28 Makefile* - Inputs used by configure to generate the Makefile
51 a documentation system that uses a single source file to produce both
53 formatting commands to create the on-line version of the documentation
54 and TeX (or `texi2roff') to typeset the printed version.
56 If you want to format these Info files yourself, you need one of the
59 If you want to typeset and print copies of this manual, you need TeX,
60 a program to print its DVI output files, and `texinfo.tex', the Texinfo
65 you need a program to print DVI files. If your system has TeX
66 installed, chances are it has such a program. The precise command to
[all …]
DNEWS5 - wildcard support added to allow arbitrary include dirs to be specified for a platform
7 - printf family helper functions split out into separate files to save space when linking
21 - fixed bug in arm setjmp/longjmp to preserve floating-point register values
33 - rename configure.in files to configure.ac
36 - update to Unicode 14.0
38 - fixes to ldtoa
39 - add clock support to nvptx port
42 - strtod/strtof to set errno to ERANGE consistently for underflow
46 - additions to sys/tree.h
50 - fixes for regressions to pow/powf and tgamma functions
[all …]
/picolibc-latest/newlib/libc/machine/arc64/
Dstrlen.S41 ; R0 const char* ptr (string to measure)
103 ; Point r13 to first NULL byte containing double word [3]
106 ; Select appropriate register to analyze [4]
118 ; Point r13 to first NULL byte in selected double word
194 ; Point r13 to first NULL byte containing double word [3]
197 ; Select appropriate register to analyze [4]
209 ; Point r13 to first NULL byte in selected double word
235 ; The code above implements this by setting r8 to a
236 ; 0x01010101... sequence and r1 to a 0x80808080... sequence of
237 ; appropriate length As LIMM are 32 bit only, we need to perform MOVHL
[all …]
Dstrcat.S115 ; Point r13 to first NULL byte containing double word [3]
118 ; Select appropriate register to analyze [4]
130 ; Point r13 to first NULL byte in selected double word
205 ; Point r1 to first NULL byte containing double word [3]
210 ; 4 -> 1 to 3 -> 0
213 ; Invert so the biggest branch is at the end, and we dont need to increase
215 ; 3 -> 0 to 0 -> 3
246 ; r11 now contains the data to write
260 ; we want to store 8-3 bytes
264 ; According to the target byte, setup masks
[all …]
Dmemchr.S111 ; Reset byte repetition of r1 to 1 single byte
139 ; Select appropriate register to analyze [4]
142 ; Point r13 to first NULL byte containing double word [3]
243 ; Reset byte repetition of r1 to 1 single byte
271 ; Select appropriate register to analyze [4]
274 ; Point r13 to first NULL byte containing double word [3]
306 ; The code above implements this by setting r8 to a 0x01010101... sequence and
307 ; r9 to a 0x80808080... sequence of appropriate length
308 ; As LIMM are 32 bit only, we need to perform MOVHL and ORL [1] operations to
313 ; the loaded data to force a NULL byte only if the target byte is present.
[all …]
/picolibc-latest/newlib/libc/machine/h8300/
Dreg_memcpy.S30 ADDP A2P,A0P ; point to end of dst
31 ADDP A2P,A1P ; point to end of src
32 CMPP A0P,A3P ; see if anything to do
37 sub #1,A1P ; point to byte
39 subs #1,A1P ; point to byte
46 ; return with A0 pointing to dst
/picolibc-latest/newlib/libc/iconv/lib/
Diconv.c103 const char *to, in iconv_open() argument
108 if (to == NULL || from == NULL || *to == '\0' || *from == '\0') in iconv_open()
111 if ((to = (const char *)_iconv_resolve_encoding_name (to)) == NULL) in iconv_open()
116 free ((void *)to); in iconv_open()
125 if (strcmp (from, to) == 0) in iconv_open()
129 ic->data = ic->handlers->open (to, from); in iconv_open()
135 ic->data = ic->handlers->open (to, from); in iconv_open()
138 free ((void *)to); in iconv_open()
/picolibc-latest/newlib/libc/string/
Dswab.c28 char *to = b2; in swab() local
34 to[ptr-1] = p; in swab()
35 to[ptr ] = q; in swab()
38 to[ptr-1] = 0; /* then pad with a NUL. */ in swab()
/picolibc-latest/newlib/libc/xdr/
DREADME4 (XDR) code from SunRPC (derived from the relicensed -- to
12 has been modified to work properly whenever possible, even
13 if sizeof(long) > 32bits -- and to correctly report failure
22 messages to stderr. (See #8, below).
32 a) Those platforms which use float to represent double
45 To port XDR to a new newlib target, first enable building it
55 floating point values (floats, doubles) you may need to add
66 You may want to customize your platform's startup objects to set
70 You may also want to customize the memory allocation semantics
73 XDR_DECODE may allocate space if the pointer [to the location
[all …]
/picolibc-latest/doc/
Dusing.md3 Picolibc is designed to be used in deeply embedded systems, those
4 running either no operating system or a small RTOS. It is designed to
24 may expect these headers to be provided by the C library. Unfortunately
33 To compile source code to use Picolibc, you can use the GCC .specs
35 path and the linker library path to point at Picolibc. For example, to
42 the file. If installed in a separate location, you will need to
43 provide an absolute pathname to the picolibc.specs file:
47 When building for an embedded system, you'll probably need to use a
54 hardware, run-time, library and application setup. You may want to
55 perform all of these in your own code, or you be able to use the
[all …]
Dtls.md6 'errno', a global variable originall designed to hold error status
7 from the Unix kernel, but which was co-opted by libc to provide
11 To permit multiple threads sharing a single address space to use the
15 an API for the library to get the global structure for the current
42 initial TLS block and arranges for it to be initialized as a part of
65 to _data_start. This initializes the regular data segment *and* the
66 initial TLS data segment. Then, it clears memory from __bss_start to
69 to __tls_base. Once that is set, access to TLS variables will
74 If the application is multi-threaded and wants to allow these threads
75 to have separate TLS data, it may allocate memory for additional TLS
[all …]
Dos.md3 Picolibc is designed to be operating-system independent, so it doesn't
18 To get stdin/stdout/stderr working, the application needs to define
19 the `stdin`, `stdout` and `stderr` globals, which contain pointers to
22 pointers, and linker aliases may be used to make all three pointers be
43 It also contains a pointer to an optional `flush` function, which, if
44 provide, will be called to flush pending output to the file, e.g.,
50 /* This function doesn't need to do anything */
55 These functions are used to initialize a FILE structure:
73 Finally, the FILE is used to initialize the `stdin`, `stdout` and
74 `stderr` values, the latter two of which are simply aliases to `stdin`:
[all …]
Dembedsource.md3to embed the entire picolibc library as a meson subproject into the source directory of the main p…
5 For more information on the meson subproject feature, refer to the documentation at : https://meson…
9 First you need to add picolibc as a git submodule:
27 ## Add dependency to meson.build
31 Next you will need to include the dependency in your meson.build file:
37 In order to avoid linker conflicts with any compiler bundled c-library, use the following link flag…
52to ignore the bundled c-library. The development version GCC 9.0 will have an `-nolibc` option tha…
54 So until a better solution appears, it is best to uninstall the c-library if possible. On Debian/Ub…
56 You can run a command in order to check which standard paths are included with your GCC:
Dreleasing.md3 Here are the current steps to perform when releasing a new version of
41 6. Add release notes to README.md
49 9. Use native configuration to build release:
60 11. Use arm configuration to build bits for the Arm embedded toolkit:
65 12. Push tag and branch to repositories
69 13. Upload release to web site:
79 16. Email release message to mailing list. Paste in README.md section
85 the main picolibc repository. It's designed to be build using 'gbp
87 how to build debian packages:
99 4. Update debian packaging to current standards
[all …]
/picolibc-latest/newlib/libc/machine/m68k/
Dstrcpy.c41 strcpy (char *to, const char *from) in strcpy() argument
43 char *pto = to; in strcpy()
55 return to; in strcpy()
/picolibc-latest/newlib/libc/machine/i960/
Dmemcpy.S110 cmpibge 0,g2,Lexit # exit if number of bytes to move is <= zero.
124 st g4, (g5) # store word to dest
130 bge Lwloop_a # loop if more than 3 bytes to move
131 cmpobe g6, g5, Lexit # quit if no more bytes to move
137 cmpobne g6, g5, Lcloop_a # quit if no more bytes to move
147 st g7, (g6) # store word to dest
152 ble Lwloop.a # loop if more than 3 bytes to move
153 cmpobe g6, g0, Lexit # quit if no more bytes to move
159 cmpobne g6, g0, Lcloop.a # quit if no more bytes to move
Dstrncpy_ca.S115 cmpibge.f 0,g2,Lexit_code # Lexit if number of bytes to move is <= zero.
130 cmpi g2,4 # check for fewer than four bytes to move
133 bl.f Lcase_1_cloop.a # branch if fewer than four bytes to copy
161 mov 0,g14 # conform to register conventions
180 andnot g5,g1,g1 # last bytes to copy, and null pad rest of word
182 subo 1,LSW,g5 # mask to get last bytes to copy, and null pad
183 and g5,g1,g1 # last bytes to copy, and null pad rest of word
188 cmpi g2,4 # check for fewer than four bytes to move
190 bl.f Lcase_1_cloop.b # branch if fewer than four bytes to copy
196 addo 8,g4,g4 # move dest word ptr to first word boundary
[all …]
/picolibc-latest/newlib/libc/locale/
Dlocale.tex15 #may be used to endorse or promote products derived from this software
41 for an implementation, here equivalent to @code{"C"}).
44 @file{locale.h} defines the structure @code{lconv} to collect the
49 The decimal point character used to format ``ordinary'' numbers (all
50 numbers except those referring to amounts of money). @code{"."} in the
54 The character (if any) used to separate groups of digits, when
59 Specifications for how many digits to group (if any grouping is done at
63 @code{NULL}) means to continue grouping digits using the last value
64 specified. Use @code{CHAR_MAX} to indicate that no further grouping is
69 the character used to separate it from numbers.
[all …]
/picolibc-latest/newlib/libc/iconv/
Diconv.tex10 * Introduction to iconv:: Introduction to iconv and encodings
18 * How to add new encoding:: The steps to add new encoding support
27 @node Introduction to iconv
28 @section Introduction to iconv
35 The iconv library is intended to convert characters from one encoding to
40 In addition to these user-level interfaces, the iconv library also has
41 several useful interfaces which are needed to support coding
43 support also needs to
44 convert various character sets to and from the @emph{wide characters
52 was rewritten from scratch and contains a lot of improvements with respect to
[all …]

12345678910>>...17