Home
last modified time | relevance | path

Searched refs:c_file (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/shared/memzip/
A Dmake-memzip.py29 with open(c_filename, 'wb') as c_file:
30 print('#include <stdint.h>', file=c_file)
31 print('', file=c_file)
32 print('const uint8_t memzip_data[] = {', file=c_file)
37 print(' ', end='', file=c_file)
40 print(' 0x{:02x},'.format(ord(byte)), end='', file=c_file)
42 print(' 0x{:02x},'.format(byte), end='', file=c_file)
43 print('', file=c_file)
44 print('};', file=c_file)
/AliOS-Things-master/components/py_engine/engine/py/
A Dmakemoduledefs.py26 c_file = None
32 c_file = possible_c_file
35 return c_file
38 def find_module_registrations(c_file): argument
46 if c_file is None:
50 with io.open(c_file, encoding="utf-8") as c_file_obj:
103 c_file = find_c_file(obj_file, vpath)
104 modules |= find_module_registrations(c_file)

Completed in 5 milliseconds