code
stringlengths
1
1.05M
repo_name
stringlengths
6
83
path
stringlengths
3
242
language
stringclasses
222 values
license
stringclasses
20 values
size
int64
1
1.05M
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/string.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/strings.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/stropts.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/sys/ioctl.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/sys/ipc.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/sys/mman.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/sys/msg.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/sys/poll.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/sys/resource.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/sys/select.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/sys/sem.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/sys/shm.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/sys/socket.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/sys/stat.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/sys/statvfs.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/sys/sysctl.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/sys/time.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/sys/times.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/sys/types.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/sys/uio.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/sys/un.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/sys/utsname.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/sys/wait.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/syslog.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/tar.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/termios.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/tgmath.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/time.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/trace.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/ulimit.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/unctrl.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/unistd.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/utime.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/utmp.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/utmpx.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/wchar.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/wctype.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/wordexp.h
C
apache-2.0
55
#include "_fake_defines.h" #include "_fake_typedefs.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/xcb/xcb.h
C
apache-2.0
55
#ifndef ZLIB_H #define ZLIB_H #include "_fake_defines.h" #include "_fake_typedefs.h" typedef int uInt; typedef int uLong; #if !defined(__MACTYPES__) typedef int Byte; #endif typedef int Bytef; typedef int charf; typedef int intf; typedef int uIntf; typedef int uLongf; typedef int voidpc; typedef int voidpf; typedef...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/fake_libc_include/zlib.h
C
apache-2.0
514
void foo(char * const * arg) { arg += 1; (*arg) += 1; } void foo2(char ** const arg) { arg += 1; (*arg) += 1; }
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/internal/constptr.c
C
apache-2.0
121
REM ~ ..\cpp -D__i386__ -I"D:\eli\cpp_stuff\libc_include" -D__extension__ example_c_file.c > example_c_file_pp.c REM ~ ..\cpp -D__i386__ -I"D:\eli\c_analyzing\pycparser-trunk\utils\fake_libc_include" example_c_file.c > example_c_file_pp.c ..\cpp -D__i386__ -I"D:\eli\c_analyzing\pycparser-trunk\utils\fake_libc_include" ...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/internal/cppify.bat
Batchfile
apache-2.0
335
/* a comment / */ /* "not a string" */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <assert.h> #include <ctype.h> #include <signal.h> #include <time.h> #include <wchar.h> /* multiline comment comment */ int main() { auto char* multi = "a multi"; /* and a comment !*/ } /* A final co...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/internal/example_c_file.c
C
apache-2.0
358
import os.path for cur_path, dirs, files in os.walk('.'): if cur_path == '.': for f in files: if f.endswith('.h'): print f fo = open(f, 'w') fo.write('#include "_fake_defines.h"\n') fo.write('#include "_fake_typedefs.h"\n') ...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/internal/fake_includes.py
Python
apache-2.0
342
import sys sys.path.insert(0, '../..') from pycparser import c_parser, c_ast, parse_file class MyVisitor(c_ast.NodeVisitor): def visit_Typedef(self, node): print 'typedef int %s;' % node.name def generate_fake_typedefs(filename): ast = parse_file(filename, use_cpp=True, cpp_path="../cpp.exe") ...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/internal/make_fake_typedefs.py
Python
apache-2.0
433
import sys from pycparser import parse_file from pycparser.c_ast import * from pycparser.c_parser import CParser, Coord, ParseError from pycparser.c_lexer import CLexer def expand_decl(decl): """ Converts the declaration into a nested list. """ typ = type(decl) if typ == TypeDecl: return ['Ty...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/internal/memprofiling.py
Python
apache-2.0
3,320
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <getopt.h> #define PACKAGE "wgram" #define VERSION "0.0.4" #define MAXLINE 1024 #define MAXGRAM 32 /* status epilepticus .. print help */ void print_help(int exval); int main (int argc, char *argv[]) { /* word delimeter for strtok() */ char delim[...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/internal/zc.c
C
apache-2.0
2,992
from __future__ import print_function from pycparser import parse_file, c_parser, c_generator if __name__ == '__main__': src = r''' void f(char * restrict joe){} int main(void) { unsigned int long k = 4; int p = - - k; return 0; } ''' parser = c_parser.CParser() ast = parser.parse(src) ...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/internal/zz-ctoc.py
Python
apache-2.0
586
from __future__ import print_function import sys from pycparser import c_parser, c_generator, c_ast, parse_file if __name__ == "__main__": parser = c_parser.CParser() code = r''' void* ptr = (int[ ]){0}; ''' print(code) ast = parser.parse(code) ast.show(attrnames=True, nodenames=True) ...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/pycparser/utils/internal/zz_parse.py
Python
apache-2.0
487
#!/bin/bash set -e # Exit on error SCRIPT_PATH="`dirname \"$0\"`" NUMCPUS=`nproc` TEST_PATH="$SCRIPT_PATH/../examples/*.py $SCRIPT_PATH/../lvgl/examples/" EXCLUDE_PATH="$SCRIPT_PATH/../examples/fb_test.py $SCRIPT_PATH/../examples/uasyncio*.py" EXCLUDE_FINDEXP=$(echo $EXCLUDE_PATH | sed "s/^\|[[:space:]]/ -and -not...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/tests/run.sh
Shell
apache-2.0
560
############################################################################## # Run LVGL examples # An example script should be provided as an argument. # # This script would: # - Initialize LVGL and display # - Read the example file # - Chdir to the example file dir # - Run the example # - gc collect # - Try to perfo...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/lv_bindings/tests/run_test.py
Python
apache-2.0
3,519
#! /bin/bash -e # Generate esp32_mbedtls_errors.c for use in the Esp32 port, with the ESP-IDF version of mbedtls # The IDF_PATH env var must be set to the top-level dir of ESPIDF echo "IDF_PATH=$IDF_PATH" MBEDTLS=$IDF_PATH/components/mbedtls/mbedtls patch -o esp32_generate_errors.pl $MBEDTLS/scripts/generate_errors.pl ...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/mbedtls_errors/do-esp32.sh
Shell
apache-2.0
424
#! /bin/bash -e # Generate mp_mbedtls_errors.c for inclusion in ports that use $MPY/lib/mbedtls patch -o mp_generate_errors.pl ../mbedtls/scripts/generate_errors.pl <generate_errors.diff perl ./mp_generate_errors.pl ../mbedtls/include/mbedtls . mp_mbedtls_errors.c
YifuLiu/AliOS-Things
components/py_engine/engine/lib/mbedtls_errors/do-mp.sh
Shell
apache-2.0
265
#! /bin/bash -e # Generate mp_mbedtls_errors.c and build the tester app ./do-mp.sh cc -o tester -I../mbedtls/include/ mp_mbedtls_errors.c tester.c
YifuLiu/AliOS-Things
components/py_engine/engine/lib/mbedtls_errors/do-test.sh
Shell
apache-2.0
147
/* * Error message information * * Copyright (C) 2006-2015, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. * You may obtain a copy of the License a...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/mbedtls_errors/mp_mbedtls_errors.c
C
apache-2.0
27,604
#include "mbedtls/error.h" #include <string.h> #include <stdio.h> // test_code checks that the provided code results in the provided error string for any size // buffer. It calls mbedtls_strerror() to fill a buffer that is from 1 to 100 bytes in length // and then checks that the buffer contents is OK and that a few g...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/mbedtls_errors/tester.c
C
apache-2.0
2,000
/* This file is part of ooFatFs, a customised version of FatFs * See https://github.com/micropython/oofatfs for details */ /*-----------------------------------------------------------------------/ / Low level disk interface modlue include file (C)ChaN, 2014 / /-------------------------------------------...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/oofatfs/diskio.h
C
apache-2.0
2,936
/* This file is part of ooFatFs, a customised version of FatFs * See https://github.com/micropython/oofatfs for details */ /*----------------------------------------------------------------------------/ / FatFs - Generic FAT Filesystem Module R0.13c / /---------------------------------...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/oofatfs/ff.c
C
apache-2.0
249,392
/* This file is part of ooFatFs, a customised version of FatFs * See https://github.com/micropython/oofatfs for details */ /*----------------------------------------------------------------------------/ / FatFs - Generic FAT Filesystem module R0.13c / /---------------------------------...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/oofatfs/ff.h
C
apache-2.0
16,481
/* * This file is part of the MicroPython project, http://micropython.org/ * * Original file from: * FatFs - FAT file system module configuration file R0.13c (C)ChaN, 2018 * * The MIT License (MIT) * * Copyright (c) 2013-2019 Damien P. George * * Permission is hereby granted, free of charge, to any person obt...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/oofatfs/ffconf.h
C
apache-2.0
13,980
/*------------------------------------------------------------------------*/ /* Unicode handling functions for FatFs R0.13c */ /*------------------------------------------------------------------------*/ /* This module will occupy a huge memory in the .const section when the / / FatFs is ...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/oofatfs/ffunicode.c
C
apache-2.0
34,960
#include "re1.5.h" int _re1_5_classmatch(const char *pc, const char *sp) { // pc points to "cnt" byte after opcode int is_positive = (pc[-1] == Class); int cnt = *pc++; while (cnt--) { if (*sp >= *pc && *sp <= pc[1]) return is_positive; pc += 2; } return !is_positive; } int _re...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/re1.5/charclass.c
C
apache-2.0
868
// Copyright 2014 Paul Sokolovsky. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "re1.5.h" #define INSERT_CODE(at, num, pc) \ ((code ? memmove(code + at + num, code + at, pc - at) : 0), pc += num) #define REL(at, to) (to - at - 2) #define EMIT(at,...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/re1.5/compilecode.c
C
apache-2.0
6,266
// Copyright 2014 Paul Sokolovsky. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "re1.5.h" void re1_5_dumpcode(ByteProg *prog) { int pc = 0; char *code = prog->insts; while (pc < prog->bytelen) { printf("%2d: ", pc); ...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/re1.5/dumpcode.c
C
apache-2.0
2,413
// Copyright 2007-2009 Russ Cox. All Rights Reserved. // Copyright 2014 Paul Sokolovsky. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #ifndef _RE1_5_REGEXP__H #define _RE1_5_REGEXP__H #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdar...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/re1.5/re1.5.h
C
apache-2.0
2,783
// Copyright 2007-2009 Russ Cox. All Rights Reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "re1.5.h" static int recursiveloop(char *pc, const char *sp, Subject *input, const char **subp, int nsubp) { const char *old; int off; re1_5_stack...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/re1.5/recursiveloop.c
C
apache-2.0
1,822
/* tinytest.c -- Copyright 2009-2012 Nick Mathewson * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and th...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/tinytest/tinytest.c
C
apache-2.0
12,137
/* tinytest.h -- Copyright 2009-2012 Nick Mathewson * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and th...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/tinytest/tinytest.h
C
apache-2.0
4,208
/* tinytest_macros.h -- Copyright 2009-2012 Nick Mathewson * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/tinytest/tinytest_macros.h
C
apache-2.0
6,516
/* * Adler-32 checksum * * Copyright (c) 2003 by Joergen Ibsen / Jibz * All Rights Reserved * * http://www.ibsensoftware.com/ * * This software is provided 'as-is', without any express * or implied warranty. In no event will the authors be * held liable for any damages arising from the use of * this softwar...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/uzlib/adler32.c
C
apache-2.0
2,243
/* * CRC32 checksum * * Copyright (c) 1998-2003 by Joergen Ibsen / Jibz * All Rights Reserved * * http://www.ibsensoftware.com/ * * This software is provided 'as-is', without any express * or implied warranty. In no event will the authors be * held liable for any damages arising from the use of * this softw...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/uzlib/crc32.c
C
apache-2.0
1,952
/* * Copyright (c) uzlib authors * * This software is provided 'as-is', without any express * or implied warranty. In no event will the authors be * held liable for any damages arising from the use of * this software. * * Permission is granted to anyone to use this software * for any purpose, including commer...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/uzlib/defl_static.h
C
apache-2.0
1,509
/* Compatibility header for the original tinf lib/older versions of uzlib. Note: may be removed in the future, please migrate to uzlib.h. */ #include "uzlib.h"
YifuLiu/AliOS-Things
components/py_engine/engine/lib/uzlib/tinf.h
C
apache-2.0
163
/* This header contains compatibility defines for the original tinf API and uzlib 2.x and below API. These defines are deprecated and going to be removed in the future, so applications should migrate to new uzlib API. */ #define TINF_DATA struct uzlib_uncomp #define destSize dest_size #define destStart dest_s...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/uzlib/tinf_compat.h
C
apache-2.0
359
/* * uzlib - tiny deflate/inflate library (deflate, gzip, zlib) * * Copyright (c) 2003 by Joergen Ibsen / Jibz * All Rights Reserved * * http://www.ibsensoftware.com/ * * Copyright (c) 2014-2018 by Paul Sokolovsky * * This software is provided 'as-is', without any express * or implied warranty. In no even...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/uzlib/tinfgzip.c
C
apache-2.0
2,833
/* * uzlib - tiny deflate/inflate library (deflate, gzip, zlib) * * Copyright (c) 2003 by Joergen Ibsen / Jibz * All Rights Reserved * http://www.ibsensoftware.com/ * * Copyright (c) 2014-2018 by Paul Sokolovsky * * This software is provided 'as-is', without any express * or implied warranty. In no event w...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/uzlib/tinflate.c
C
apache-2.0
17,439
/* * uzlib - tiny deflate/inflate library (deflate, gzip, zlib) * * Copyright (c) 2003 by Joergen Ibsen / Jibz * All Rights Reserved * * http://www.ibsensoftware.com/ * * Copyright (c) 2014-2018 by Paul Sokolovsky * * This software is provided 'as-is', without any express * or implied warranty. In no even...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/uzlib/tinfzlib.c
C
apache-2.0
1,800
/* * uzlib - tiny deflate/inflate library (deflate, gzip, zlib) * * Copyright (c) 2003 by Joergen Ibsen / Jibz * All Rights Reserved * http://www.ibsensoftware.com/ * * Copyright (c) 2014-2018 by Paul Sokolovsky * * This software is provided 'as-is', without any express * or implied warranty. In no event w...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/uzlib/uzlib.h
C
apache-2.0
4,733
/* * uzlib - tiny deflate/inflate library (deflate, gzip, zlib) * * Copyright (c) 2014-2018 by Paul Sokolovsky */ #ifndef UZLIB_CONF_H_INCLUDED #define UZLIB_CONF_H_INCLUDED #ifndef UZLIB_CONF_DEBUG_LOG /* Debug logging level 0, 1, 2, etc. */ #define UZLIB_CONF_DEBUG_LOG 0 #endif #ifndef UZLIB_CONF_PARANOID_CH...
YifuLiu/AliOS-Things
components/py_engine/engine/lib/uzlib/uzlib_conf.h
C
apache-2.0
562
include ../py/mkenv.mk # define main target PROG = mpy-cross # qstr definitions (must come before including py.mk) QSTR_DEFS = qstrdefsport.h # OS name, for simple autoconfig UNAME_S := $(shell uname -s) # include py core make definitions include $(TOP)/py/py.mk INC += -I. INC += -I$(BUILD) INC += -I$(TOP) # comp...
YifuLiu/AliOS-Things
components/py_engine/engine/mpy-cross/Makefile
Makefile
apache-2.0
1,575
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2013-2014 Damien P. George * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in...
YifuLiu/AliOS-Things
components/py_engine/engine/mpy-cross/gccollect.c
C
apache-2.0
1,497
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2013-2016 Damien P. George * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in...
YifuLiu/AliOS-Things
components/py_engine/engine/mpy-cross/main.c
C
apache-2.0
13,827
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2013-2015 Damien P. George * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in...
YifuLiu/AliOS-Things
components/py_engine/engine/mpy-cross/mpconfigport.h
C
apache-2.0
5,980
// prevent including extmod/virtpin.h #define mp_hal_pin_obj_t
YifuLiu/AliOS-Things
components/py_engine/engine/mpy-cross/mphalport.h
C
apache-2.0
63
// qstrs specific to this port
YifuLiu/AliOS-Things
components/py_engine/engine/mpy-cross/qstrdefsport.h
C
apache-2.0
31
#add include include_directories(${MPYENGINEDIR}/include) include_directories(${MPYENGINEDIR}) #add src file include(${MPYENGINEDIR}/py/py.mk) include(${MPYENGINEDIR}/lib/py.mk) include(${MPYENGINEDIR}/extmod/py.mk) include(${MPYENGINEDIR}/drivers/py.mk) #$(NAME)_CFLAGS += -DMICROPY_HW_BOARD_NAME=\"$(PLATFORM)\" #$(...
YifuLiu/AliOS-Things
components/py_engine/engine/py.mk
Makefile
apache-2.0
407
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2013, 2014 Damien P. George * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * i...
YifuLiu/AliOS-Things
components/py_engine/engine/py/argcheck.c
C
apache-2.0
5,838
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2014 Fabian Vogt * Copyright (c) 2013, 2014 Damien P. George * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation fi...
YifuLiu/AliOS-Things
components/py_engine/engine/py/asmarm.c
C
apache-2.0
11,681
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2014 Fabian Vogt * Copyright (c) 2013, 2014 Damien P. George * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation fi...
YifuLiu/AliOS-Things
components/py_engine/engine/py/asmarm.h
C
apache-2.0
9,637
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2016 Damien P. George * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the ...
YifuLiu/AliOS-Things
components/py_engine/engine/py/asmbase.c
C
apache-2.0
3,777
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2016 Damien P. George * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the ...
YifuLiu/AliOS-Things
components/py_engine/engine/py/asmbase.h
C
apache-2.0
2,532
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2013, 2014 Damien P. George * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * i...
YifuLiu/AliOS-Things
components/py_engine/engine/py/asmthumb.c
C
apache-2.0
21,518
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2013, 2014 Damien P. George * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * i...
YifuLiu/AliOS-Things
components/py_engine/engine/py/asmthumb.h
C
apache-2.0
19,125
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2013, 2014 Damien P. George * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * i...
YifuLiu/AliOS-Things
components/py_engine/engine/py/asmx64.c
C
apache-2.0
23,502
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2013, 2014 Damien P. George * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * i...
YifuLiu/AliOS-Things
components/py_engine/engine/py/asmx64.h
C
apache-2.0
10,546
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2014 Damien P. George * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the ...
YifuLiu/AliOS-Things
components/py_engine/engine/py/asmx86.c
C
apache-2.0
19,404
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2014 Damien P. George * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the ...
YifuLiu/AliOS-Things
components/py_engine/engine/py/asmx86.h
C
apache-2.0
10,407
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2016 Damien P. George * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the ...
YifuLiu/AliOS-Things
components/py_engine/engine/py/asmxtensa.c
C
apache-2.0
9,621
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2016 Damien P. George * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the ...
YifuLiu/AliOS-Things
components/py_engine/engine/py/asmxtensa.h
C
apache-2.0
17,944
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2014 Damien P. George * Copyright (c) 2014 Paul Sokolovsky * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation file...
YifuLiu/AliOS-Things
components/py_engine/engine/py/bc.c
C
apache-2.0
13,590