Home
last modified time | relevance | path

Searched refs:s (Results 1 – 25 of 29) sorted by relevance

12

/lib/libc/
Dstring.c11 strchr(const char *s, int c) in strchr() argument
16 if (s[i] == c) in strchr()
17 return (char *)s + i; in strchr()
18 if (s[i] == '\0') in strchr()
46 strcat(char *s, const char *append) in strcat() argument
48 char *save = s; in strcat()
50 for (; *s; ++s); in strcat()
51 while ((*s++ = *append++)); in strcat()
62 const char *s = src; in strncat() local
68 if ((*d = *s++) == 0) in strncat()
[all …]
Dcrt1.c87 const char *s; in handle_argv() local
93 for (s = __progname; *s != '\0'; s++) { in handle_argv()
94 if (*s == '/') in handle_argv()
95 __progname = s + 1; in handle_argv()
/lib/liblwip/src/api/
Dsockets.c110 int s; member
195 get_socket(int s) in get_socket() argument
199 if ((s < 0) || (s >= NUM_SOCKETS)) { in get_socket()
200 LWIP_DEBUGF(SOCKETS_DEBUG, ("get_socket(%d): invalid\n", s)); in get_socket()
205 sock = &sockets[s]; in get_socket()
208 LWIP_DEBUGF(SOCKETS_DEBUG, ("get_socket(%d): not active\n", s)); in get_socket()
223 tryget_socket(int s) in tryget_socket() argument
225 if ((s < 0) || (s >= NUM_SOCKETS)) { in tryget_socket()
228 if (!sockets[s].conn) { in tryget_socket()
231 return &sockets[s]; in tryget_socket()
[all …]
/sys/kern/
Dlibc.c11 strchr(const char *s, int c) in strchr() argument
16 if (s[i] == c) in strchr()
17 return (char *)s + i; in strchr()
18 if (s[i] == '\0') in strchr()
113 const char *s; in strlen() local
115 for (s = str; *s; ++s); in strlen()
117 return (s - str); in strlen()
137 const uint8_t *s = (const uint8_t *)src; in memcpy() local
140 *d = *s; in memcpy()
142 s += 1; in memcpy()
Ddebug.c124 Debug_StrToInt(const char *s) in Debug_StrToInt() argument
130 if (s[0] == '0' && s[1] == 'x') in Debug_StrToInt()
136 while (s[i] != '\0') { in Debug_StrToInt()
137 if (s[i] >= '0' && s[i] <= '9') { in Debug_StrToInt()
138 val = val * base + (uint64_t)(s[i] - '0'); in Debug_StrToInt()
139 } else if (s[i] >= 'a' && s[i] <= 'f') { in Debug_StrToInt()
142 val = val * base + (uint64_t)(s[i] - 'a' + 10); in Debug_StrToInt()
143 } else if (s[i] >= 'A' && s[i] <= 'F') { in Debug_StrToInt()
146 val = val * base + (uint64_t)(s[i] - 'A' + 10); in Debug_StrToInt()
157 Debug_SymbolToInt(const char *s) in Debug_SymbolToInt() argument
[all …]
/lib/liblwip/src/include/lwip/
Dsockets.h321 int lwip_accept(int s, struct sockaddr *addr, socklen_t *addrlen);
322 int lwip_bind(int s, const struct sockaddr *name, socklen_t namelen);
323 int lwip_shutdown(int s, int how);
324 int lwip_getpeername (int s, struct sockaddr *name, socklen_t *namelen);
325 int lwip_getsockname (int s, struct sockaddr *name, socklen_t *namelen);
326 int lwip_getsockopt (int s, int level, int optname, void *optval, socklen_t *optlen);
327 int lwip_setsockopt (int s, int level, int optname, const void *optval, socklen_t optlen);
328 int lwip_close(int s);
329 int lwip_connect(int s, const struct sockaddr *name, socklen_t namelen);
330 int lwip_listen(int s, int backlog);
[all …]
Dsys.h49 #define sys_sem_new(s, c) ERR_OK argument
50 #define sys_sem_signal(s) argument
51 #define sys_sem_wait(s) argument
52 #define sys_arch_sem_wait(s,t) argument
53 #define sys_sem_free(s) argument
54 #define sys_sem_valid(s) 0 argument
55 #define sys_sem_set_invalid(s) argument
62 #define sys_mbox_new(m, s) ERR_OK argument
71 #define sys_thread_new(n,t,a,s,p) argument
Dtcp_impl.h464 void tcp_debug_print_state(enum tcp_state s);
470 # define tcp_debug_print_state(s) argument
Dtcp.h370 const char* tcp_debug_state_str(enum tcp_state s);
/lib/liblwip/src/netif/ppp/
Dppp_impl.h186 #define GETSHORT(s, cp) { \ argument
187 (s) = *(cp); (cp)++; (s) <<= 8; \
188 (s) |= *(cp); (cp)++; \
190 #define PUTSHORT(s, cp) { \ argument
191 *(cp)++ = (u_char) ((s) >> 8); \
192 *(cp)++ = (u_char) (s & 0xff); \
213 #define BCOPY(s, d, l) MEMCPY((d), (s), (l)) argument
214 #define BZERO(s, n) memset(s, 0, n) argument
322 int pppWrite(int pd, const u_char *s, int n);
Dmd5.c83 #define FF(a, b, c, d, x, s, ac) \ argument
85 (a) = ROTATE_LEFT ((a), (s)); \
88 #define GG(a, b, c, d, x, s, ac) \ argument
90 (a) = ROTATE_LEFT ((a), (s)); \
93 #define HH(a, b, c, d, x, s, ac) \ argument
95 (a) = ROTATE_LEFT ((a), (s)); \
98 #define II(a, b, c, d, x, s, ac) \ argument
100 (a) = ROTATE_LEFT ((a), (s)); \
Dppp.c245 static void pppInProc(PPPControlRx *pcrx, u_char *s, int l);
1030 pppWriteOverEthernet(int pd, const u_char *s, int n) in pppWriteOverEthernet() argument
1036 s += 2; in pppWriteOverEthernet()
1052 MEMCPY(pb->payload, s, n); in pppWriteOverEthernet()
1073 pppWrite(int pd, const u_char *s, int n) in pppWrite() argument
1084 return pppWriteOverEthernet(pd, s, n); in pppWrite()
1109 c = *s++; in pppWrite()
1781 pppInProc(PPPControlRx *pcrx, u_char *s, int l) in pppInProc() argument
1790 curChar = *s++; in pppInProc()
/include/
Dstring.h11 char *strchr(const char *s, int c);
18 char *strcat(char *s, const char *append);
19 char *strncat(char *s, const char *append, size_t count);
/lib/liblwip/test/unit/
Dlwip_check.h23 Suite *s = suite_create(name); in create_suite() local
32 suite_add_tcase(s, tc_core); in create_suite()
34 return s; in create_suite()
/sys/include/
Dkdebug.h26 uint64_t Debug_StrToInt(const char *s);
27 uint64_t Debug_SymbolToInt(const char *s);
/lib/liblwip/src/arch/
Dsys_arch.c416 sys_arch_sem_wait(struct sys_sem **s, u32_t timeout) in sys_arch_sem_wait() argument
420 LWIP_ASSERT("invalid sem", (s != NULL) && (*s != NULL)); in sys_arch_sem_wait()
421 sem = *s; in sys_arch_sem_wait()
444 sys_sem_signal(struct sys_sem **s) in sys_sem_signal() argument
447 LWIP_ASSERT("invalid sem", (s != NULL) && (*s != NULL)); in sys_sem_signal()
448 sem = *s; in sys_sem_signal()
/lib/liblwip/
DREADME43 help improve lwIP by use of Savannah's interface, CVS and the
53 Last night's CVS tar ball can be downloaded from:
83 Reading Adam's papers, the files in docs/, browsing the source code
DUPGRADING48 the actual application programmer's API
106 LWIP_RAM_HEAP_POINTER as a void pointer to that memory's address
DCHANGELOG53 * dhcp.c: DHCP uses LWIP_RAND() for xid's (bug #30302)
517 LWIP_RAM_HEAP_POINTER as a void pointer to that memory's address
746 * tcp.c: tcp_listen() did not copy the pcb's prio.
1004 tcp_input_pcb until after calling the pcb's callbacks
1200 Added defines to display each module's statistic individually, added stats
1227 * mem.h: Fixed bug #27105: "realloc() cannot replace mem_realloc()"s
1440 * sockets.c (lwip_accept): check addr isn't NULL. If it's valid, do an
1650 RAW netconn. You need to set LWIP_SO_RCVBUF=1 in your lwipopts.h (it's disabled
1701 even when it's not necessary). snmp_agent.txt tell to call snmp_inc_sysuptime()
1702 each 10ms (but, it's intrusive if you use sys_timeout feature). Now, you can
[all …]
/lib/liblwip/doc/
Dcontrib.txt38 2. If you think you found a bug make sure it's not already filed in the
55 …change behaviour if not necessary.A patch is easier to read and understand if it's to the point an…
56 if it's not to the point and long :) so the chances for it to be applied are greater.
Dsnmp_agent.txt107 when it's queried (any function which need "sysuptime" have to call
/lib/liblwip/test/unit/tcp/
Dtest_tcp.c298 struct tcp_seg *s = segs; in check_seqnos() local
300 for (i = 0; i < num_expected; i++, s = s->next) { in check_seqnos()
301 EXPECT_RET(s != NULL); in check_seqnos()
302 EXPECT(s->tcphdr->seqno == htonl(seqnos_expected[i])); in check_seqnos()
304 EXPECT(s == NULL); in check_seqnos()
/lib/liblwip/src/core/
Dtcp.c1605 tcp_debug_state_str(enum tcp_state s) in tcp_debug_state_str() argument
1607 return tcp_state_str[s]; in tcp_debug_state_str()
1653 tcp_debug_print_state(enum tcp_state s) in tcp_debug_print_state() argument
1655 LWIP_DEBUGF(TCP_DEBUG, ("State: %s\n", tcp_state_str[s])); in tcp_debug_print_state()
/docs/
DDoxyfile244 # By default Python docstrings are displayed as preformatted text and doxygen's
246 # doxygen's special commands can be used and the contents of the docstring
278 # "Side Effects:". Note that you cannot put \n's in the value part of an alias
384 # If you use Microsoft's C++/CLI language, you should set this option to YES to
398 # For Microsoft's IDL there are propget and propput attributes to indicate
586 # blocks will be appended to the function's detailed documentation block.
623 # append additional text to a page's title, such as Class Reference. If set to
790 # that represents doxygen's defaults, run doxygen with the -l option. You can
1203 # source browser. The htags tool is part of GNU's global source tagging system
1430 # generated that can be used as input for Apple's Xcode 3 integrated development
[all …]
/
DSConstruct204 … newfs = Builder(action = 'build/tools/newfs_o2fs/newfs_o2fs -s $BOOTDISK_SIZE -m $SOURCE $TARGET')

12