/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | puremodule.c | 63 call_voidarg_function(VoidArgFunc func, PyObject *self, PyObject *args) in call_voidarg_function() argument 67 if (!PyArg_ParseTuple(args, "")) in call_voidarg_function() 75 call_stringarg_function(StringArgFunc func, PyObject *self, PyObject *args) in call_stringarg_function() argument 80 if (!PyArg_ParseTuple(args, "s", &stringarg)) in call_stringarg_function() 88 call_stringorint_function(StringArgFunc func, PyObject *self, PyObject *args) in call_stringorint_function() argument 99 if (PyArg_ParseTuple(args, "i", &intarg)) in call_stringorint_function() 107 if (!PyArg_ParseTuple(args, "s", &stringarg)) in call_stringorint_function() 116 call_printfish_function(PrintfishFunc func, PyObject *self, PyObject *args) in call_printfish_function() argument 125 if (!PyArg_ParseTuple(args, "s", &argstring)) in call_printfish_function() 133 call_intasaddr_function(StringArgFunc func, PyObject *self, PyObject *args) in call_intasaddr_function() argument [all …]
|
D | flmodule.c | 149 generic_set_call_back(genericobject *g, PyObject *args) in generic_set_call_back() argument 151 if (PyTuple_GET_SIZE(args) == 0) { in generic_set_call_back() 159 if (!PyArg_UnpackTuple(args, "set_call_back", 2, 2, &a, &b)) in generic_set_call_back() 241 generic_set_object_shortcut(genericobject *g, PyObject *args) in generic_set_object_shortcut() argument 244 if (!PyArg_ParseTuple(args, "s:set_object_shortcut", &str)) in generic_set_object_shortcut() 410 call_forms_INf (void (*func)(FL_OBJECT *, float), FL_OBJECT *obj, PyObject *args) in call_forms_INf() argument 414 if (!PyArg_Parse(args, "f", ¶meter)) return NULL; in call_forms_INf() 424 call_forms_INfINf (void (*func)(FL_OBJECT *, float, float), FL_OBJECT *obj, PyObject *args) in call_forms_INfINf() argument 428 if (!PyArg_Parse(args, "(ff)", &par1, &par2)) return NULL; in call_forms_INfINf() 438 call_forms_INi (void (*func)(FL_OBJECT *, int), FL_OBJECT *obj, PyObject *args) in call_forms_INi() argument [all …]
|
D | _functoolsmodule.c | 15 functools_reduce(PyObject *self, PyObject *args) in functools_reduce() argument 19 if (!PyArg_UnpackTuple(args, "reduce", 2, 3, &func, &seq, &result)) in functools_reduce() 32 if ((args = PyTuple_New(2)) == NULL) in functools_reduce() 38 if (args->ob_refcnt > 1) { in functools_reduce() 39 Py_DECREF(args); in functools_reduce() 40 if ((args = PyTuple_New(2)) == NULL) in functools_reduce() 54 PyTuple_SetItem(args, 0, result); in functools_reduce() 55 PyTuple_SetItem(args, 1, op2); in functools_reduce() 56 if ((result = PyEval_CallObject(func, args)) == NULL) in functools_reduce() 61 Py_DECREF(args); in functools_reduce() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | getopt.py | 51 def getopt(args, shortopts, longopts = []): argument 83 while args and args[0].startswith('-') and args[0] != '-': 84 if args[0] == '--': 85 args = args[1:] 87 if args[0].startswith('--'): 88 opts, args = do_longs(opts, args[0][2:], longopts, args[1:]) 90 opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:]) 92 return opts, args 94 def gnu_getopt(args, shortopts, longopts = []): argument 125 while args: [all …]
|
D | string.py | 148 def substitute(self, *args, **kws): argument 149 if len(args) > 1: 151 if not args: 154 mapping = _multimap(kws, args[0]) 156 mapping = args[0] 174 def safe_substitute(self, *args, **kws): argument 175 if len(args) > 1: 177 if not args: 180 mapping = _multimap(kws, args[0]) 182 mapping = args[0] [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | getopt.py | 51 def getopt(args, shortopts, longopts = []): argument 83 while args and args[0].startswith('-') and args[0] != '-': 84 if args[0] == '--': 85 args = args[1:] 87 if args[0].startswith('--'): 88 opts, args = do_longs(opts, args[0][2:], longopts, args[1:]) 90 opts, args = do_shorts(opts, args[0][1:], shortopts, args[1:]) 92 return opts, args 94 def gnu_getopt(args, shortopts, longopts = []): argument 125 while args: [all …]
|
D | string.py | 148 def substitute(*args, **kws): argument 149 if not args: 152 self, args = args[0], args[1:] # allow the "self" keyword be passed 153 if len(args) > 1: 155 if not args: 158 mapping = _multimap(kws, args[0]) 160 mapping = args[0] 178 def safe_substitute(*args, **kws): argument 179 if not args: 182 self, args = args[0], args[1:] # allow the "self" keyword be passed [all …]
|
/device/google/contexthub/firmware/os/core/ |
D | osApi.c | 35 static void osExpApiEvtqSubscribe(uintptr_t *retValP, va_list args) in osExpApiEvtqSubscribe() argument 37 (void)va_arg(args, uint32_t); // tid in osExpApiEvtqSubscribe() 38 uint32_t evtType = va_arg(args, uint32_t); in osExpApiEvtqSubscribe() 43 static void osExpApiEvtqUnsubscribe(uintptr_t *retValP, va_list args) in osExpApiEvtqUnsubscribe() argument 45 (void)va_arg(args, uint32_t); // tid in osExpApiEvtqUnsubscribe() 46 uint32_t evtType = va_arg(args, uint32_t); in osExpApiEvtqUnsubscribe() 51 static void osExpApiEvtqEnqueue(uintptr_t *retValP, va_list args) in osExpApiEvtqEnqueue() argument 53 uint32_t evtType = va_arg(args, uint32_t); in osExpApiEvtqEnqueue() 54 void *evtData = va_arg(args, void*); in osExpApiEvtqEnqueue() 55 uint32_t tid = va_arg(args, uint32_t); in osExpApiEvtqEnqueue() [all …]
|
D | nanohub_chre.c | 61 static void osChreApiGetAppId(uintptr_t *retValP, va_list args) in osChreApiGetAppId() argument 63 uint64_t *appId = va_arg(args, uint64_t *); in osChreApiGetAppId() 68 static void osChreApiGetInstanceId(uintptr_t *retValP, va_list args) in osChreApiGetInstanceId() argument 73 static void osChreApiLogLogv(uintptr_t *retValP, va_list args) in osChreApiLogLogv() argument 76 enum chreLogLevel level = va_arg(args, int /* enums promoted to ints in va_args in C */); in osChreApiLogLogv() 79 const char *str = va_arg(args, const char*); in osChreApiLogLogv() 80 uintptr_t inner = va_arg(args, uintptr_t); in osChreApiLogLogv() 87 static void osChreApiLogLogvOld(uintptr_t *retValP, va_list args) in osChreApiLogLogvOld() argument 90 enum chreLogLevel level = va_arg(args, int /* enums promoted to ints in va_args in C */); in osChreApiLogLogvOld() 93 const char *str = va_arg(args, const char*); in osChreApiLogLogvOld() [all …]
|
/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera_dbg.h | 66 #define CLOGx(module, level, fmt, args...) \ argument 69 mm_camera_debug_log(module, level, __func__, __LINE__, fmt, ##args); \ 74 #define CLOGI(module, fmt, args...) \ argument 75 CLOGx(module, CAM_GLBL_DBG_INFO, fmt, ##args) 77 #define CLOGD(module, fmt, args...) \ argument 78 CLOGx(module, CAM_GLBL_DBG_DEBUG, fmt, ##args) 80 #define CLOGL(module, fmt, args...) \ argument 81 CLOGx(module, CAM_GLBL_DBG_LOW, fmt, ##args) 83 #define CLOGW(module, fmt, args...) \ argument 84 CLOGx(module, CAM_GLBL_DBG_WARN, fmt, ##args) [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/framer/framer/ |
D | function.py | 47 def __init__(self, args): argument 48 self.args = map(Argument, args) 51 return len(self.args) 54 return self.args[i] 61 def __init__(self, args): argument 62 assert len(args) == 0 63 super(NoArgs, self).__init__(args) 71 def __init__(self, args): argument 72 assert len(args) == 1 73 super(OneArg, self).__init__(args) [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Rsa2048Sha256Sign/ |
D | Rsa2048Sha256Sign.py | 78 args = parser.parse_args() variable 108 args.InputFileName = args.InputFile.name 109 args.InputFileBuffer = args.InputFile.read() 110 args.InputFile.close() 115 OutputDir = os.path.dirname(args.OutputFile) 119 args.OutputFileName = args.OutputFile 125 args.PrivateKeyFileName = args.PrivateKeyFile.name 126 args.PrivateKeyFile.close() 140 …args.PrivateKeyFileName = os.path.join(os.path.dirname(os.path.realpath(RsaToolPath)), TEST_SIGNIN… 141 args.PrivateKeyFile = open(args.PrivateKeyFileName, 'rb') [all …]
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/inc/ |
D | mm_qcamera_dbg.h | 47 #define CDBG(fmt, args...) do{}while(0) argument 48 #define CDBG_ERROR(fmt, args...) ALOGE(fmt, ##args) argument 56 #define CDBG(fmt, args...) ALOGE(fmt, ##args) argument 59 #define CDBG(fmt, args...) fprintf(stderr, fmt, ##args) argument 60 #define ALOGE(fmt, args...) fprintf(stderr, fmt, ##args) argument 65 #define CDBG_HIGH(fmt, args...) ALOGE(fmt, ##args) argument 66 #define CDBG_ERROR(fmt, args...) ALOGE(fmt, ##args) argument 68 #define CDBG_HIGH(fmt, args...) fprintf(stderr, fmt, ##args) argument 69 #define CDBG_ERROR(fmt, args...) fprintf(stderr, fmt, ##args) argument
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/inc/ |
D | mm_qcamera_dbg.h | 47 #define CDBG(fmt, args...) do{}while(0) argument 48 #define CDBG_ERROR(fmt, args...) ALOGE(fmt, ##args) argument 56 #define CDBG(fmt, args...) ALOGE(fmt, ##args) argument 59 #define CDBG(fmt, args...) fprintf(stderr, fmt, ##args) argument 60 #define ALOGE(fmt, args...) fprintf(stderr, fmt, ##args) argument 65 #define CDBG_HIGH(fmt, args...) ALOGE(fmt, ##args) argument 66 #define CDBG_ERROR(fmt, args...) ALOGE(fmt, ##args) argument 68 #define CDBG_HIGH(fmt, args...) fprintf(stderr, fmt, ##args) argument 69 #define CDBG_ERROR(fmt, args...) fprintf(stderr, fmt, ##args) argument
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera_dbg.h | 52 #define CDBG(fmt, args...) do{}while(0) argument 53 #define CDBG_ERROR(fmt, args...) ALOGE(fmt, ##args) argument 61 #define CDBG(fmt, args...) ALOGD_IF(gMmCameraIntfLogLevel >= 2, fmt, ##args) argument 64 #define CDBG(fmt, args...) fprintf(stderr, fmt, ##args) argument 65 #define ALOGE(fmt, args...) fprintf(stderr, fmt, ##args) argument 70 #define CDBG_HIGH(fmt, args...) ALOGD_IF(gMmCameraIntfLogLevel >= 1, fmt, ##args) argument 71 #define CDBG_ERROR(fmt, args...) ALOGE(fmt, ##args) argument 73 #define CDBG_HIGH(fmt, args...) fprintf(stderr, fmt, ##args) argument 74 #define CDBG_ERROR(fmt, args...) fprintf(stderr, fmt, ##args) argument
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera_dbg.h | 52 #define CDBG(fmt, args...) do{}while(0) argument 53 #define CDBG_ERROR(fmt, args...) ALOGE(fmt, ##args) argument 61 #define CDBG(fmt, args...) ALOGD_IF(gMmCameraIntfLogLevel >= 2, fmt, ##args) argument 64 #define CDBG(fmt, args...) fprintf(stderr, fmt, ##args) argument 65 #define ALOGE(fmt, args...) fprintf(stderr, fmt, ##args) argument 70 #define CDBG_HIGH(fmt, args...) ALOGD_IF(gMmCameraIntfLogLevel >= 1, fmt, ##args) argument 71 #define CDBG_ERROR(fmt, args...) ALOGE(fmt, ##args) argument 73 #define CDBG_HIGH(fmt, args...) fprintf(stderr, fmt, ##args) argument 74 #define CDBG_ERROR(fmt, args...) fprintf(stderr, fmt, ##args) argument
|
/device/google/contexthub/util/nanotool/ |
D | nanotool.cpp | 162 static bool ValidateArgs(std::unique_ptr<ParsedArgs>& args, const char *name) { in ValidateArgs() argument 163 if (!args->sensors.size() in ValidateArgs() 164 && (args->command == NanotoolCommand::Disable in ValidateArgs() 165 || args->command == NanotoolCommand::Calibrate in ValidateArgs() 166 || args->command == NanotoolCommand::Test in ValidateArgs() 167 || args->command == NanotoolCommand::Poll)) { in ValidateArgs() 174 if (args->command == NanotoolCommand::Flash in ValidateArgs() 175 && args->filename.empty()) { in ValidateArgs() 182 if (args->command == NanotoolCommand::Poll) { in ValidateArgs() 183 for (unsigned int i = 0; i < args->sensors.size(); i++) { in ValidateArgs() [all …]
|
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
D | mm_jpeg_dbg.h | 54 #define CDBG(fmt, args...) do{}while(0) argument 62 #define CDBG(fmt, args...) ALOGD_IF(gMmJpegIntfLogLevel >= 2, fmt, ##args) argument 65 #define CDBG(fmt, args...) fprintf(stderr, fmt, ##args) argument 66 #define ALOGE(fmt, args...) fprintf(stderr, fmt, ##args) argument 71 #define CDBG_HIGH(fmt, args...) ALOGD_IF(gMmJpegIntfLogLevel >= 1, fmt, ##args) argument 72 #define CDBG_ERROR(fmt, args...) ALOGE(fmt, ##args) argument 74 #define CDBG_HIGH(fmt, args...) fprintf(stderr, fmt, ##args) argument 75 #define CDBG_ERROR(fmt, args...) fprintf(stderr, fmt, ##args) argument
|
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
D | mm_jpeg_dbg.h | 54 #define CDBG(fmt, args...) do{}while(0) argument 62 #define CDBG(fmt, args...) ALOGD_IF(gMmJpegIntfLogLevel >= 2, fmt, ##args) argument 65 #define CDBG(fmt, args...) fprintf(stderr, fmt, ##args) argument 66 #define ALOGE(fmt, args...) fprintf(stderr, fmt, ##args) argument 71 #define CDBG_HIGH(fmt, args...) ALOGD_IF(gMmJpegIntfLogLevel >= 1, fmt, ##args) argument 72 #define CDBG_ERROR(fmt, args...) ALOGE(fmt, ##args) argument 74 #define CDBG_HIGH(fmt, args...) fprintf(stderr, fmt, ##args) argument 75 #define CDBG_ERROR(fmt, args...) fprintf(stderr, fmt, ##args) argument
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_getopt.py | 21 def assertError(self, *args, **kwargs): argument 22 self.assertRaises(getopt.GetoptError, *args, **kwargs) 47 opts, args = getopt.do_shorts([], 'a', 'a', []) 49 self.assertEqual(args, []) 51 opts, args = getopt.do_shorts([], 'a1', 'a:', []) 53 self.assertEqual(args, []) 59 opts, args = getopt.do_shorts([], 'a', 'a:', ['1']) 61 self.assertEqual(args, []) 63 opts, args = getopt.do_shorts([], 'a', 'a:', ['1', '2']) 65 self.assertEqual(args, ['2']) [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
D | texi2html.py | 337 def write(self, *args): argument 339 text = ''.join(args) 341 print args 552 def do_include(self, args): argument 553 file = args 701 args = [s.strip() for s in text.split(',')] 702 while len(args) < 3: args.append('') 703 node = args[0] 704 file = args[2] 709 args = [s.strip() for s in text.split(',')] [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/ |
D | log.py | 19 def _log(self, level, msg, args): argument 24 if args: 25 msg = msg % args 33 def log(self, level, msg, *args): argument 34 self._log(level, msg, args) 36 def debug(self, msg, *args): argument 37 self._log(DEBUG, msg, args) 39 def info(self, msg, *args): argument 40 self._log(INFO, msg, args) 42 def warn(self, msg, *args): argument [all …]
|
/device/linaro/hikey/uefi-tools/ |
D | parse-platforms.py | 14 if args.platform: 16 value = config.get(args.platform, "EXTRA_FILES") 21 value = config.get(args.platform, "BUILD_ATF") 27 value = config.get(args.platform, "UEFI_BIN") 38 if args.platform: 39 if args.option: 41 value = config.get(args.platform, args.option) 59 args = parser.parse_args() variable 60 if args.config_file: 61 config_filename = args.config_file [all …]
|
/device/linaro/hikey/installer/hikey960/ |
D | mkdtimg | 85 def write_head_info(head_info, args): argument 86 args.output.write(pack(dt_head_info_fmt, 91 def write_dtb_entry_t(dt_entry, args): argument 92 args.output.write(pack(dt_entry_fmt, 101 def write_padding(args, padding): argument 103 args.output.write('\x00') 105 def write_dtb(args): argument 106 dtb_file = args.dtb 108 if args.compress == True: 114 padding = align_page_size(dtb_offset, args.pagesize) [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
D | _functoolsmodule.c | 15 functools_reduce(PyObject *self, PyObject *args) in functools_reduce() argument 19 if (!PyArg_UnpackTuple(args, "reduce", 2, 3, &func, &seq, &result)) in functools_reduce() 32 if ((args = PyTuple_New(2)) == NULL) in functools_reduce() 38 if (args->ob_refcnt > 1) { in functools_reduce() 39 Py_DECREF(args); in functools_reduce() 40 if ((args = PyTuple_New(2)) == NULL) in functools_reduce() 54 PyTuple_SetItem(args, 0, result); in functools_reduce() 55 PyTuple_SetItem(args, 1, op2); in functools_reduce() 56 if ((result = PyEval_CallObject(func, args)) == NULL) in functools_reduce() 61 Py_DECREF(args); in functools_reduce() [all …]
|