Home
last modified time | relevance | path

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

12345678910>>...15

/picolibc-3.5.0-3.4.0/newlib/libc/stdlib/
Dstdlib.tex13 * a64l:: String to long long
18 * atof:: String to double or float
19 * atoi:: String to integer
20 * atoll:: String to long long
24 * ecvtbuf:: Double or float to string of digits
25 * ecvt:: Double or float to string of digits (malloc result)
30 * itoa:: Integer to string
38 * mbsrtowcs:: Convert a character string to a wide-character string
39 * mbstowcs:: Minimal multibyte string to wide string converter
41 * mbtowc:: Minimal multibyte to wide character converter
[all …]
/picolibc-3.5.0-3.4.0/
DREADME.md18 from Newlib, none of the GPL-related bits used to build the library
38 at this point only has code to build for the following targets:
56 1. newlib/libc/machine/_architecture_/meson.build to build the
62 atomics for ungetc to work correctly in a reentrant
68 3. newlib/libm/machine/_architecture_/meson.build to build any
73 cases, but this is necessary to run tests under qemu if your
76 5. cross-_gcc-triple_.txt to configure the meson cross-compilation
77 mechanism to use the right tools
79 6. do-_architecture_-configure to make testing the cross-compilation
86 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 …]
D.clang-format15 #AlignEscapedNewlines: Left # Unknown to clang-format-4.0
39 #AfterExternBlock: false # Unknown to clang-format-5.0
43 #SplitEmptyFunction: true # Unknown to clang-format-4.0
44 #SplitEmptyRecord: true # Unknown to clang-format-4.0
45 #SplitEmptyNamespace: true # Unknown to clang-format-4.0
48 #BreakBeforeInheritanceComma: false # Unknown to clang-format-4.0
51 #BreakConstructorInitializers: BeforeComma # Unknown to clang-format-4.0
56 #CompactNamespaces: false # Unknown to clang-format-4.0
64 #FixNamespaceComments: false # Unknown to clang-format-4.0
509 #IncludeBlocks: Preserve # Unknown to clang-format-5.0
[all …]
/picolibc-3.5.0-3.4.0/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-3.5.0-3.4.0/newlib/libc/machine/h8300/
Dreg_memcpy.S28 ADDP A2P,A0P ; point to end of dst
29 ADDP A2P,A1P ; point to end of src
30 CMPP A0P,A3P ; see if anything to do
35 sub #1,A1P ; point to byte
37 subs #1,A1P ; point to byte
44 ; return with A0 pointing to dst
/picolibc-3.5.0-3.4.0/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 …]
DNEWS9 - fixed bug in arm setjmp/longjmp to preserve floating-point register values
21 - rename configure.in files to configure.ac
24 - update to Unicode 14.0
26 - fixes to ldtoa
27 - add clock support to nvptx port
30 - strtod/strtof to set errno to ERANGE consistently for underflow
34 - additions to sys/tree.h
38 - fixes for regressions to pow/powf and tgamma functions
45 - various fixes to makedocbook for python 3.8
46 - multiple standard/accuracy fixes to libm math routines
[all …]
/picolibc-3.5.0-3.4.0/newlib/libc/iconv/lib/
Diconv.c105 const char *to, in iconv_open() argument
110 if (to == NULL || from == NULL || *to == '\0' || *from == '\0') in iconv_open()
113 if ((to = (const char *)_iconv_resolve_encoding_name (to)) == NULL) in iconv_open()
118 free ((void *)to); in iconv_open()
127 if (strcmp (from, to) == 0) in iconv_open()
131 ic->data = ic->handlers->open (to, from); in iconv_open()
137 ic->data = ic->handlers->open (to, from); in iconv_open()
140 free ((void *)to); in iconv_open()
/picolibc-3.5.0-3.4.0/newlib/libc/string/
Dswab.c27 char *to = b2; in swab() local
33 to[ptr-1] = p; in swab()
34 to[ptr ] = q; in swab()
37 to[ptr-1] = 0; /* then pad with a NUL. */ in swab()
/picolibc-3.5.0-3.4.0/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
10 To compile source code to use Picolibc, you can use the GCC .specs
12 path and the linker library path to point at Picolibc. For example, to
19 the file. If installed in a separate location, you will need to
20 provide an absolute pathname to the picolibc.specs file:
24 When building for an embedded system, you'll probably need to use a
31 hardware, run-time, library and application setup. You may want to
32 perform all of these in your own code, or you be able to use the
47 needs the `gp` register initialized for quick access to global
[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 …]
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:
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 …]
Dprintf.md4 makes it important to be able to only include code and data actually
5 needed by the application. The format-string based interface to
6 printf and scanf makes it very difficult to determine which
15 scanf names to internal names in the linker.
19 that to add --defsym options when linking. This means the preprocessor
29 * Printf optimizations in the compiler which map to puts or fputs now
36 those functions to be discarded if they aren't used in the
41 function. For that case, the library needs to allow a different
42 default version to be selected while compiling the library.
49 the picolibc built-time option, `-Dformat-default`, which defaults to
[all …]
/picolibc-3.5.0-3.4.0/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-3.5.0-3.4.0/newlib/libc/machine/m68k/
Dstrcpy.c39 strcpy (char *to, const char *from) in strcpy() argument
41 char *pto = to; in strcpy()
53 return to; in strcpy()
/picolibc-3.5.0-3.4.0/newlib/libc/machine/i960/
Dmemcpy.S108 cmpibge 0,g2,Lexit # exit if number of bytes to move is <= zero.
122 st g4, (g5) # store word to dest
128 bge Lwloop_a # loop if more than 3 bytes to move
129 cmpobe g6, g5, Lexit # quit if no more bytes to move
135 cmpobne g6, g5, Lcloop_a # quit if no more bytes to move
145 st g7, (g6) # store word to dest
150 ble Lwloop.a # loop if more than 3 bytes to move
151 cmpobe g6, g0, Lexit # quit if no more bytes to move
157 cmpobne g6, g0, Lcloop.a # quit if no more bytes to move
Dstrncpy_ca.S113 cmpibge.f 0,g2,Lexit_code # Lexit if number of bytes to move is <= zero.
128 cmpi g2,4 # check for fewer than four bytes to move
131 bl.f Lcase_1_cloop.a # branch if fewer than four bytes to copy
159 mov 0,g14 # conform to register conventions
178 andnot g5,g1,g1 # last bytes to copy, and null pad rest of word
180 subo 1,LSW,g5 # mask to get last bytes to copy, and null pad
181 and g5,g1,g1 # last bytes to copy, and null pad rest of word
186 cmpi g2,4 # check for fewer than four bytes to move
188 bl.f Lcase_1_cloop.b # branch if fewer than four bytes to copy
194 addo 8,g4,g4 # move dest word ptr to first word boundary
[all …]
Dmemset.S72 cmpo 7,g2 # are there fewer than seven characters to move?
75 lda 0,g14 # conform to register conventions
81 lda 7(g3),g3 # bump dest_ptr to next longword boundary
90 bne.t Lbgn_cloop # loop if more bytes to store before longword
100 cmpo 15,g2 # Do we have to store more longwords?
104 bl.t Lwloop # loop if more longwords to store
114 bne.t Lcloop # loop if more bytes to store
/picolibc-3.5.0-3.4.0/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-3.5.0-3.4.0/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 …]
/picolibc-3.5.0-3.4.0/newlib/libm/math/
Dmath.tex5 #Permission to use, copy, modify, and distribute this
24 specific machine capabilities to operate faster---but generally have
67 * lrint:: Round to integer
68 * lround:: Round to integer, away from zero (lround, llround)
71 * nearbyint:: Round to integer
73 * pow:: X to the power Y
74 * pow10:: 10 to the power X
77 * rint:: Round to integer
78 * round:: Round to integer, away from zero
86 * trunc:: Round to integer, towards zero
[all …]

12345678910>>...15