Home
last modified time | relevance | path

Searched refs:path (Results 1 – 25 of 703) sorted by relevance

12345678910>>...29

/AliOS-Things-master/hardware/chip/rtl872xd/
A Dgen_crc_bin.py17 home_path = os.path.expanduser("~")
20 nm = os.path.join(toolchain_path, "arm-ali-aoseabi-nm")
21 strip = os.path.join(toolchain_path, "arm-ali-aoseabi-strip")
27 bin_dir = os.path.join(amebaz_dir, "bin")
32 km0_boot_file = os.path.join(bin_dir, "km0_boot_all.bin")
34 km4_boot_file = os.path.join(bin_dir, "km4_boot_all.bin")
35 ate_file = os.path.join(bin_dir, "ate.bin")
42 release_dir = os.path.join(amebaz_dir, "release")
82 if os.path.exists(image_target_folder):
142 padPy = os.path.join(amebaz_dir, "pad.py")
[all …]
A Dbuild_bin.py14 mypath = os.path.dirname(sys.argv[0])
20 path = '' variable
24 path = 'linux64' variable
26 path = 'linux32'
28 path = 'osx' variable
30 path = 'win32' variable
31 if path:
32 path = os.path.join("tools", path, "xz") variable
38 bin_path = os.path.join("..", "write_flash_gui", "ota_bin")
39 shutil.copy(os.path.join(bin_path, "ota_rtos.bin"), os.path.join(bin_path, "ota_rtos_ota.bin"))
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/release/auto_build_tool/
A Dbuild_bin.py14 mypath = os.path.dirname(sys.argv[0])
20 path = '' variable
24 path = 'linux64' variable
26 path = 'linux32'
28 path = 'osx' variable
30 path = 'win32' variable
31 if path:
32 path = os.path.join("tools", path, "xz") variable
39 shutil.copy(os.path.join(bin_path, "ota_rtos.bin"), os.path.join(bin_path, "ota_rtos_ota_all.bin"))
40 shutil.copy(os.path.join(bin_path, "ota_rtos.bin"), os.path.join(bin_path, "ota_rtos_ota_xz.bin"))
[all …]
/AliOS-Things-master/components/py_engine/external/amp_boot/
A Damp_boot_file_transfer.c145 strncat(path, save_path, sizeof(path) - 1); in pyamp_ymodem_installapp()
146 strncat(path, "/", sizeof(path) - 1); in pyamp_ymodem_installapp()
149 strncat(path, AMP_FS_EXT_ROOT_DIR "/", sizeof(path) - 1); in pyamp_ymodem_installapp()
151 strncat(path, AMP_FS_ROOT_DIR "/", sizeof(path) - 1); in pyamp_ymodem_installapp()
154 strncat(path, recevie_filename, sizeof(path) - 1); in pyamp_ymodem_installapp()
187 strncat(path, save_path, sizeof(path) - 1); in pyamp_ymodem_receive_open_file()
188 strncat(path, "/", sizeof(path) - 1); in pyamp_ymodem_receive_open_file()
191 strncat(path, AMP_FS_EXT_ROOT_DIR "/", sizeof(path) - 1); in pyamp_ymodem_receive_open_file()
193 strncat(path, AMP_FS_ROOT_DIR "/", sizeof(path) - 1); in pyamp_ymodem_receive_open_file()
196 strncat(path, targetname, sizeof(path) - 1); in pyamp_ymodem_receive_open_file()
[all …]
/AliOS-Things-master/components/vfs/
A Dvfs_aos.c46 int aos_open(const char *path, int flags) in aos_open() argument
106 int aos_unlink(const char *path) in aos_unlink() argument
111 int aos_remove(const char *path) in aos_remove() argument
121 aos_dir_t *aos_opendir(const char *path) in aos_opendir() argument
123 return (aos_dir_t *)vfs_opendir(path); in aos_opendir()
136 int aos_mkdir(const char *path) in aos_mkdir() argument
141 int aos_rmdir(const char *path) in aos_rmdir() argument
166 int aos_access(const char *path, int amode) in aos_access() argument
171 int aos_chdir(const char *path) in aos_chdir() argument
211 int aos_unregister_driver(const char *path) in aos_unregister_driver() argument
[all …]
/AliOS-Things-master/components/SDL2/src/filesystem/winrt/
A DSDL_sysfilesystem.cpp49 static wstring path; in SDL_WinRTGetFSPathUNICODE() local
50 if (path.empty()) { in SDL_WinRTGetFSPathUNICODE()
53 return path.c_str(); in SDL_WinRTGetFSPathUNICODE()
58 static wstring path; in SDL_WinRTGetFSPathUNICODE() local
59 if (path.empty()) { in SDL_WinRTGetFSPathUNICODE()
62 return path.c_str(); in SDL_WinRTGetFSPathUNICODE()
68 static wstring path; in SDL_WinRTGetFSPathUNICODE() local
69 if (path.empty()) { in SDL_WinRTGetFSPathUNICODE()
78 if (path.empty()) { in SDL_WinRTGetFSPathUNICODE()
148 WCHAR path[MAX_PATH]; in SDL_GetPrefPath() local
[all …]
/AliOS-Things-master/components/py_engine/engine/tools/
A Dmakemanifest.py105 def freeze_as_str(path): argument
166 def convert_path(path): argument
169 path = path.replace("$({})".format(name), value)
172 return os.path.abspath(path)
177 stat = os.stat(path)
194 path = os.path.dirname(filename)
195 if not os.path.isdir(path):
196 os.makedirs(path)
200 path = convert_path(path)
201 if not os.path.isdir(path):
[all …]
/AliOS-Things-master/hardware/chip/haas1000/release/auto_build_tool/
A Dbuild_bin.py14 mypath = os.path.dirname(sys.argv[0])
20 path = '' variable
24 path = 'linux64' variable
26 path = 'linux32'
28 path = 'osx' variable
30 path = 'win32' variable
31 if path:
32 path = os.path.join("tools", path, "xz") variable
38 bin_path = os.path.join("..", "write_flash_gui", "ota_bin")
39 shutil.copy(os.path.join(bin_path, "ota_rtos.bin"), os.path.join(bin_path, "ota_rtos_ota.bin"))
[all …]
/AliOS-Things-master/components/cli/src/iobox/
A Dmkdir.c25 path = get_realpath(path, abspath, sizeof(abspath)); in mkdir_do()
26 if (!path) { in mkdir_do()
42 if (path[0] == '.') { in mkdir_do()
43 if (path[1] == '\0') in mkdir_do()
45 if (path[1] == '.' && path[2] == '\0') in mkdir_do()
63 if (!stat(path, &st)) { in mkdir_do()
70 if (mkdir(path, 0777) < 0) { in mkdir_do()
115 char *path; in mkdir_main() local
117 path = strdup(argv[index]); in mkdir_main()
118 ret = mkdir_do(path, flags); in mkdir_main()
[all …]
/AliOS-Things-master/components/py_engine/
A Dpy_engine_prepare.py38 components_dest = os.path.dirname(script_dir)
39 root_dest = os.path.dirname(components_dest)
43 prebuild_dest1 = os.path.dirname(framework_dir)
44 prebuild_dest2 = os.path.dirname(prebuild_dest1)
45 prebuild_dest = os.path.dirname(prebuild_dest2)
56 if os.path.exists(prebuildDst_boot):
65 if os.path.exists(prebuildDst_apps):
76 if os.path.exists(prebuildDst_framework):
87 if os.path.exists(prebuildDst_ext_uasyncio):
123 if os.path.isfile(filename):
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/ruy/
A Dkernel_avx.cc89 template <Path path>
96 template <Path path>
122 template <Path path>
132 template <Path path>
143 template <Path path>
154 template <Path path>
165 template <Path path>
176 template <Path path>
185 template <Path path>
220 template <Path path>
[all …]
A Dkernel_x86.h202 template <Path path>
242 template <Path path>
249 template <Path path>
257 template <Path path>
266 template <Path path>
277 template <Path path>
288 template <Path path>
302 template <Path path>
308 template <Path path>
364 template <Path path>
[all …]
/AliOS-Things-master/components/SDL2/src/filesystem/windows/
A DSDL_sysfilesystem.c42 WCHAR *path = NULL; in SDL_GetBasePath() local
63 SDL_free(path); in SDL_GetBasePath()
69 path = (WCHAR *) ptr; in SDL_GetBasePath()
83 SDL_free(path); in SDL_GetBasePath()
89 if (path[i] == '\\') { in SDL_GetBasePath()
98 SDL_free(path); in SDL_GetBasePath()
114 WCHAR path[MAX_PATH]; in SDL_GetPrefPath() local
158 lstrcatW(path, worg); in SDL_GetPrefPath()
171 lstrcatW(path, L"\\"); in SDL_GetPrefPath()
172 lstrcatW(path, wapp); in SDL_GetPrefPath()
[all …]
/AliOS-Things-master/components/linkkit/iot_coap/server/
A DCoAPResource.c20 if (!path || !len || !outbuf || !outlen) { in CoAPPathMD5_sum()
79 if (NULL == path) { in CoAPResource_create()
83 if (strlen(path) >= COAP_MSG_MAX_PATH_LEN) { in CoAPResource_create()
95 CoAPPathMD5_sum(path, strlen(path), resource->path, in CoAPResource_create()
98 int len = strlen(path) + 1; in CoAPResource_create()
106 strncpy(resource->filter_path, path, strlen(path)); in CoAPResource_create()
138 if (strstr(path, "/#") != NULL) { in CoAPResource_register()
141 CoAPPathMD5_sum(path, strlen(path), path_calc, in CoAPResource_register()
160 if (0 == strncmp((char *)path, node->filter_path, strlen(path))) { in CoAPResource_register()
221 if (NULL == context || NULL == path) { in CoAPResourceByPath_get()
[all …]
/AliOS-Things-master/components/vfs/include/aos/
A Dvfs.h160 int aos_open(const char *path, int flags);
332 int aos_unlink(const char *path);
343 int aos_remove(const char *path);
368 aos_dir_t *aos_opendir(const char *path);
408 int aos_mkdir(const char *path);
419 int aos_rmdir(const char *path);
489 int aos_access(const char *path, int amode);
501 int aos_chdir(const char *path);
535 long aos_pathconf(const char *path, int name);
608 int aos_unregister_driver(const char *path);
[all …]
/AliOS-Things-master/components/amp_adapter/portfiles/aos/
A Dvfs.h160 int aos_open(const char *path, int flags);
332 int aos_unlink(const char *path);
343 int aos_remove(const char *path);
368 aos_dir_t *aos_opendir(const char *path);
408 int aos_mkdir(const char *path);
419 int aos_rmdir(const char *path);
489 int aos_access(const char *path, int amode);
501 int aos_chdir(const char *path);
535 long aos_pathconf(const char *path, int name);
608 int aos_unregister_driver(const char *path);
[all …]
/AliOS-Things-master/components/amp_adapter/
A Dvfs.h160 int aos_open(const char *path, int flags);
332 int aos_unlink(const char *path);
343 int aos_remove(const char *path);
368 aos_dir_t *aos_opendir(const char *path);
408 int aos_mkdir(const char *path);
419 int aos_rmdir(const char *path);
489 int aos_access(const char *path, int amode);
501 int aos_chdir(const char *path);
535 long aos_pathconf(const char *path, int name);
608 int aos_unregister_driver(const char *path);
[all …]
/AliOS-Things-master/components/linkkit/dev_model/alcs/
A Dalcs_coap.c16 char path[MAX_PATH_CHECKSUM_LEN]; member
136 CoAPPathMD5_sum(path, strlen(path), path_calc, MAX_PATH_CHECKSUM_LEN); in recv_msg_handler()
170 CoAPPathMD5_sum(path, strlen(path), item->path, MAX_PATH_CHECKSUM_LEN); in alcs_resource_register()
190 CoAPPathMD5_sum(path, strlen(path), path_calc, MAX_PATH_CHECKSUM_LEN); in alcs_resource_need_auth()
382 memset(path, 0x00, sizeof(path)); in path_2_option()
386 (unsigned char *)path, (int)strlen(path)); in path_2_option()
391 memset(path, 0x00, sizeof(path)); in path_2_option()
392 strncpy(path, pstr, sizeof(path) - 1); in path_2_option()
393 COAP_DEBUG("path: %s,len=%d", path, (int)strlen(path)); in path_2_option()
395 (unsigned char *)path, (int)strlen(path)); in path_2_option()
[all …]
/AliOS-Things-master/components/posix/src/
A Dfs.c19 CHECK_POSIX_PARAM(path); in statfs()
22 ret = aos_statfs(path, &statfs_temp); in statfs()
39 int remove(const char *path) in remove() argument
43 CHECK_POSIX_PARAM(path); in remove()
45 ret = aos_remove(path); in remove()
90 CHECK_POSIX_PARAM(path); in access()
92 ret = aos_access(path, mode); in access()
112 CHECK_POSIX_PARAM(path); in creat()
124 CHECK_POSIX_PARAM(path); in pathconf()
126 ret = aos_pathconf(path, name); in pathconf()
[all …]
/AliOS-Things-master/components/littlevgl/src/lv_misc/
A Dlv_fs.c92 char letter = path[0]; in lv_fs_open()
167 char letter = path[0]; in lv_fs_remove()
566 while(path[len] == '/' || path[len] == '\\') { in lv_fs_up()
571 return path; in lv_fs_up()
576 if(path[i] == '/' || path[i] == '\\') break; in lv_fs_up()
581 return path; in lv_fs_up()
597 while(path[len] == '/' || path[len] == '\\') { in lv_fs_get_last()
606 if(path[i] == '/' || path[i] == '\\') break; in lv_fs_get_last()
631 if(*path == ':' || *path == '\\' || *path == '/') { in lv_fs_get_real_path()
632 path++; in lv_fs_get_real_path()
[all …]
/AliOS-Things-master/components/amp_adapter/platform/linux/
A Daos_fs.c21 return open(path, flags, 0777); in aos_open()
49 int aos_rmdir(const char *path) in aos_rmdir() argument
51 rmdir(path); in aos_rmdir()
59 ret = stat(path, &info); in aos_stat()
70 ret = statfs(path, &info); in aos_statfs()
80 ret = unlink(path); in aos_unlink()
87 ret = remove(path); in aos_remove()
93 return opendir(path); in aos_opendir()
106 int aos_mkdir(const char *path) in aos_mkdir() argument
108 return mkdir(path, 0x777); in aos_mkdir()
[all …]
/AliOS-Things-master/components/SDL2/src/events/
A DSDL_gesture.c86 printf(" (%f,%f)",path[i].x,path[i].y);
355 float dx = path->p[i ].x - path->p[i-1].x; in dollarNormalize()
356 float dy = path->p[i ].y - path->p[i-1].y; in dollarNormalize()
369 float d = (float)(SDL_sqrt((path->p[i-1].x-path->p[i].x)*(path->p[i-1].x-path->p[i].x)+ in dollarNormalize()
370 (path->p[i-1].y-path->p[i].y)*(path->p[i-1].y-path->p[i].y))); in dollarNormalize()
374 ((interval-dist)/d)*(path->p[i].x-path->p[i-1].x); in dollarNormalize()
376 ((interval-dist)/d)*(path->p[i].y-path->p[i-1].y); in dollarNormalize()
392 points[DOLLARNPOINTS-1] = path->p[path->numPoints-1]; in dollarNormalize()
633 path->p[path->numPoints].x = inTouch->centroid.x; in SDL_GestureProcessEvent()
636 (path->p[path->numPoints].x-path->p[path->numPoints-1].x); in SDL_GestureProcessEvent()
[all …]
/AliOS-Things-master/components/vfs/include/
A Dvfs_api.h41 int32_t vfs_open(const char *path, int32_t flags);
147 int32_t vfs_stat(const char *path, vfs_stat_t *st);
201 int32_t vfs_unlink(const char *path);
211 int32_t vfs_remove(const char *path);
232 vfs_dir_t *vfs_opendir(const char *path);
262 int32_t vfs_mkdir(const char *path);
272 int32_t vfs_rmdir(const char *path);
346 int vfs_chdir(const char *path);
367 int32_t vfs_pathconf(const char *path, int name);
416 int32_t vfs_unregister_driver(const char *path);
[all …]
/AliOS-Things-master/components/amp/jslib/src/
A Dfs.js3 export function writeSync(path, data, options) { argument
4 if (!path || !data) {
8 FS.write(path, data, options);
11 export function readSync(path) { argument
12 if(!path) {
15 var content = FS.read(path);
22 export function unlinkSync(path) { argument
23 if(!path) {
26 FS.delete(path);
/AliOS-Things-master/components/py_engine/engine/py/
A Dbuiltinimport.c61 mp_import_stat_t st = mp_frozen_stat(path); in mp_import_stat_any()
66 return mp_import_stat(path); in mp_import_stat_any()
76 vstr_ins_byte(path, path->len - 2, 'm'); in stat_file_py_or_mpy()
94 vstr_add_str(path, ".py"); in stat_dir_or_file()
95 return stat_file_py_or_mpy(path); in stat_dir_or_file()
360 VSTR_FIXED(path, MICROPY_ALLOC_PATH_MAX) in mp_builtin___import__()
370 DEBUG_printf("Previous path: =%.*s=\n", vstr_len(&path), vstr_str(&path)); in mp_builtin___import__()
374 if (vstr_len(&path) == 0) { in mp_builtin___import__()
383 DEBUG_printf("Current path: %.*s\n", vstr_len(&path), vstr_str(&path)); in mp_builtin___import__()
435 DEBUG_printf("%.*s is dir\n", vstr_len(&path), vstr_str(&path)); in mp_builtin___import__()
[all …]

Completed in 70 milliseconds

12345678910>>...29