Home
last modified time | relevance | path

Searched refs:new (Results 1 – 25 of 52) sorted by relevance

123

/components/libc/posix/io/timerfd/
A Dtimerfd.c363 static int timerfd_do_settime(int fd, int flags, const struct itimerspec *new, struct itimerspec *o… in timerfd_do_settime() argument
400 if (new) in timerfd_do_settime()
409 if (new->it_value.tv_nsec == 0 && new->it_value.tv_sec == 0) in timerfd_do_settime()
415 value_msec = (new->it_value.tv_nsec / MSEC_TO_NSEC) + (new->it_value.tv_sec * SEC_TO_MSEC); in timerfd_do_settime()
416 …interval_msec = (new->it_interval.tv_nsec / MSEC_TO_NSEC) + (new->it_interval.tv_sec * SEC_TO_MSEC… in timerfd_do_settime()
435 tfd->ittimer.it_interval.tv_nsec = new->it_interval.tv_nsec; in timerfd_do_settime()
436 tfd->ittimer.it_interval.tv_sec = new->it_interval.tv_sec; in timerfd_do_settime()
437 tfd->ittimer.it_value.tv_sec = new->it_value.tv_sec - current_time.tv_sec; in timerfd_do_settime()
438 tfd->ittimer.it_value.tv_nsec = new->it_value.tv_nsec - current_time.tv_nsec; in timerfd_do_settime()
616 int timerfd_settime(int fd, int flags, const struct itimerspec *new, struct itimerspec *old) in timerfd_settime() argument
[all …]
/components/legacy/fdt/libfdt/
A Dfdt_rw.c156 char *new; in _fdt_find_add_string() local
165 new = strtab + fdt_size_dt_strings(fdt); in _fdt_find_add_string()
170 memcpy(new, s, len); in _fdt_find_add_string()
171 return (new - strtab); in _fdt_find_add_string()
393 static void _fdt_packblocks(const char *old, char *new, in _fdt_packblocks() argument
403 fdt_set_off_mem_rsvmap(new, mem_rsv_off); in _fdt_packblocks()
406 fdt_set_off_dt_struct(new, struct_off); in _fdt_packblocks()
407 fdt_set_size_dt_struct(new, struct_size); in _fdt_packblocks()
409 memmove(new + strings_off, old + fdt_off_dt_strings(old), in _fdt_packblocks()
411 fdt_set_off_dt_strings(new, strings_off); in _fdt_packblocks()
[all …]
/components/drivers/ofw/libfdt/
A Dfdt_rw.c131 char *new; in fdt_find_add_string_() local
143 new = strtab + fdt_size_dt_strings(fdt); in fdt_find_add_string_()
151 memcpy(new, s, len); in fdt_find_add_string_()
152 return (new - strtab); in fdt_find_add_string_()
396 static void fdt_packblocks_(const char *old, char *new, in fdt_packblocks_() argument
408 fdt_set_off_mem_rsvmap(new, mem_rsv_off); in fdt_packblocks_()
410 memmove(new + struct_off, old + fdt_off_dt_struct(old), struct_size); in fdt_packblocks_()
411 fdt_set_off_dt_struct(new, struct_off); in fdt_packblocks_()
412 fdt_set_size_dt_struct(new, struct_size); in fdt_packblocks_()
415 fdt_set_off_dt_strings(new, strings_off); in fdt_packblocks_()
[all …]
/components/legacy/fdt/src/
A Ddtb_base.c380 struct dtb_property *new; in dtb_node_write_prop() local
404 new = (struct dtb_property *)malloc(sizeof(struct dtb_property)); in dtb_node_write_prop()
405 if (!new) in dtb_node_write_prop()
408 new->name = strdup(propname); in dtb_node_write_prop()
409 if (!new->name) in dtb_node_write_prop()
411 free(new); in dtb_node_write_prop()
415 new->value = (void *)value; in dtb_node_write_prop()
416 new->size = len; in dtb_node_write_prop()
417 new->next = NULL; in dtb_node_write_prop()
419 pp_last->next = new; in dtb_node_write_prop()
/components/libc/cplusplus/
A Dcxx_crt.h17 void *operator new(size_t size);
18 void *operator new[](size_t size);
A DREADME.md4 implement a basic environment, such as new/delete operators.
23 /* new GCC version uses .init_array */
/components/lwp/
A Dlwp_itimer.c27 rt_err_t lwp_signal_setitimer(rt_lwp_t lwp, int which, const struct itimerspec *restrict new, struc… in lwp_signal_setitimer() argument
61 rc = timer_settime(timerid, flags, new, old); in lwp_signal_setitimer()
/components/net/lwip/lwip-1.4.1/
A DUPGRADING9 * [Enter new changes just after this line - do not remove this line]
29 err_t, not a pointer to new data/netconn.
43 +++ new files:
45 * Added 4 new files: def.c, timers.c, timers.h, tcp_impl.h:
64 +++ new options:
83 +++ new pools:
133 * Fixed ARP input processing: only add a new entry if a request was directed as us
A DCHANGELOG5 * [Enter new changes just after this line - do not remove this line]
803 disabled on netif used for PPPoE) by adding a new netif flag
1560 keep accepting new connections.
1564 by err_t type. Add a new err_t code "ERR_INPROGRESS".
1595 to the new file netdb.c; included lwip_getaddrinfo.
1606 for a new query, and fix some minor problems.
1609 * new files: ipv4/inet.c, ipv4/inet_chksum.c, ipv6/inet6.c
1976 * sys.h, api_lib.c: Provide new sys_mbox_tryfetch function. Require ports to provide new
2058 * sockets.h, sockets.c: Move socket initialization to new
2698 * opt.h: Add above new options.
[all …]
/components/net/lwip/lwip-2.0.3/
A DUPGRADING9 * [Enter new changes just after this line - do not remove this line]
51 +++ new files:
52 * MANY new and moved files!
72 +++ new options:
75 +++ new pools:
128 err_t, not a pointer to new data/netconn.
142 +++ new files:
144 * Added 4 new files: def.c, timers.c, timers.h, tcp_impl.h:
163 +++ new options:
182 +++ new pools:
[all …]
/components/net/lwip/lwip-2.1.2/
A DUPGRADING9 * [Enter new changes just after this line - do not remove this line]
86 +++ new files:
87 * MANY new and moved files!
107 +++ new options:
110 +++ new pools:
163 err_t, not a pointer to new data/netconn.
177 +++ new files:
179 * Added 4 new files: def.c, timers.c, timers.h, tcp_impl.h:
198 +++ new options:
217 +++ new pools:
[all …]
/components/lwp/terminal/freebsd/
A Dtty.c623 struct termios *new = (struct termios *)data; in ttydev_ioctl() local
632 new->c_iflag = in ttydev_ioctl()
633 (old->c_iflag & lock->c_iflag) | (new->c_iflag & ~lock->c_iflag); in ttydev_ioctl()
634 new->c_oflag = in ttydev_ioctl()
635 (old->c_oflag & lock->c_oflag) | (new->c_oflag & ~lock->c_oflag); in ttydev_ioctl()
636 new->c_cflag = in ttydev_ioctl()
637 (old->c_cflag & lock->c_cflag) | (new->c_cflag & ~lock->c_cflag); in ttydev_ioctl()
638 new->c_lflag = in ttydev_ioctl()
642 new->c_cc[cc] = old->c_cc[cc]; in ttydev_ioctl()
644 new->__c_ispeed = old->__c_ispeed; in ttydev_ioctl()
[all …]
/components/libc/compilers/newlib/
A Dsyscalls.c161 int _link_r(struct _reent *ptr, const char *old, const char *new) in _link_r() argument
255 int _rename_r(struct _reent *ptr, const char *old, const char *new) in _rename_r() argument
259 rc = rename(old, new); in _rename_r()
/components/dfs/dfs_v2/filesystems/ptyfs/
A DREADME.md5 It's possible to mount a new ptyfs instance on another path. Each instance is isolated to each othe…
/components/net/lwip/lwip-1.4.1/doc/
A Drawapi.txt100 the sequential API and of the BSD socket API. A new TCP connection
102 tcp_new() function. This PCB can then be either set to listen for new
107 Creates a new connection identifier (PCB). If memory is not
108 available for creating the new pcb, NULL is returned.
127 The tcp_listen() function returns a new connection identifier, and
132 new smaller memory block for the listening connection.
157 Specified the callback function that should be called when a new
227 callback function is called when new data arrives. When the
236 Sets the callback function that will be called when new data
323 Creates a new UDP pcb which can be used for UDP communication. The
[all …]
A Dsys_arch.txt7 general idea is that porting lwIP to new architectures requires only
8 small changes to a few header files and a new sys_arch
50 Creates a new semaphore. The semaphore is allocated to the memory that 'sem'
173 Starts a new thread named "name" with priority "prio" that will begin its
176 the "stacksize" parameter. The id of the new thread is returned. Both the id
/components/libc/cplusplus/cpp11/gcc/
A Dfuture97 v_ = new R(v);
105 v_ = new R(std::move(v));
240 promise() : state_(new detail::shared_state<R>()) {}
287 promise() : state_(new detail::shared_state<int>()) {}
/components/drivers/serial/
A DKconfig22 bool "drop new incoming data when the buffer is full"
/components/net/lwip/lwip-2.0.3/doc/
A Drawapi.txt130 the sequential API and of the BSD socket API. A new TCP connection
132 tcp_new() function. This PCB can then be either set to listen for new
137 Creates a new connection identifier (PCB). If memory is not
138 available for creating the new pcb, NULL is returned.
157 The tcp_listen() function returns a new connection identifier, and
162 new smaller memory block for the listening connection.
178 Specified the callback function that should be called when a new
248 callback function is called when new data arrives. When the
257 Sets the callback function that will be called when new data
333 Creates a new UDP pcb which can be used for UDP communication. The
[all …]
A Dsys_arch.txt8 general idea is that porting lwIP to new architectures requires only
9 small changes to a few header files and a new sys_arch
49 Creates a new semaphore. The semaphore is allocated to the memory that 'sem'
98 Creates a new mutex. The mutex is allocated to the memory that 'mutex'
206 Starts a new thread named "name" with priority "prio" that will begin its
209 the "stacksize" parameter. The id of the new thread is returned. Both the id
A Dppp.txt180 * Creating a new PPPoS session
203 * Create a new PPPoS interface
215 * Creating a new PPPoE session
222 * Create a new PPPoE interface
238 * Creating a new PPPoL2TP session
245 * Create a new PPPoL2TP interface
/components/drivers/pci/
A Dpci.c267 rt_uint16_t pci_command, new; in rt_pci_intx() local
278 new = pci_command & ~PCIM_CMD_INTxDIS; in rt_pci_intx()
282 new = pci_command | PCIM_CMD_INTxDIS; in rt_pci_intx()
285 if (new != pci_command) in rt_pci_intx()
287 rt_pci_write_config_u16(pdev, PCIR_COMMAND, new); in rt_pci_intx()
/components/net/lwip/lwip-2.0.3/src/netif/
A DFILES10 file can be used as a "skeleton" for developing new Ethernet
/components/net/lwip/lwip-1.4.1/src/netif/
A DFILES14 file can be used as a "skeleton" for developing new Ethernet
/components/net/lwip/lwip-2.1.2/doc/
A Dppp.txt180 * Creating a new PPPoS session
203 * Create a new PPPoS interface
215 * Creating a new PPPoE session
222 * Create a new PPPoE interface
238 * Creating a new PPPoL2TP session
245 * Create a new PPPoL2TP interface

Completed in 29 milliseconds

123