/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/ |
D | decoder.py | 36 def errmsg(msg, doc, pos, end=None): argument 39 if end is None: 44 endlineno, endcolno = linecol(doc, end) 46 return fmt.format(msg, lineno, colno, endlineno, endcolno, pos, end) 75 def py_scanstring(s, end, encoding=None, strict=True, argument 89 begin = end - 1 91 chunk = _m(s, end) 95 end = chunk.end() 110 raise ValueError(errmsg(msg, s, end)) 115 esc = s[end] [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/ |
D | decoder.py | 36 def errmsg(msg, doc, pos, end=None): argument 39 if end is None: 44 endlineno, endcolno = linecol(doc, end) 46 return fmt.format(msg, lineno, colno, endlineno, endcolno, pos, end) 65 def py_scanstring(s, end, encoding=None, strict=True, argument 79 begin = end - 1 81 chunk = _m(s, end) 85 end = chunk.end() 100 raise ValueError(errmsg(msg, s, end)) 105 esc = s[end] [all …]
|
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_dual_test.c | 90 goto end; in mm_app_dtc_0() 95 goto end; in mm_app_dtc_0() 102 goto end; in mm_app_dtc_0() 108 goto end; in mm_app_dtc_0() 114 goto end; in mm_app_dtc_0() 122 goto end; in mm_app_dtc_0() 130 goto end; in mm_app_dtc_0() 138 goto end; in mm_app_dtc_0() 144 goto end; in mm_app_dtc_0() 151 goto end; in mm_app_dtc_0() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_print.py | 22 lambda args, sep, end, file: print(*args), 24 lambda args, sep, end, file: print(file=file, *args), 26 lambda args, sep, end, file: print(end=end, *args), 28 lambda args, sep, end, file: print(end=end, file=file, *args), 30 lambda args, sep, end, file: print(sep=sep, *args), 32 lambda args, sep, end, file: print(sep=sep, file=file, *args), 34 lambda args, sep, end, file: print(sep=sep, end=end, *args), 36 lambda args, sep, end, file: print(sep=sep, end=end, file=file, *args), 48 sep=NotDefined, end=NotDefined, file=NotDefined): argument 56 end is not NotDefined, [all …]
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_dual_test.c | 93 goto end; in mm_app_dtc_0() 98 goto end; in mm_app_dtc_0() 105 goto end; in mm_app_dtc_0() 111 goto end; in mm_app_dtc_0() 117 goto end; in mm_app_dtc_0() 125 goto end; in mm_app_dtc_0() 133 goto end; in mm_app_dtc_0() 141 goto end; in mm_app_dtc_0() 147 goto end; in mm_app_dtc_0() 154 goto end; in mm_app_dtc_0() [all …]
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_dual_test.c | 93 goto end; in mm_app_dtc_0() 98 goto end; in mm_app_dtc_0() 105 goto end; in mm_app_dtc_0() 111 goto end; in mm_app_dtc_0() 117 goto end; in mm_app_dtc_0() 125 goto end; in mm_app_dtc_0() 133 goto end; in mm_app_dtc_0() 141 goto end; in mm_app_dtc_0() 147 goto end; in mm_app_dtc_0() 154 goto end; in mm_app_dtc_0() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/expat/ |
D | xmltok_impl.c | 11 if (end - ptr < n) \ 30 #define CHECK_NAME_CASE(n, enc, ptr, end, nextTokPtr) \ argument 32 if (end - ptr < n) \ 41 #define CHECK_NAME_CASES(enc, ptr, end, nextTokPtr) \ argument 54 CHECK_NAME_CASE(2, enc, ptr, end, nextTokPtr) \ 55 CHECK_NAME_CASE(3, enc, ptr, end, nextTokPtr) \ 56 CHECK_NAME_CASE(4, enc, ptr, end, nextTokPtr) 58 #define CHECK_NMSTRT_CASE(n, enc, ptr, end, nextTokPtr) \ argument 60 if (end - ptr < n) \ 69 #define CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr) \ argument [all …]
|
D | xmltok.h | 155 const char *end, 159 const char *end, 198 #define XmlTok(enc, state, ptr, end, nextTokPtr) \ argument 199 (((enc)->scanners[state])(enc, ptr, end, nextTokPtr)) 201 #define XmlPrologTok(enc, ptr, end, nextTokPtr) \ argument 202 XmlTok(enc, XML_PROLOG_STATE, ptr, end, nextTokPtr) 204 #define XmlContentTok(enc, ptr, end, nextTokPtr) \ argument 205 XmlTok(enc, XML_CONTENT_STATE, ptr, end, nextTokPtr) 207 #define XmlCdataSectionTok(enc, ptr, end, nextTokPtr) \ argument 208 XmlTok(enc, XML_CDATA_SECTION_STATE, ptr, end, nextTokPtr) [all …]
|
D | xmlrole.c | 98 const char *end, 125 const char *end, in prolog0() argument 146 end, in prolog0() 162 const char *end, in prolog1() argument 177 end, in prolog1() 193 const char *end, in prolog2() argument 214 const char *end, in doctype0() argument 232 const char *end, in doctype1() argument 245 if (XmlNameMatchesAscii(enc, ptr, end, KW_SYSTEM)) { in doctype1() 249 if (XmlNameMatchesAscii(enc, ptr, end, KW_PUBLIC)) { in doctype1() [all …]
|
D | xmltok_ns.c | 33 NS(initScanProlog)(const ENCODING *enc, const char *ptr, const char *end, in NS() 37 XML_PROLOG_STATE, ptr, end, nextTokPtr); in NS() 41 NS(initScanContent)(const ENCODING *enc, const char *ptr, const char *end, in NS() 45 XML_CONTENT_STATE, ptr, end, nextTokPtr); in NS() 65 NS(findEncoding)(const ENCODING *enc, const char *ptr, const char *end) in NS() 71 XmlUtf8Convert(enc, &ptr, end, &p, p + ENCODING_MAX - 1); in NS() 72 if (ptr != end) in NS() 87 const char *end, in NS() 99 end, in NS()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/expat/ |
D | xmltok_impl.c | 14 if (end - ptr < n) \ 33 #define CHECK_NAME_CASE(n, enc, ptr, end, nextTokPtr) \ argument 35 if (end - ptr < n) \ 44 #define CHECK_NAME_CASES(enc, ptr, end, nextTokPtr) \ argument 57 CHECK_NAME_CASE(2, enc, ptr, end, nextTokPtr) \ 58 CHECK_NAME_CASE(3, enc, ptr, end, nextTokPtr) \ 59 CHECK_NAME_CASE(4, enc, ptr, end, nextTokPtr) 61 #define CHECK_NMSTRT_CASE(n, enc, ptr, end, nextTokPtr) \ argument 63 if (end - ptr < n) \ 72 #define CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr) \ argument [all …]
|
D | xmltok.h | 155 const char *end, 159 const char *end, 198 #define XmlTok(enc, state, ptr, end, nextTokPtr) \ argument 199 (((enc)->scanners[state])(enc, ptr, end, nextTokPtr)) 201 #define XmlPrologTok(enc, ptr, end, nextTokPtr) \ argument 202 XmlTok(enc, XML_PROLOG_STATE, ptr, end, nextTokPtr) 204 #define XmlContentTok(enc, ptr, end, nextTokPtr) \ argument 205 XmlTok(enc, XML_CONTENT_STATE, ptr, end, nextTokPtr) 207 #define XmlCdataSectionTok(enc, ptr, end, nextTokPtr) \ argument 208 XmlTok(enc, XML_CDATA_SECTION_STATE, ptr, end, nextTokPtr) [all …]
|
D | xmlrole.c | 104 const char *end, 131 const char *end, in prolog0() argument 152 end, in prolog0() 168 const char *end, in prolog1() argument 183 end, in prolog1() 199 const char *end, in prolog2() argument 220 const char *end, in doctype0() argument 238 const char *end, in doctype1() argument 251 if (XmlNameMatchesAscii(enc, ptr, end, KW_SYSTEM)) { in doctype1() 255 if (XmlNameMatchesAscii(enc, ptr, end, KW_PUBLIC)) { in doctype1() [all …]
|
D | xmltok_ns.c | 40 NS(initScanProlog)(const ENCODING *enc, const char *ptr, const char *end, in NS() 44 XML_PROLOG_STATE, ptr, end, nextTokPtr); in NS() 48 NS(initScanContent)(const ENCODING *enc, const char *ptr, const char *end, in NS() 52 XML_CONTENT_STATE, ptr, end, nextTokPtr); in NS() 72 NS(findEncoding)(const ENCODING *enc, const char *ptr, const char *end) in NS() 78 XmlUtf8Convert(enc, &ptr, end, &p, p + ENCODING_MAX - 1); in NS() 79 if (ptr != end) in NS() 94 const char *end, in NS() 106 end, in NS()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/ |
D | find.h | 51 #define ADJUST_INDICES(start, end, len) \ argument 52 if (end > len) \ 53 end = len; \ 54 else if (end < 0) { \ 55 end += len; \ 56 if (end < 0) \ 57 end = 0; \ 68 Py_ssize_t start, Py_ssize_t end) in stringlib_find_slice() argument 70 ADJUST_INDICES(start, end, str_len); in stringlib_find_slice() 71 return stringlib_find(str + start, end - start, sub, sub_len, start); in stringlib_find_slice() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/ |
D | find.h | 51 #define ADJUST_INDICES(start, end, len) \ argument 52 if (end > len) \ 53 end = len; \ 54 else if (end < 0) { \ 55 end += len; \ 56 if (end < 0) \ 57 end = 0; \ 68 Py_ssize_t start, Py_ssize_t end) in stringlib_find_slice() argument 70 ADJUST_INDICES(start, end, str_len); in stringlib_find_slice() 71 return stringlib_find(str + start, end - start, sub, sub_len, start); in stringlib_find_slice() [all …]
|
/device/generic/goldfish/gps/ |
D | gps_qemu.c | 60 const char* end; member 71 nmea_tokenizer_init( NmeaTokenizer* t, const char* p, const char* end ) in nmea_tokenizer_init() argument 77 if (p < end && p[0] == '$') in nmea_tokenizer_init() 81 if (end > p && end[-1] == '\n') { in nmea_tokenizer_init() 82 end -= 1; in nmea_tokenizer_init() 83 if (end > p && end[-1] == '\r') in nmea_tokenizer_init() 84 end -= 1; in nmea_tokenizer_init() 88 if (end >= p+3 && end[-3] == '*') { in nmea_tokenizer_init() 89 end -= 3; in nmea_tokenizer_init() 92 while (p < end) { in nmea_tokenizer_init() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/ |
D | PCCTSAST.cpp | 278 PCCTS_AST *end; in insert_after() local 281 for (end=b; end->right()!=NULL; end=end->right()) {;} in insert_after() 282 end->setRight(this->right()); in insert_after() 289 PCCTS_AST *end; in append() local 292 for (end=this; end->right()!=NULL; end=end->right()) {;} in append() 293 end->setRight(b); in append() 299 PCCTS_AST *end; in tail() local 301 for (end=this; end->right()!=NULL; end=end->right()) {;} in tail() 302 return end; in tail() 308 PCCTS_AST *end; in bottom() local [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | UserString.py | 39 def __getslice__(self, start, end): argument 40 start = max(start, 0); end = max(end, 0) 41 return self.__class__(self.data[start:end]) 65 def count(self, sub, start=0, end=sys.maxint): argument 66 return self.data.count(sub, start, end) 83 def endswith(self, suffix, start=0, end=sys.maxint): argument 84 return self.data.endswith(suffix, start, end) 87 def find(self, sub, start=0, end=sys.maxint): argument 88 return self.data.find(sub, start, end) 89 def index(self, sub, start=0, end=sys.maxint): argument [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/ |
D | regexec.c | 37 #define ONIGENC_IS_MBC_CRNL(enc,p,end) \ argument 38 (ONIGENC_MBC_TO_CODE(enc,p,end) == 13 && \ 39 ONIGENC_IS_MBC_NEWLINE(enc,(p+enclen(enc,p)),end)) 61 node->end = ONIG_REGION_NOTPOS; in history_tree_clear() 94 node->end = ONIG_REGION_NOTPOS; in history_node_new() 141 clone->end = node->end; in history_tree_clone() 167 region->beg[i] = region->end[i] = ONIG_REGION_NOTPOS; in onig_region_clear() 184 region->end = (int* )xmalloc(n * sizeof(int)); in onig_region_resize() 186 if (region->beg == 0 || region->end == 0) in onig_region_resize() 193 region->end = (int* )xrealloc(region->end, n * sizeof(int), region->allocated * sizeof(int)); in onig_region_resize() [all …]
|
D | regenc.h | 116 …des_by_str P_((OnigCaseFoldType flag, const OnigUChar* p, const OnigUChar* end, OnigCaseFoldCodeIt… 118 …ss_tsett_flag, OnigCaseFoldType flag, const OnigUChar* p, const OnigUChar* end, OnigCaseFoldCodeIt… 120 ONIG_EXTERN int onigenc_is_mbc_newline_0x0a P_((const UChar* p, const UChar* end)); 124 …c_ascii_mbc_case_fold P_((OnigCaseFoldType flag, const UChar** p, const UChar* end, UChar* lower)); 126 ONIG_EXTERN OnigCodePoint onigenc_single_byte_mbc_to_code P_((const UChar* p, const UChar* end)); 130 ONIG_EXTERN int onigenc_always_true_is_allowed_reverse_match P_((const UChar* s, const UChar* end)); 131 ONIG_EXTERN int onigenc_always_false_is_allowed_reverse_match P_((const UChar* s, const UChar* end)… 134 …ERN OnigCodePoint onigenc_mbn_mbc_to_code P_((OnigEncoding enc, const UChar* p, const UChar* end)); 135 …old P_((OnigEncoding enc, OnigCaseFoldType flag, const UChar** p, const UChar* end, UChar* lower)); 138 ONIG_EXTERN int onigenc_minimum_property_name_to_ctype P_((OnigEncoding enc, UChar* p, UChar* end)); [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
D | codecs.c | 474 Py_ssize_t end; in PyCodec_IgnoreErrors() local 476 if (PyUnicodeEncodeError_GetEnd(exc, &end)) in PyCodec_IgnoreErrors() 480 if (PyUnicodeDecodeError_GetEnd(exc, &end)) in PyCodec_IgnoreErrors() 484 if (PyUnicodeTranslateError_GetEnd(exc, &end)) in PyCodec_IgnoreErrors() 492 return Py_BuildValue("(u#n)", &end, 0, end); in PyCodec_IgnoreErrors() 500 Py_ssize_t end; in PyCodec_ReplaceErrors() local 508 if (PyUnicodeEncodeError_GetEnd(exc, &end)) in PyCodec_ReplaceErrors() 510 res = PyUnicode_FromUnicode(NULL, end-start); in PyCodec_ReplaceErrors() 514 i<end; ++p, ++i) in PyCodec_ReplaceErrors() 516 restuple = Py_BuildValue("(On)", res, end); in PyCodec_ReplaceErrors() [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/ |
D | PCCTSAST.cpp | 292 PCCTS_AST *end; in insert_after() local 295 for (end=b; end->right()!=NULL; end=end->right()) {;} in insert_after() 296 end->setRight(this->right()); in insert_after() 303 PCCTS_AST *end; in append() local 306 for (end=this; end->right()!=NULL; end=end->right()) {;} in append() 307 end->setRight(b); in append() 313 PCCTS_AST *end; in tail() local 315 for (end=this; end->right()!=NULL; end=end->right()) {;} in tail() 316 return end; in tail() 322 PCCTS_AST *end; in bottom() local [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/ |
D | util.py | 342 end = m.end() 343 if end == len(s): 344 words.append(s[:end]) 347 if s[end] in string.whitespace: # unescaped, unquoted whitespace: now 348 words.append(s[:end]) # we definitely have a word delimiter 349 s = string.lstrip(s[end:]) 352 elif s[end] == '\\': # preserve whatever is being escaped; 354 s = s[:end] + s[end+1:] 355 pos = end+1 358 if s[end] == "'": # slurp singly-quoted string [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/sorcerer/lib/ |
D | astlib.c | 367 SORAST *end; local 371 for (end=b; end->ast_right!=NULL; end=end->ast_right) {;} 372 end->ast_right = a->ast_right; 384 SORAST *end; local 387 for (end=a; end->ast_right!=NULL; end=end->ast_right) {;} 388 end->ast_right = b; 399 SORAST *end; local 402 for (end=a; end->ast_right!=NULL; end=end->ast_right) {;} 403 return end; 414 SORAST *end; local [all …]
|