/external/pdfium/third_party/libtiff/ |
D | tif_swab.c | 36 register unsigned char* cp = (unsigned char*) wp; in TIFFSwabShort() local 39 t = cp[1]; cp[1] = cp[0]; cp[0] = t; in TIFFSwabShort() 47 register unsigned char* cp = (unsigned char*) lp; in TIFFSwabLong() local 50 t = cp[3]; cp[3] = cp[0]; cp[0] = t; in TIFFSwabLong() 51 t = cp[2]; cp[2] = cp[1]; cp[1] = t; in TIFFSwabLong() 59 register unsigned char* cp = (unsigned char*) lp; in TIFFSwabLong8() local 62 t = cp[7]; cp[7] = cp[0]; cp[0] = t; in TIFFSwabLong8() 63 t = cp[6]; cp[6] = cp[1]; cp[1] = t; in TIFFSwabLong8() 64 t = cp[5]; cp[5] = cp[2]; cp[2] = t; in TIFFSwabLong8() 65 t = cp[4]; cp[4] = cp[3]; cp[3] = t; in TIFFSwabLong8() [all …]
|
/external/tcpdump/ |
D | print-openflow-1.0.c | 739 const u_char *cp, const u_char *ep, const u_int len) in of10_data_print() argument 742 return cp; in of10_data_print() 745 ND_TCHECK2(*cp, len); in of10_data_print() 747 hex_and_ascii_print(ndo, "\n\t ", cp, len); in of10_data_print() 748 return cp + len; in of10_data_print() 757 const u_char *cp, const u_char *ep, const u_int len) in of10_bsn_message_print() argument 759 const u_char *cp0 = cp; in of10_bsn_message_print() 765 ND_TCHECK2(*cp, 4); in of10_bsn_message_print() 766 subtype = EXTRACT_32BITS(cp); in of10_bsn_message_print() 767 cp += 4; in of10_bsn_message_print() [all …]
|
D | print-aoe.c | 144 const u_char *cp, const u_int len) in aoev1_issue_print() argument 146 const u_char *ep = cp + len; in aoev1_issue_print() 151 ND_TCHECK2(*cp, 1); in aoev1_issue_print() 152 ND_PRINT((ndo, "\n\tAFlags: [%s]", bittok2str(aoev1_aflag_str, "none", *cp))); in aoev1_issue_print() 153 cp += 1; in aoev1_issue_print() 155 ND_TCHECK2(*cp, 1); in aoev1_issue_print() 156 ND_PRINT((ndo, ", Err/Feature: %u", *cp)); in aoev1_issue_print() 157 cp += 1; in aoev1_issue_print() 159 ND_TCHECK2(*cp, 1); in aoev1_issue_print() 160 ND_PRINT((ndo, ", Sector Count: %u", *cp)); in aoev1_issue_print() [all …]
|
D | print-domain.c | 55 register const u_char *cp) in ns_nskip() argument 59 if (!ND_TTEST2(*cp, 1)) in ns_nskip() 61 i = *cp++; in ns_nskip() 64 return (cp + 1); in ns_nskip() 70 if (!ND_TTEST2(*cp, 1)) in ns_nskip() 72 if ((bitlen = *cp++) == 0) in ns_nskip() 75 cp += bytelen; in ns_nskip() 77 cp += i; in ns_nskip() 78 if (!ND_TTEST2(*cp, 1)) in ns_nskip() 80 i = *cp++; in ns_nskip() [all …]
|
D | print-ahcp.c | 101 ahcp_time_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp_time_print() argument 107 if (cp + 4 != ep) in ahcp_time_print() 109 ND_TCHECK2(*cp, 4); in ahcp_time_print() 110 t = EXTRACT_32BITS(cp); in ahcp_time_print() 121 ND_TCHECK2(*cp, ep - cp); in ahcp_time_print() 129 ahcp_seconds_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in ahcp_seconds_print() argument 131 if (cp + 4 != ep) in ahcp_seconds_print() 133 ND_TCHECK2(*cp, 4); in ahcp_seconds_print() 134 ND_PRINT((ndo, ": %us", EXTRACT_32BITS(cp))); in ahcp_seconds_print() 139 ND_TCHECK2(*cp, ep - cp); in ahcp_seconds_print() [all …]
|
D | print-zeromq.c | 77 zmtp1_print_frame(netdissect_options *ndo, const u_char *cp, const u_char *ep) in zmtp1_print_frame() argument 83 ND_TCHECK2(*cp, 1); /* length/0xFF */ in zmtp1_print_frame() 85 if (cp[0] != 0xFF) { in zmtp1_print_frame() 87 body_len_declared = cp[0]; in zmtp1_print_frame() 92 ND_TCHECK2(*cp, header_len); /* 0xFF, length */ in zmtp1_print_frame() 93 body_len_declared = EXTRACT_64BITS(cp + 1); in zmtp1_print_frame() 97 return cp + header_len; /* skip to the next frame */ in zmtp1_print_frame() 98 ND_TCHECK2(*cp, header_len + 1); /* ..., flags */ in zmtp1_print_frame() 99 flags = cp[header_len]; in zmtp1_print_frame() 101 body_len_captured = ep - cp - header_len; in zmtp1_print_frame() [all …]
|
D | print-krb.c | 127 const u_char *cp) in krb4_print_hdr() argument 129 cp += 2; in krb4_print_hdr() 131 #define PRINT if ((cp = c_print(ndo, cp, ndo->ndo_snapend)) == NULL) goto trunc in krb4_print_hdr() 138 return (cp); in krb4_print_hdr() 149 const u_char *cp) in krb4_print() argument 155 #define PRINT if ((cp = c_print(ndo, cp, ndo->ndo_snapend)) == NULL) goto trunc in krb4_print() 158 #define KTOHSP(kp, cp) (IS_LENDIAN(kp) ? EXTRACT_LE_16BITS(cp) : EXTRACT_16BITS(cp)) in krb4_print() argument 160 kp = (const struct krb *)cp; in krb4_print() 175 if ((cp = krb4_print_hdr(ndo, cp)) == NULL) in krb4_print() 177 cp += 4; /* ctime */ in krb4_print() [all …]
|
D | print-loopback.c | 58 loopback_message_print(netdissect_options *ndo, const u_char *cp, const u_int len) in loopback_message_print() argument 60 const u_char *ep = cp + len; in loopback_message_print() 66 ND_TCHECK2(*cp, 2); in loopback_message_print() 67 function = EXTRACT_LE_16BITS(cp); in loopback_message_print() 68 cp += 2; in loopback_message_print() 76 ND_TCHECK2(*cp, 2); in loopback_message_print() 77 ND_PRINT((ndo, ", receipt number %u", EXTRACT_LE_16BITS(cp))); in loopback_message_print() 78 cp += 2; in loopback_message_print() 81 ND_TCHECK2(*cp, len - 4); in loopback_message_print() 87 ND_TCHECK2(*cp, ETHER_ADDR_LEN); in loopback_message_print() [all …]
|
D | print-openflow.c | 79 of_header_body_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) in of_header_body_print() argument 85 if (ep < cp + OF_HEADER_LEN) in of_header_body_print() 88 ND_TCHECK2(*cp, 1); in of_header_body_print() 89 version = *cp; in of_header_body_print() 90 cp += 1; in of_header_body_print() 92 ND_TCHECK2(*cp, 1); in of_header_body_print() 93 type = *cp; in of_header_body_print() 94 cp += 1; in of_header_body_print() 96 ND_TCHECK2(*cp, 2); in of_header_body_print() 97 length = EXTRACT_16BITS(cp); in of_header_body_print() [all …]
|
/external/e2fsprogs/misc/ |
D | base_device.c | 44 char *str, *cp; in base_device() local 52 cp = str; in base_device() 55 if (strncmp(cp, "/dev/", 5) != 0) in base_device() 57 cp += 5; in base_device() 60 if (strncmp(cp, "dsk/", 4) == 0) in base_device() 61 cp += 4; in base_device() 67 if (cp[0] == 'm' && cp[1] == 'd') { in base_device() 68 *(cp+2) = 0; in base_device() 73 if (strncmp(cp, "rd/", 3) == 0) { in base_device() 74 cp += 3; in base_device() [all …]
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | json_escaping.cc | 89 inline bool IsValidCodePoint(uint32 cp) { in IsValidCodePoint() argument 90 return cp <= JsonEscaping::kMaxCodePoint; in IsValidCodePoint() 95 inline uint16 ToLowSurrogate(uint32 cp) { in ToLowSurrogate() argument 96 return (cp & in ToLowSurrogate() 103 inline uint16 ToHighSurrogate(uint32 cp) { in ToHighSurrogate() argument 104 return (cp >> 10) + (JsonEscaping::kMinHighSurrogate - in ToHighSurrogate() 128 bool ReadCodePoint(StringPiece str, int index, uint32* cp, int* num_left, in ReadCodePoint() argument 132 *cp = static_cast<uint8>(str[index++]); in ReadCodePoint() 159 if (*cp <= 0x7f) { in ReadCodePoint() 161 } else if (*cp <= 0xbf) { in ReadCodePoint() [all …]
|
/external/e2fsprogs/intl/ |
D | explodename.c | 59 char *cp; in _nl_explode_name() local 75 *language = cp = name; in _nl_explode_name() 76 cp = _nl_find_language (*language); in _nl_explode_name() 78 if (*language == cp) in _nl_explode_name() 81 cp = strchr (*language, '\0'); in _nl_explode_name() 82 else if (cp[0] == '_') in _nl_explode_name() 85 cp[0] = '\0'; in _nl_explode_name() 86 *territory = ++cp; in _nl_explode_name() 88 while (cp[0] != '\0' && cp[0] != '.' && cp[0] != '@' in _nl_explode_name() 89 && cp[0] != '+' && cp[0] != ',' && cp[0] != '_') in _nl_explode_name() [all …]
|
D | printf-parse.c | 65 const CHAR_T *cp = format; /* pointer into format */ in PRINTF_PARSE() local 115 while (*cp != '\0') in PRINTF_PARSE() 117 CHAR_T c = *cp++; in PRINTF_PARSE() 124 dp->dir_start = cp - 1; in PRINTF_PARSE() 135 if (*cp >= '0' && *cp <= '9') in PRINTF_PARSE() 139 for (np = cp; *np >= '0' && *np <= '9'; np++) in PRINTF_PARSE() 145 for (np = cp; *np >= '0' && *np <= '9'; np++) in PRINTF_PARSE() 154 cp = np + 1; in PRINTF_PARSE() 161 if (*cp == '\'') in PRINTF_PARSE() 164 cp++; in PRINTF_PARSE() [all …]
|
/external/pdfium/third_party/agg23/ |
D | agg_curves.h | 23 float cp[8]; member 30 cp[0] = x1; in curve4_points() 31 cp[1] = y1; in curve4_points() 32 cp[2] = x2; in curve4_points() 33 cp[3] = y2; in curve4_points() 34 cp[4] = x3; in curve4_points() 35 cp[5] = y3; in curve4_points() 36 cp[6] = x4; in curve4_points() 37 cp[7] = y4; in curve4_points() 44 cp[0] = x1; in init() [all …]
|
/external/icu/icu4c/source/data/unidata/ |
D | ppucd.txt | 1238 cp;0000;bc=BN;ea=N;GCB=CN;-Gr_Base;lb=CM;Name_Alias=control=NULL,abbreviation=NUL 1239 cp;0001;bc=BN;ea=N;GCB=CN;-Gr_Base;lb=CM;Name_Alias=control=START OF HEADING,abbreviation=SOH 1240 cp;0002;bc=BN;ea=N;GCB=CN;-Gr_Base;lb=CM;Name_Alias=control=START OF TEXT,abbreviation=STX 1241 cp;0003;bc=BN;ea=N;GCB=CN;-Gr_Base;lb=CM;Name_Alias=control=END OF TEXT,abbreviation=ETX 1242 cp;0004;bc=BN;ea=N;GCB=CN;-Gr_Base;lb=CM;Name_Alias=control=END OF TRANSMISSION,abbreviation=EOT 1243 cp;0005;bc=BN;ea=N;GCB=CN;-Gr_Base;lb=CM;Name_Alias=control=ENQUIRY,abbreviation=ENQ 1244 cp;0006;bc=BN;ea=N;GCB=CN;-Gr_Base;lb=CM;Name_Alias=control=ACKNOWLEDGE,abbreviation=ACK 1245 cp;0007;bc=BN;ea=N;GCB=CN;-Gr_Base;lb=CM;Name_Alias=control=ALERT,abbreviation=BEL 1246 cp;0008;bc=BN;ea=N;GCB=CN;-Gr_Base;lb=CM;Name_Alias=control=BACKSPACE,abbreviation=BS 1247 cp;0009;bc=S;ea=N;GCB=CN;-Gr_Base;lb=BA;Name_Alias=control=CHARACTER TABULATION,control=HORIZONTAL … [all …]
|
/external/guava/android/guava/src/com/google/common/net/ |
D | PercentEscaper.java | 158 protected char[] escape(int cp) { in escape() argument 161 if (cp < safeOctets.length && safeOctets[cp]) { in escape() 163 } else if (cp == ' ' && plusForSpace) { in escape() 165 } else if (cp <= 0x7F) { in escape() 170 dest[2] = UPPER_HEX_DIGITS[cp & 0xF]; in escape() 171 dest[1] = UPPER_HEX_DIGITS[cp >>> 4]; in escape() 173 } else if (cp <= 0x7ff) { in escape() 179 dest[5] = UPPER_HEX_DIGITS[cp & 0xF]; in escape() 180 cp >>>= 4; in escape() 181 dest[4] = UPPER_HEX_DIGITS[0x8 | (cp & 0x3)]; in escape() [all …]
|
/external/guava/guava/src/com/google/common/net/ |
D | PercentEscaper.java | 158 protected char[] escape(int cp) { in escape() argument 161 if (cp < safeOctets.length && safeOctets[cp]) { in escape() 163 } else if (cp == ' ' && plusForSpace) { in escape() 165 } else if (cp <= 0x7F) { in escape() 170 dest[2] = UPPER_HEX_DIGITS[cp & 0xF]; in escape() 171 dest[1] = UPPER_HEX_DIGITS[cp >>> 4]; in escape() 173 } else if (cp <= 0x7ff) { in escape() 179 dest[5] = UPPER_HEX_DIGITS[cp & 0xF]; in escape() 180 cp >>>= 4; in escape() 181 dest[4] = UPPER_HEX_DIGITS[0x8 | (cp & 0x3)]; in escape() [all …]
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/external/com/google/gdata/util/common/base/ |
D | PercentEscaper.java | 204 protected char[] escape(int cp) { in escape() argument 208 if (cp < safeOctets.length && safeOctets[cp]) { in escape() 210 } else if (cp == ' ' && plusForSpace) { in escape() 212 } else if (cp <= 0x7F) { in escape() 217 dest[2] = UPPER_HEX_DIGITS[cp & 0xF]; in escape() 218 dest[1] = UPPER_HEX_DIGITS[cp >>> 4]; in escape() 220 } else if (cp <= 0x7ff) { in escape() 226 dest[5] = UPPER_HEX_DIGITS[cp & 0xF]; in escape() 227 cp >>>= 4; in escape() 228 dest[4] = UPPER_HEX_DIGITS[0x8 | (cp & 0x3)]; in escape() [all …]
|
/external/harfbuzz_ng/test/api/ |
D | test-collect-unicodes.c | 35 hb_codepoint_t cp; in test_collect_unicodes_format4() local 39 cp = HB_SET_VALUE_INVALID; in test_collect_unicodes_format4() 40 g_assert (hb_set_next (codepoints, &cp)); in test_collect_unicodes_format4() 41 g_assert_cmpuint (0x61, ==, cp); in test_collect_unicodes_format4() 42 g_assert (hb_set_next (codepoints, &cp)); in test_collect_unicodes_format4() 43 g_assert_cmpuint (0x62, ==, cp); in test_collect_unicodes_format4() 44 g_assert (hb_set_next (codepoints, &cp)); in test_collect_unicodes_format4() 45 g_assert_cmpuint (0x63, ==, cp); in test_collect_unicodes_format4() 46 g_assert (!hb_set_next (codepoints, &cp)); in test_collect_unicodes_format4() 57 hb_codepoint_t cp; in test_collect_unicodes_format12_notdef() local [all …]
|
/external/cn-cbor/src/ |
D | cn-get.c | 8 cn_cbor* cp; in cn_cbor_mapget_int() local 10 for (cp = cb->first_child; cp && cp->next; cp = cp->next->next) { in cn_cbor_mapget_int() 11 switch(cp->type) { in cn_cbor_mapget_int() 13 if (cp->v.uint == (unsigned long)key) { in cn_cbor_mapget_int() 14 return cp->next; in cn_cbor_mapget_int() 18 if (cp->v.sint == (long)key) { in cn_cbor_mapget_int() 19 return cp->next; in cn_cbor_mapget_int() 30 cn_cbor *cp; in cn_cbor_mapget_string() local 35 for (cp = cb->first_child; cp && cp->next; cp = cp->next->next) { in cn_cbor_mapget_string() 36 switch(cp->type) { in cn_cbor_mapget_string() [all …]
|
/external/apache-commons-bcel/src/test/java/org/apache/bcel/ |
D | ElementValueGenTestCase.java | 49 final ConstantPoolGen cp = cg.getConstantPool(); in testCreateIntegerElementValue() local 51 ElementValueGen.PRIMITIVE_INT, cp, 555); in testCreateIntegerElementValue() 55 + evg.getIndex() + "!=" + cp.lookupInteger(555), in testCreateIntegerElementValue() 56 evg.getIndex() == cp.lookupInteger(555)); in testCreateIntegerElementValue() 57 checkSerialize(evg, cp); in testCreateIntegerElementValue() 63 final ConstantPoolGen cp = cg.getConstantPool(); in testCreateFloatElementValue() local 65 ElementValueGen.PRIMITIVE_FLOAT, cp, 111.222f); in testCreateFloatElementValue() 69 + evg.getIndex() + "!=" + cp.lookupFloat(111.222f), evg in testCreateFloatElementValue() 70 .getIndex() == cp.lookupFloat(111.222f)); in testCreateFloatElementValue() 71 checkSerialize(evg, cp); in testCreateFloatElementValue() [all …]
|
/external/iptables/libxtables/ |
D | getethertype.c | 78 register char *cp, **q; in getethertypeent() local 91 cp = strpbrk(e, "#\n"); in getethertypeent() 92 if (cp == NULL) in getethertypeent() 94 *cp = '\0'; in getethertypeent() 96 cp = strpbrk(e, " \t"); in getethertypeent() 97 if (cp == NULL) in getethertypeent() 99 *cp++ = '\0'; in getethertypeent() 100 while (*cp == ' ' || *cp == '\t') in getethertypeent() 101 cp++; in getethertypeent() 102 e = strpbrk(cp, " \t"); in getethertypeent() [all …]
|
/external/python/cpython3/Modules/_decimal/libmpdec/ |
D | io.c | 464 char *decstring = NULL, *cp = NULL; in _mpd_to_string() local 475 cp = decstring = mpd_alloc(mem, sizeof *decstring); in _mpd_to_string() 476 if (cp == NULL) { in _mpd_to_string() 482 *cp++ = '-'; in _mpd_to_string() 485 *cp++ = ' '; in _mpd_to_string() 488 *cp++ = '+'; in _mpd_to_string() 493 strcpy(cp, "NaN"); in _mpd_to_string() 494 cp += 3; in _mpd_to_string() 497 strcpy(cp, "sNaN"); in _mpd_to_string() 498 cp += 4; in _mpd_to_string() [all …]
|
/external/toybox/tests/ |
D | vi.test | 6 cp $FILES/vi/ascii.txt in.txt 7 cp $FILES/vi/dd_first.in cmd.txt 8 cp $FILES/vi/ascii_dd_first.out out.txt 17 cp $FILES/vi/ascii.txt in.txt 18 cp $FILES/vi/dd_last.in cmd.txt 19 cp $FILES/vi/ascii_dd_last.out out.txt 28 cp $FILES/vi/ascii.txt in.txt 29 cp $FILES/vi/dw_last.in cmd.txt 30 cp $FILES/vi/ascii_dw_last.out out.txt 39 cp $FILES/vi/ascii.txt in.txt [all …]
|
/external/deqp-deps/amber/src/vkscript/ |
D | command_parser_test.cc | 36 CommandParser cp(&script, &pipeline, 1, data); in TEST_F() local 37 Result r = cp.Parse(); in TEST_F() 40 auto& cmds = cp.Commands(); in TEST_F() 74 CommandParser cp(&script, &pipeline, 1, data); in TEST_F() local 75 Result r = cp.Parse(); in TEST_F() 78 auto& cmds = cp.Commands(); in TEST_F() 96 CommandParser cp(&script, &pipeline, 1, data); in TEST_F() local 97 Result r = cp.Parse(); in TEST_F() 100 auto& cmds = cp.Commands(); in TEST_F() 118 CommandParser cp(&script, &pipeline, 1, data); in TEST_F() local [all …]
|