Home
last modified time | relevance | path

Searched refs:cp (Results 1 – 25 of 256) sorted by relevance

1234567891011

/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/libtiff/
A Dtif_swab.c41 t = cp[1]; cp[1] = cp[0]; cp[0] = t; in TIFFSwabShort()
52 t = cp[3]; cp[3] = cp[0]; cp[0] = t; in TIFFSwabLong()
53 t = cp[2]; cp[2] = cp[1]; cp[1] = t; in TIFFSwabLong()
64 t = cp[7]; cp[7] = cp[0]; cp[0] = t; in TIFFSwabLong8()
65 t = cp[6]; cp[6] = cp[1]; cp[1] = t; in TIFFSwabLong8()
66 t = cp[5]; cp[5] = cp[2]; cp[2] = t; in TIFFSwabLong8()
67 t = cp[4]; cp[4] = cp[3]; cp[3] = t; in TIFFSwabLong8()
81 t = cp[1]; cp[1] = cp[0]; cp[0] = t; in TIFFSwabArrayOfShort()
97 t = cp[2]; cp[2] = cp[0]; cp[0] = t; in TIFFSwabArrayOfTriples()
113 t = cp[3]; cp[3] = cp[0]; cp[0] = t; in TIFFSwabArrayOfLong()
[all …]
A Dtif_predict.c305 cp[0] = (unsigned char) ((cr += cp[0]) & 0xff); in horAcc8()
306 cp[1] = (unsigned char) ((cg += cp[1]) & 0xff); in horAcc8()
307 cp[2] = (unsigned char) ((cb += cp[2]) & 0xff); in horAcc8()
319 cp[0] = (unsigned char) ((cr += cp[0]) & 0xff); in horAcc8()
320 cp[1] = (unsigned char) ((cg += cp[1]) & 0xff); in horAcc8()
321 cp[2] = (unsigned char) ((cb += cp[2]) & 0xff); in horAcc8()
322 cp[3] = (unsigned char) ((ca += cp[3]) & 0xff); in horAcc8()
330 (unsigned char) ((cp[stride] + *cp) & 0xff); cp++) in horAcc8()
434 (unsigned char) ((cp[stride] + cp[0]) & 0xff); cp++) in fpAcc()
556 REPEAT4(stride, cp[stride] = (unsigned char)((cp[stride] - cp[0])&0xff); cp--) in horDiff8()
[all …]
A Dtif_fax3.c346 case 1: (cp)[0] = 0xff; (cp) += (n); /*-fallthrough*/ \
365 case 1: (cp)[0] = 0; (cp) += (n); /*-fallthrough*/ \
377 case 1: (cp)[0] = 0xff; (cp) += (n); /*-fallthrough*/ \
388 case 1: (cp)[0] = 0; (cp) += (n); /*-fallthrough*/ \
402 unsigned char* cp; in _TIFFFax3fillruns() local
415 cp = buf + (x>>3); in _TIFFFax3fillruns()
437 ZERO(n, cp); in _TIFFFax3fillruns()
463 *cp++ = 0xff; in _TIFFFax3fillruns()
472 FILL(n, cp); in _TIFFFax3fillruns()
477 cp[0] = (unsigned char)((cp[0] | (0xff00 >> run))&0xff); in _TIFFFax3fillruns()
[all …]
A Dtif_getimage.c1247 cp += toskew; in DECLAREContigPutFunc()
2065 cp += 4; in DECLAREContigPutFunc()
2111 cp += 2; in DECLAREContigPutFunc()
2121 cp ++ ; in DECLAREContigPutFunc()
2125 cp += incr; in DECLAREContigPutFunc()
2137 cp += 2; in DECLAREContigPutFunc()
2166 cp += 2; in DECLAREContigPutFunc()
2178 cp += 1; in DECLAREContigPutFunc()
2204 cp ++; in DECLAREContigPutFunc()
2208 cp += incr; in DECLAREContigPutFunc()
[all …]
/AliOS-Things-master/components/ble_host/bt_host/host/
A Dhci_api.c414 cp = net_buf_add(buf, sizeof(*cp)); in hci_api_le_scan_enable()
515 cp = net_buf_add(buf, sizeof(*cp)); in hci_api_le_set_default_data_len()
539 cp = net_buf_add(buf, sizeof(*cp)); in hci_api_le_set_data_len()
1203 memset(cp, 0, sizeof(*cp)); in hci_api_le_create_conn()
1272 cp = net_buf_add(buf, sizeof(*cp)); in hci_api_le_read_remote_version()
1479 memset(cp, 0, sizeof(*cp)); in hci_api_le_conn_param_req_reply()
1526 memset(cp, 0, sizeof(*cp)); in hci_api_le_add_dev_to_rl()
1555 memset(cp, 0, sizeof(*cp)); in hci_api_le_remove_dev_from_rl()
1860 cp = net_buf_add(buf, sizeof(*cp)); in hci_api_le_set_adv_random_addr()
1880 cp = net_buf_add(buf, sizeof(*cp)); in hci_api_le_ext_scan_enable()
[all …]
A Dconn.c507 cp = net_buf_add(buf, sizeof(*cp)); in bt_conn_create_br()
509 (void)memset(cp, 0, sizeof(*cp)); in bt_conn_create_br()
564 cp = net_buf_add(buf, sizeof(*cp)); in bt_conn_create_sco()
566 (void)memset(cp, 0, sizeof(*cp)); in bt_conn_create_sco()
684 cp = net_buf_add(buf, sizeof(*cp)); in pin_code_neg_reply()
702 cp = net_buf_add(buf, sizeof(*cp)); in pin_code_reply()
819 cp = net_buf_add(buf, sizeof(*cp)); in ssp_confirm_reply()
837 cp = net_buf_add(buf, sizeof(*cp)); in ssp_confirm_neg_reply()
919 cp = net_buf_add(buf, sizeof(*cp)); in ssp_passkey_reply()
938 cp = net_buf_add(buf, sizeof(*cp)); in ssp_passkey_neg_reply()
[all …]
A Dhci_core.c268 cp = net_buf_add(buf, sizeof(*cp)); in report_completed_packet()
691 cp = net_buf_add(buf, sizeof(*cp)); in set_adv_random_address()
1208 cp = net_buf_add(buf, sizeof(*cp)); in set_le_ext_scan_enable()
1261 cp = net_buf_add(buf, sizeof(*cp)); in set_le_scan_enable_legacy()
1637 cp = net_buf_add(buf, sizeof(*cp)); in bt_le_create_conn_ext()
1638 (void)memset(cp, 0, sizeof(*cp)); in bt_le_create_conn_ext()
1791 cp = net_buf_add(buf, sizeof(*cp)); in bt_le_create_conn_legacy()
1792 memset(cp, 0, sizeof(*cp)); in bt_le_create_conn_legacy()
2003 cp = net_buf_add(buf, sizeof(*cp)); in hci_le_read_remote_features()
2033 cp = net_buf_add(buf, sizeof(*cp)); in hci_read_remote_version()
[all …]
/AliOS-Things-master/components/jsoncpp/src/lib_json/
A Djson_tool.h39 static inline String codePointToUTF8(unsigned int cp) { in codePointToUTF8() argument
44 if (cp <= 0x7f) { in codePointToUTF8()
46 result[0] = static_cast<char>(cp); in codePointToUTF8()
47 } else if (cp <= 0x7FF) { in codePointToUTF8()
49 result[1] = static_cast<char>(0x80 | (0x3f & cp)); in codePointToUTF8()
50 result[0] = static_cast<char>(0xC0 | (0x1f & (cp >> 6))); in codePointToUTF8()
51 } else if (cp <= 0xFFFF) { in codePointToUTF8()
53 result[2] = static_cast<char>(0x80 | (0x3f & cp)); in codePointToUTF8()
54 result[1] = static_cast<char>(0x80 | (0x3f & (cp >> 6))); in codePointToUTF8()
56 } else if (cp <= 0x10FFFF) { in codePointToUTF8()
[all …]
/AliOS-Things-master/components/lwip/lwip2.0.0/netif/ppp/
A Dvj.c77 *cp++ = 0; \
80 cp += 2; \
90 cp += 2; \
98 u32_t tmp_ = lwip_ntohl(f) + ((cp[1] << 8) | cp[2]); \
100 cp += 3; \
111 cp += 3; \
120 (f) = lwip_htons(((u16_t)cp[1] << 8) | cp[2]); \
121 cp += 3; \
503 u8_t *cp; in vj_uncompress_tcp() local
541 th->chksum = lwip_htons((*cp << 8) | cp[1]); in vj_uncompress_tcp()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/tools/
A Dppm2tiff.c295 processG3Options(char* cp) in processG3Options() argument
298 if( (cp = strchr(cp, ':')) ) { in processG3Options()
300 cp++; in processG3Options()
309 } while( (cp = strchr(cp, ':')) ); in processG3Options()
324 while (cp) in processCompressOptions()
327 quality = atoi(cp+1); in processCompressOptions()
333 cp = strchr(cp+1,':'); in processCompressOptions()
342 if (cp) in processCompressOptions()
343 predictor = atoi(cp+1); in processCompressOptions()
347 if (cp) in processCompressOptions()
[all …]
A Dtiffdither.c159 processG3Options(char* cp) in processG3Options() argument
161 if ((cp = strchr(cp, ':'))) { in processG3Options()
163 cp++; in processG3Options()
164 if (strneq(cp, "1d", 2)) in processG3Options()
172 } while ((cp = strchr(cp, ':'))); in processG3Options()
189 char* cp = strchr(opt, ':'); in processCompressOptions() local
190 if (cp) in processCompressOptions()
191 predictor = atoi(cp+1); in processCompressOptions()
194 char* cp = strchr(opt, ':'); in processCompressOptions() local
195 if (cp) in processCompressOptions()
[all …]
/AliOS-Things-master/components/py_engine/engine/lib/oofatfs/
A Dffunicode.c35 #define CVTBL(tbl, cp) MERGE2(tbl, cp) argument
258 WORD cp /* Code page for the conversion */ in ff_uni2oem() argument
280 WORD cp /* Code page for the conversion */ in ff_oem2uni() argument
311 WORD cp /* Code page for the conversion */ in ff_uni2oem() argument
347 WORD cp /* Code page for the conversion */ in ff_oem2uni() argument
394 WORD cp /* Code page for the conversion */ in ff_uni2oem() argument
409 if (cp < 900) { /* SBCS */ in ff_uni2oem()
417 switch (cp) { /* Get conversion table */ in ff_uni2oem()
446 WORD cp /* Code page for the conversion */ in ff_oem2uni() argument
459 if (cp < 900) { /* SBCS */ in ff_oem2uni()
[all …]
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/netif/ppp/
A Dppp_impl.h501 #define GETCHAR(c, cp) { \ argument
502 (c) = *(cp)++; \
504 #define PUTCHAR(c, cp) { \ argument
505 *(cp)++ = (u_char) (c); \
508 (s) = *(cp)++ << 8; \
509 (s) |= *(cp)++; \
513 *(cp)++ = (u_char) (s); \
516 (l) = *(cp)++ << 8; \
519 (l) |= *(cp)++; \
528 #define INCPTR(n, cp) ((cp) += (n)) argument
[all …]
A Deui64.h75 #define eui64_get(ll, cp) do { \ argument
76 eui64_copy((*cp), (ll)); \
77 (cp) += sizeof(eui64_t); \
80 #define eui64_put(ll, cp) do { \ argument
81 eui64_copy((ll), (*cp)); \
82 (cp) += sizeof(eui64_t); \
/AliOS-Things-master/components/lwip/lwip2.0.0/include/netif/ppp/
A Dppp_impl.h501 #define GETCHAR(c, cp) { \ argument
502 (c) = *(cp)++; \
504 #define PUTCHAR(c, cp) { \ argument
505 *(cp)++ = (u_char) (c); \
508 (s) = *(cp)++ << 8; \
509 (s) |= *(cp)++; \
513 *(cp)++ = (u_char) (s); \
516 (l) = *(cp)++ << 8; \
519 (l) |= *(cp)++; \
528 #define INCPTR(n, cp) ((cp) += (n)) argument
[all …]
A Deui64.h75 #define eui64_get(ll, cp) do { \ argument
76 eui64_copy((*cp), (ll)); \
77 (cp) += sizeof(eui64_t); \
80 #define eui64_put(ll, cp) do { \ argument
81 eui64_copy((ll), (*cp)); \
82 (cp) += sizeof(eui64_t); \
/AliOS-Things-master/components/fatfs/src/
A Dffunicode.c31 #define CVTBL(tbl, cp) MERGE2(tbl, cp) argument
5521 WORD cp /* Code page for the conversion */ in ff_uni2oem() argument
5532 if (cp == FF_CODE_PAGE) { /* Is it a valid code page? */ in ff_uni2oem()
5542 WORD cp /* Code page for the conversion */ in ff_oem2uni() argument
5553 if (cp == FF_CODE_PAGE) { /* Is it a valid code page? */ in ff_oem2uni()
5572 WORD cp /* Code page for the conversion */ in ff_uni2oem() argument
5584 if (cp == FF_CODE_PAGE) { /* Is it a valid code page? */ in ff_uni2oem()
5606 WORD cp /* Code page for the conversion */ in ff_oem2uni() argument
5618 if (cp == FF_CODE_PAGE) { /* Is it a valid code page? */ in ff_oem2uni()
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/pds/
A Dtif_pdsdirread.c91 if (cp == NULL) in CheckMalloc()
93 return (cp); in CheckMalloc()
133 char* cp; in TIFFReadPrivateDataSubDirectory() local
753 ok = cp && TIFFFetchByteArray(tif, dp, (uint16*) cp); in TIFFFetchNormalSubTag()
759 ok = cp && TIFFFetchShortArray(tif, dp, (uint16*) cp); in TIFFFetchNormalSubTag()
765 ok = cp && TIFFFetchLongArray(tif, dp, (uint32*) cp); in TIFFFetchNormalSubTag()
776 ok = cp && TIFFFetchFloatArray(tif, dp, (float*) cp); in TIFFFetchNormalSubTag()
781 ok = cp && TIFFFetchDoubleArray(tif, dp, (double*) cp); in TIFFFetchNormalSubTag()
790 if (ok = (cp && TIFFFetchString(tif, dp, cp))) in TIFFFetchNormalSubTag()
1025 char* cp; in TIFFFetchRefBlackWhite() local
[all …]
/AliOS-Things-master/components/netmgr/netdev/src/
A Dnetdev_ipaddr.c29 int netdev_ip4addr_aton(const char *cp, ip4_addr_t *addr) in netdev_ip4addr_aton() argument
37 c = *cp; in netdev_ip4addr_aton()
53 c = *++cp; in netdev_ip4addr_aton()
57 c = *++cp; in netdev_ip4addr_aton()
69 c = *++cp; in netdev_ip4addr_aton()
74 c = *++cp; in netdev_ip4addr_aton()
94 c = *++cp; in netdev_ip4addr_aton()
242 in_addr_t netdev_ipaddr_addr(const char *cp) in netdev_ipaddr_addr() argument
246 if (netdev_ip4addr_aton(cp, &val)) { in netdev_ipaddr_addr()
/AliOS-Things-master/components/lwip/lwip2.0.0/core/
A Dip.c80 ipaddr_aton(const char *cp, ip_addr_t *addr) in ipaddr_aton() argument
82 if (cp != NULL) { in ipaddr_aton()
84 for (c = cp; *c != 0; c++) { in ipaddr_aton()
90 return ip6addr_aton(cp, ip_2_ip6(addr)); in ipaddr_aton()
100 return ip4addr_aton(cp, ip_2_ip4(addr)); in ipaddr_aton()
/AliOS-Things-master/components/netmgr/net/include/sys/
A Dipaddr.h117 in_addr_t ipaddr_addr(const char *cp);
118 int ip4addr_aton(const char *cp, ip4_addr_t *addr);
124 #define inet_addr(cp) ipaddr_addr(cp) argument
125 #define inet_aton(cp,addr) ip4addr_aton(cp,(ip4_addr_t*)addr) argument
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/swlib/string/
A Dstrtol_bk.c18 _LONG_CALL_ long _strtol(const char *cp, char **endp, unsigned int base) in _strtol() argument
20 if (*cp == '-') in _strtol()
21 return -_strtoul(cp + 1, endp, base); in _strtol()
23 return _strtoul(cp, endp, base); in _strtol()
A Dstrtod.c191 _LONG_CALL_ unsigned long long _strtoull(const char *cp, char **endp, unsigned int base) in _strtoull() argument
196 cp = _parse_integer_fixup_radix(cp, &base); in _strtoull()
197 rv = _parse_integer(cp, base, &result); in _strtoull()
211 _LONG_CALL_ long long _strtoll(const char *cp, char **endp, unsigned int base) in _strtoll() argument
213 if (*cp == '-') in _strtoll()
214 return -_strtoull(cp + 1, endp, base); in _strtoll()
216 return _strtoull(cp, endp, base); in _strtoll()
/AliOS-Things-master/components/lwip/lwip2.0.0/core/ipv4/
A Dip4_addr.c133 ipaddr_addr(const char *cp) in ipaddr_addr() argument
137 if (ip4addr_aton(cp, &val)) { in ipaddr_addr()
155 ip4addr_aton(const char *cp, ip4_addr_t *addr) in ip4addr_aton() argument
163 c = *cp; in ip4addr_aton()
176 c = *++cp; in ip4addr_aton()
179 c = *++cp; in ip4addr_aton()
187 c = *++cp; in ip4addr_aton()
190 c = *++cp; in ip4addr_aton()
206 c = *++cp; in ip4addr_aton()
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A Drelease.sh41 cp unicode/* $outdir/unicode
42 cp -a tests/bench-v8 $outdir/tests
63 cp qjs run-test262 $outdir
73 cp qjs32 $outdir/qjs
74 cp run-test262-32 $outdir/run-test262
93 cp Makefile VERSION TODO Changelog readme.txt release.sh unicode_download.sh \
106 cp tests/*.js tests/*.patch tests/bjson.c $outdir/tests
108 cp examples/*.js examples/*.c $outdir/examples
110 cp doc/quickjs.texi doc/quickjs.pdf doc/quickjs.html \

Completed in 148 milliseconds

1234567891011