| /lib/ |
| A D | charset.c | 60 if ((code >= 0xD800 && code <= 0xDFFF) || in get_code() 74 ch += code; in get_code() 148 if ((code >= 0xD800 && code <= 0xDFFF) || code >= 0x110000) in utf8_put() 220 if (code >= 0xDC00 && code <= 0xDFFF) in utf16_get() 222 if (code >= 0xD800 && code <= 0xDBFF) { in utf16_get() 242 if ((code >= 0xD800 && code <= 0xDFFF) || code >= 0x110000) in utf16_put() 320 if (code >= 'A' && code <= 'Z') in utf_to_lower() 339 if (code >= 'a' && code <= 'z') in utf_to_upper() 469 if (code >= 0xDC00 && code <= 0xDFFF) { in utf16_to_utf8() 491 } else if (code >= 0xD800 && code <= 0xDBFF) { in utf16_to_utf8() [all …]
|
| A D | slre.c | 127 op = r->code[pc]; in slre_dump() 143 r->code[pc + 1], r->code[pc + 2]); in slre_dump() 181 if (r->code_size >= (int) (sizeof(r->code) / sizeof(r->code[0]))) in emit() 184 r->code[r->code_size++] = (unsigned char) code; in emit() 294 memmove(r->code + begin + shift, r->code + begin, r->code_size - begin); in relocate() 301 if (r->code[prev] == EXACT && r->code[prev + 2] > 1) { in quantifier() 302 r->code[prev + 2]--; in quantifier() 304 emit(r, r->code[prev + 1] + r->code[prev + 2]); in quantifier() 309 r->code[prev] = op; in quantifier() 544 assert(pc < (int) (sizeof(r->code) / sizeof(r->code[0]))); in match() [all …]
|
| /lib/zstd/common/ |
| A D | zstd_common.c | 33 unsigned ZSTD_isError(size_t code) { return ERR_isError(code); } in ZSTD_isError() argument 37 const char* ZSTD_getErrorName(size_t code) { return ERR_getErrorName(code); } in ZSTD_getErrorName() argument 41 ZSTD_ErrorCode ZSTD_getErrorCode(size_t code) { return ERR_getErrorCode(code); } in ZSTD_getErrorCode() argument 45 const char* ZSTD_getErrorString(ZSTD_ErrorCode code) { return ERR_getErrorString(code); } in ZSTD_getErrorString() argument
|
| A D | error_private.h | 42 ERR_STATIC unsigned ERR_isError(size_t code) { return (code > ERROR(maxCode)); } in ERR_isError() argument 44 …ATIC ERR_enum ERR_getErrorCode(size_t code) { if (!ERR_isError(code)) return (ERR_enum)0; return (… in ERR_getErrorCode() argument 54 const char* ERR_getErrorString(ERR_enum code); /* error_private.c */ 56 ERR_STATIC const char* ERR_getErrorName(size_t code) in ERR_getErrorName() argument 58 return ERR_getErrorString(ERR_getErrorCode(code)); in ERR_getErrorName()
|
| A D | entropy_common.c | 29 unsigned FSE_isError(size_t code) { return ERR_isError(code); } in FSE_isError() argument 30 const char* FSE_getErrorName(size_t code) { return ERR_getErrorName(code); } in FSE_getErrorName() argument 32 unsigned HUF_isError(size_t code) { return ERR_isError(code); } in HUF_isError() argument 33 const char* HUF_getErrorName(size_t code) { return ERR_getErrorName(code); } in HUF_getErrorName() argument
|
| /lib/efi_selftest/ |
| A D | efi_selftest_util.c | 13 u16 code; member 79 u16 *efi_st_translate_char(u16 code) in efi_st_translate_char() argument 83 if (code >= ' ') { in efi_st_translate_char() 84 efi_st_ch[1] = code; in efi_st_translate_char() 88 if (tr->code == code) in efi_st_translate_char() 94 u16 *efi_st_translate_code(u16 code) in efi_st_translate_code() argument 99 if (tr->code == code) in efi_st_translate_code()
|
| /lib/lzma/ |
| A D | history.txt | 74 - C++ LZMA code now is just wrapper over ANSI-C code. 89 - C++ code for .7z archives compressing/decompressing from 7-zip 112 - Fixes in C++ code: code could no be compiled if _NO_EXCEPTIONS was defined. 162 - Fixes in 7z_C code and LzmaTest.c: 169 - Small fixes in C++ code 190 LZMA + BCJ (filter for x86 code): 206 - Small speed optimization in LZMA C++ code 207 - filter for SPARC's code was added 219 - Source code of filters for x86, IA-64, ARM, ARM-Thumb 220 and PowerPC code was included to SDK [all …]
|
| A D | lzma.txt | 23 Some code in LZMA SDK is based on public domain code from another developers: 60 Source code structure 64 7zCrc*.* - CRC code 264 grouped in other place (it's better than such mixing: code, data, code, 278 7-Zip commands (example for ARM code): 442 For full code example, look at C/LzmaUtil/LzmaUtil.c code. 530 If callback function return some error code, LzmaEnc_Encode also returns that code 544 Return code: 573 C++ LZMA code is just wrapper over ANSI-C code. 578 If you use some C++ code folders in 7-Zip (for example, C++ code for .7z handling), [all …]
|
| A D | LzmaDec.c | 19 #define NORMALIZE if (range < kTopValue) { range <<= 8; code = (code << 8) | (*buf++); } 49 … < kTopValue) { if (buf >= bufLimit) return DUMMY_ERROR; range <<= 8; code = (code << 8) | (*buf++… 53 #define UPDATE_1_CHECK range -= bound; code -= bound; 151 UInt32 code = p->code; in LzmaDec_DecodeReal() local 338 code -= range; in LzmaDec_DecodeReal() 341 code += range & t; in LzmaDec_DecodeReal() 428 p->code = code; in LzmaDec_DecodeReal() 503 UInt32 code = p->code; in LzmaDec_TryDummy() local 667 code -= range & (((code - range) >> 31) - 1); in LzmaDec_TryDummy() 763 if (p->remainLen == 0 && p->code == 0) in LzmaDec_DecodeToDic() [all …]
|
| /lib/lwip/lwip/src/netif/ppp/ |
| A D | chap-new.c | 173 if (dp->code == digest_code) in chap_auth_peer() 507 if (code == CHAP_SUCCESS) { 511 code = CHAP_FAILURE; 526 if (code == CHAP_SUCCESS) 536 unsigned char code, id; local 541 GETCHAR(code, pkt); 548 switch (code) { 595 int code, id, len; local 601 GETCHAR(code, p); 607 if (code >= 1 && code <= (int)LWIP_ARRAYSIZE(chap_code_names)) [all …]
|
| A D | fsm.c | 320 u_char code, id; in fsm_input() local 332 GETCHAR(code, inp); in fsm_input() 354 switch (code) { in fsm_input() 393 int code, reject_if_disagree; in fsm_rconfreq() local 431 code = CONFACK; in fsm_rconfreq() 436 if (code == CONFACK) { in fsm_rconfreq() 450 if( code == CONFNAK ) in fsm_rconfreq() 522 if (code == CONFNAK) { in fsm_rconfnakrej() 646 u_char code, id; in fsm_rcoderej() local 652 GETCHAR(code, inp); in fsm_rcoderej() [all …]
|
| A D | upap.c | 307 u_char code, id; in upap_input() local 319 GETCHAR(code, inp); in upap_input() 335 switch (code) { in upap_input() 586 PUTCHAR(code, outp); in upap_sresp() 605 int code, id, len; in upap_printpkt() local 613 GETCHAR(code, p); in upap_printpkt() 619 if (code >= 1 && code <= (int)LWIP_ARRAYSIZE(upap_codenames)) in upap_printpkt() 622 printer(arg, " code=0x%x", code); in upap_printpkt() 625 switch (code) { in upap_printpkt() 671 GETCHAR(code, p); in upap_printpkt() [all …]
|
| /lib/zstd/ |
| A D | zstd_decompress_module.c | 21 unsigned int zstd_is_error(size_t code) in zstd_is_error() argument 23 return ZSTD_isError(code); in zstd_is_error() 27 zstd_error_code zstd_get_error_code(size_t code) in zstd_get_error_code() argument 29 return ZSTD_getErrorCode(code); in zstd_get_error_code() 33 const char *zstd_get_error_name(size_t code) in zstd_get_error_name() argument 35 return ZSTD_getErrorName(code); in zstd_get_error_name()
|
| /lib/mbedtls/external/mbedtls/tests/scripts/ |
| A D | generate_test_code.py | 558 if code.find('exit:') == -1: 561 code = """exit: 626 code = '' 647 code += line 649 code += line 655 code = code.replace(name, 'test_' + name, 1) 661 code = code.replace('()', '(void)', 1) 669 code += line 674 code = line_directive + code 675 code = generate_function_code(name, code, local_vars, args_dispatch, [all …]
|
| A D | test_generate_test_code.py | 203 self.assertEqual(code, expected) 220 self.assertEqual(code, expected) 237 self.assertEqual(code, expected) 258 self.assertEqual(code, expected) 265 code = gen_dispatch('test_a', []) 269 self.assertEqual(code, expected) 646 self.assertEqual(code, expected) 690 self.assertEqual(code, expected) 750 self.assertEqual(code, expected) 803 self.assertEqual(code, expected) [all …]
|
| /lib/zlib/ |
| A D | trees.c | 246 int code; /* code value */ in tr_static_init() local 264 for (code = 0; code < LENGTH_CODES-1; code++) { in tr_static_init() 265 base_length[code] = length; in tr_static_init() 275 _length_code[length-1] = (uch)code; in tr_static_init() 279 for (code = 0 ; code < 16; code++) { in tr_static_init() 280 base_dist[code] = dist; in tr_static_init() 287 for ( ; code < D_CODES; code++) { in tr_static_init() 288 base_dist[code] = dist << 7; in tr_static_init() 594 next_code[bits] = code = (code + bl_count[bits-1]) << 1; 1073 code = _length_code[lc]; [all …]
|
| A D | inflate.h | 102 code const FAR *lencode; /* starting table for length/literal codes */ 103 code const FAR *distcode; /* starting table for distance codes */ 111 code FAR *next; /* next available space in codes[] */ 114 code codes[ENOUGH]; /* space for code tables */
|
| /lib/lwip/lwip/src/core/ipv6/ |
| A D | icmp6.c | 66 static void icmp6_send_response(struct pbuf *p, u8_t code, u32_t data, u8_t type); 67 static void icmp6_send_response_with_addrs(struct pbuf *p, u8_t code, u32_t data, 69 static void icmp6_send_response_with_addrs_and_netif(struct pbuf *p, u8_t code, u32_t data, 309 icmp6_send_response(struct pbuf *p, u8_t code, u32_t data, u8_t type) in icmp6_send_response() argument 323 icmp6_send_response_with_addrs_and_netif(p, code, data, type, reply_src, reply_dest, netif); in icmp6_send_response() 346 icmp6_send_response_with_addrs(struct pbuf *p, u8_t code, u32_t data, u8_t type, in icmp6_send_response_with_addrs() argument 368 icmp6_send_response_with_addrs_and_netif(p, code, data, type, reply_src, in icmp6_send_response_with_addrs() 385 icmp6_send_response_with_addrs_and_netif(struct pbuf *p, u8_t code, u32_t data, u8_t type, in icmp6_send_response_with_addrs_and_netif() argument 405 icmp6hdr->code = code; in icmp6_send_response_with_addrs_and_netif()
|
| /lib/mbedtls/external/mbedtls/library/ |
| A D | mps_error.h | 37 #define MBEDTLS_MPS_MAKE_ERROR(code) \ argument 38 (-(MBEDTLS_MPS_ERR_BASE | (code))) 55 #define MBEDTLS_MPS_READER_MAKE_ERROR(code) \ argument 56 (-(MBEDTLS_MPS_READER_ERR_BASE | (code)))
|
| /lib/mbedtls/external/mbedtls/docs/architecture/testing/ |
| A D | invasive-testing.md | 38 If test code or test data depends on internal details of the library and not just on its documented… 58 * **Test-specific code must be guarded by `#if defined(MBEDTLS_TEST_HOOKS)`**. Do not create fine-g… 65 …ive code for test purposes. That is, library code calls `mbedtls_foo()`, and there is a mechanism … 73 In unit test code that needs to modify the internal behavior: 203 | Effacement | ++ Zero impact on the code | 217 | Portability | ++ It's just C code so it works everywhere | 219 …| + Test interfaces impact the product source code, but at least they're clearly marked as such in… 227 * **Minimize the impact on code**.<br> 228 …ve test-specific conditional compilation littered through the code, as that makes the code hard to… 241 | Effacement | ++ Zero impact on the code | [all …]
|
| /lib/lwip/lwip/src/include/lwip/prot/ |
| A D | icmp.h | 67 PACK_STRUCT_FLD_8(u8_t code); 78 #define ICMPH_CODE(hdr) ((hdr)->code) 80 #define ICMPH_CODE_SET(hdr, c) ((hdr)->code = (c)) 91 PACK_STRUCT_FLD_8(u8_t code);
|
| /lib/mbedtls/external/mbedtls/programs/ssl/ |
| A D | ssl_mail_client.c | 226 char code[4]; in write_ssl_and_get_response() local 260 code[idx++] = data[i]; in write_ssl_and_get_response() 265 if (idx == 4 && code[0] >= '0' && code[0] <= '9' && code[3] == ' ') { in write_ssl_and_get_response() 266 code[3] = '\0'; in write_ssl_and_get_response() 267 return atoi(code); in write_ssl_and_get_response() 279 char code[4]; in write_and_get_response() local 304 code[idx++] = data[i]; in write_and_get_response() 309 if (idx == 4 && code[0] >= '0' && code[0] <= '9' && code[3] == ' ') { in write_and_get_response() 310 code[3] = '\0'; in write_and_get_response() 311 return atoi(code); in write_and_get_response()
|
| /lib/lwip/lwip/src/core/ipv4/ |
| A D | icmp.c | 68 static void icmp_send_response(struct pbuf *p, u8_t type, u8_t code); 84 u8_t code; in icmp_input() local 107 code = *(((u8_t *)p->payload) + 1); in icmp_input() 109 LWIP_UNUSED_ARG(code); in icmp_input() 266 ICMP_DEST_UNREACH_CB(code, p); in icmp_input() 287 (s16_t)type, (s16_t)code)); in icmp_input() 349 icmp_send_response(struct pbuf *p, u8_t type, u8_t code) in icmp_send_response() argument 386 icmphdr->code = code; in icmp_send_response()
|
| /lib/mbedtls/external/mbedtls/scripts/data_files/ |
| A D | error.fmt | 31 /* Extract the high-level part from the error code. */ 54 /* Extract the low-level part from the error code. */ 89 // Translate high level error code. 100 // level code. 113 // If high level code is present, make a concatenation between both 129 // Translate low level error code.
|
| /lib/lwip/lwip/contrib/apps/LwipMibCompiler/Mibs/IANA/ |
| A D | IANA-LANGUAGE-MIB | 57 "Java byte code to be processed by a Java virtual machine. 58 A script written in Java byte code is transferred by using 69 Tcl language is transferred in Tcl source code format." 79 is transferred in Perl source code format." 89 language is transferred in Scheme source code format." 100 in the SNMP Script Language source code format." 108 Patrol Script Language source code format." 119 in the SMSL language is transferred in the SMSL source code
|