/AliOS-Things-master/components/cli/src/iobox/ |
A D | cp.c | 48 fd_from = open(from, O_RDONLY); in cp_file_to_file() 101 char *_to = get_path(to, base_name(from)); in cp_file_to_dir() 103 ret = cp_file_to_file(from, _to); in cp_file_to_dir() 116 to_dir = get_path(to, base_name(from)); in cp_dir_to_dir() 123 pdir = opendir(from); in cp_dir_to_dir() 151 from = get_realpath(from, abspath_from, sizeof(abspath_from)); in cp_do() 153 if (!from || !to) { in cp_do() 158 fromdir = isdir(from); in cp_do() 173 ret = cp_file_to_file(from, to); in cp_do() 175 ret = cp_file_to_dir(from, to); in cp_do() [all …]
|
A D | mv.c | 23 char *from = NULL, *to = NULL; in mv_main() local 34 from = argv[1]; in mv_main() 39 from = get_realpath(from, abspath_from, sizeof(abspath_from)); in mv_main() 41 if (!from || !to) { in mv_main() 48 char *p = strrchr(from, '/'); in mv_main() 51 ret = asprintf(&to, "%s/%s", to, from); in mv_main() 62 ret = rename(from, to); in mv_main() 70 fd_from = open(from, O_RDONLY); in mv_main() 72 aos_cli_printf("open %s failed - %s\n", from, strerror(errno)); in mv_main() 95 ret = unlink(from); in mv_main() [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/ |
A D | inffast.c | 199 from = window; 201 from += wsize - op; 218 from = window; 240 *out++ = *from++; 241 *out++ = *from++; 242 *out++ = *from++; 246 *out++ = *from++; 254 *out++ = *from++; 255 *out++ = *from++; 256 *out++ = *from++; [all …]
|
/AliOS-Things-master/components/py_engine/external/unzip/src/ |
A D | inffast.c | 216 from = window - OFF; 218 from += wsize - op; 247 from += wnext - op; 257 PUP(out) = PUP(from); 258 PUP(out) = PUP(from); 259 PUP(out) = PUP(from); 263 PUP(out) = PUP(from); 271 PUP(out) = PUP(from); 272 PUP(out) = PUP(from); 273 PUP(out) = PUP(from); [all …]
|
/AliOS-Things-master/components/py_engine/tests/extmod/ |
A D | vfs_lfs_mount.py.exp | 3 hello from lfs 5 hello from lfs 11 hello from lfs 13 hello from lfs
|
/AliOS-Things-master/components/py_engine/tests/basics/ |
A D | async_await2.py.exp | 2 return from send: message from wait(1) 3 wait got back: message from main
|
/AliOS-Things-master/solutions/javascript_demo/board/haas-edu-k1/ |
A D | oled.js | 26 import * as spi from 'spi' 27 import * as gpio from 'gpio' 28 import SH1106 from './sh1106.js'
|
/AliOS-Things-master/components/py_engine/engine/extmod/ |
A D | vfs_lfsx.c | 300 size_t from = 1; in MP_VFS_LFSx() local 302 while (from < CWD_LEN) { in MP_VFS_LFSx() 303 for (; cwd[from] == '/' && from < CWD_LEN; ++from) { in MP_VFS_LFSx() 306 if (from > to) { in MP_VFS_LFSx() 308 vstr_cut_out_bytes(&self->cur_dir, to, from - to); in MP_VFS_LFSx() 309 from = to; in MP_VFS_LFSx() 311 for (; cwd[from] != '/' && from < CWD_LEN; ++from) { in MP_VFS_LFSx() 314 if ((from - to) == 1 && cwd[to] == '.') { in MP_VFS_LFSx() 317 from = to; in MP_VFS_LFSx() 327 from = to; in MP_VFS_LFSx() [all …]
|
/AliOS-Things-master/solutions/javascript_demo/board/haas600/ |
A D | oled.js | 26 import * as spi from 'spi' 27 import * as gpio from 'gpio' 28 import SH1106 from './sh1106.js'
|
/AliOS-Things-master/solutions/javascript_demo/board/haas100/ |
A D | oled.js | 26 import * as spi from 'spi' 27 import * as gpio from 'gpio' 28 import SH1106 from './sh1106.js'
|
/AliOS-Things-master/components/SDL2/src/image/autom4te.cache/ |
A D | traces.1 | 320 acinclude/libtool.m4:4173: _LT_LINKER_SHLIBS is expanded from... 321 acinclude/libtool.m4:5248: _LT_LANG_C_CONFIG is expanded from... 322 acinclude/libtool.m4:140: _LT_SETUP is expanded from... 323 acinclude/libtool.m4:69: LT_INIT is expanded from... 329 acinclude/libtool.m4:4173: _LT_LINKER_SHLIBS is expanded from... 331 acinclude/libtool.m4:140: _LT_SETUP is expanded from... 332 acinclude/libtool.m4:69: LT_INIT is expanded from... 354 acinclude/libtool.m4:140: _LT_SETUP is expanded from... 355 acinclude/libtool.m4:69: LT_INIT is expanded from... 673 acinclude/sdl2.m4:13: AM_PATH_SDL2 is expanded from... [all …]
|
/AliOS-Things-master/components/SDL2/src/audio/ |
A D | SDL_audio_c.h | 32 #define LOG_DEBUG_CONVERT(from, to) fprintf(stderr, "Converting %s to %s.\n", from, to); argument 34 #define LOG_DEBUG_CONVERT(from, to) argument
|
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/minizip/ |
A D | MiniZip64_info.txt | 1 MiniZip - Copyright (c) 1998-2010 - by Gilles Vollant - version 1.1 64 bits from Mathias Svensson 5 MiniZip 1.1 is built from MiniZip 1.0 by Gilles Vollant ( http://www.winimage.com/zLibDll/minizip.h… 20 Changed from MiniZip 1.0 to MiniZip 1.1 25 * Bunch of patches received from Gulles Vollant that he received for MiniZip from various users. 59 arising from the use of this software. 71 3. This notice may not be removed or altered from any source distribution.
|
/AliOS-Things-master/solutions/javascript_demo/common/ |
A D | ulog_demo.js | 1 import * as netmgr from 'netmgr'; 2 import * as iot from 'iot'; 3 import * as ulog from 'ulog';
|
/AliOS-Things-master/components/py_engine/tests/micropython/ |
A D | heapalloc_exc_compressed_emg_exc.py.exp | 2 KeyError pop from an empty set 4 pop from an empty set
|
A D | heapalloc_exc_compressed.py.exp | 2 KeyError pop from an empty set 4 pop from an empty set
|
A D | heapalloc_fail_bytearray.py.exp | 2 MemoryError: bytearray create from bytes 3 MemoryError: bytearray create from iter
|
/AliOS-Things-master/components/websocket/src/ |
A D | rws_frame.c | 283 void rws_frame_combine_datas(_rws_frame * to, _rws_frame * from) { in rws_frame_combine_datas() argument 284 unsigned char * comb_data = (unsigned char *)rws_malloc(to->data_size + from->data_size); in rws_frame_combine_datas() 290 if (from->data && from->data_size) { in rws_frame_combine_datas() 291 memcpy(comb_data, from->data, from->data_size); in rws_frame_combine_datas() 296 to->data_size += from->data_size; in rws_frame_combine_datas()
|
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/ping/ |
A D | net_deamon.c | 113 struct sockaddr_storage from; in ping_recv() local 114 int fromlen = sizeof(from); in ping_recv() 116 …while((len = lwip_recvfrom(s, buf, sizeof(buf), 0, (struct sockaddr*)&from, (socklen_t*)&fromlen))… in ping_recv() 121 if(from.ss_family == AF_INET) { in ping_recv() 122 struct sockaddr_in *from4 = (struct sockaddr_in*)&from; in ping_recv() 142 fromlen = sizeof(from); in ping_recv()
|
A D | ping.c | 190 struct sockaddr_storage from; in ping_recv() local 191 int fromlen = sizeof(from); in ping_recv() 193 …while((len = lwip_recvfrom(s, buf, sizeof(buf), 0, (struct sockaddr*)&from, (socklen_t*)&fromlen))… in ping_recv() 199 if(from.ss_family == AF_INET) { in ping_recv() 200 struct sockaddr_in *from4 = (struct sockaddr_in*)&from; in ping_recv() 207 if(from.ss_family == AF_INET6) { in ping_recv() 208 struct sockaddr_in6 *from6 = (struct sockaddr_in6*)&from; in ping_recv() 236 fromlen = sizeof(from); in ping_recv()
|
/AliOS-Things-master/components/SDL2/docs/ |
A D | README-windows.md | 19 To obtain the ANGLE binaries, you can either compile from source from 20 https://chromium.googlesource.com/angle/angle or copy the relevant binaries from 29 If you compile ANGLE from source, you can configure it so it does not need the 39 that there's a bug in the library which prevents the window contents from
|
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/examples/ |
A D | gzappend.c | 127 unsigned char *start, *last, *to, *from; in rotate() local 156 start = from = list + cycles; /* start index is arbitrary */ in rotate() 157 tmp = *from; /* save entry to be overwritten */ in rotate() 159 to = from; /* next step in cycle */ in rotate() 160 from += rot; /* go right rot positions */ in rotate() 161 if (from > last) from -= len; /* (pointer better not wrap) */ in rotate() 162 if (from == start) break; /* all but one shifted */ in rotate() 163 *to = *from; /* shift left */ in rotate()
|
/AliOS-Things-master/kernel/rhino/include/ |
A D | k_trace.h | 74 void trace_task_switch(ktask_t *from, ktask_t *to); 75 void trace_intrpt_task_switch(ktask_t *from, ktask_t *to); 86 #define TRACE_TASK_SWITCH(from, to) trace_task_switch(from, to) argument 89 #define TRACE_INTRPT_TASK_SWITCH(from, to) trace_intrpt_task_switch(from, to) argument 189 #define TRACE_TASK_SWITCH(from, to) 192 #define TRACE_INTRPT_TASK_SWITCH(from, to)
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/scripts/ |
A D | genchk.cmake.in | 2 # Generate .chk from .out with awk (generic), based upon the automake logic. 11 # Variables substituted from CMakeLists.txt 24 # Generate .chk from .out with awk (generic)
|
/AliOS-Things-master/components/amp/example-js/ |
A D | crypto.js | 1 import * as checksum from 'checksum' 2 import * as crypto from 'crypto'
|