Home
last modified time | relevance | path

Searched refs:cr (Results 1 – 25 of 40) sorted by relevance

12

/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A Dlibunicode.h64 void cr_free(CharRange *cr);
70 if (cr->len >= cr->size) { in cr_add_point()
71 if (cr_realloc(cr, cr->len + 1)) in cr_add_point()
74 cr->points[cr->len++] = v; in cr_add_point()
80 if ((cr->len + 2) > cr->size) { in cr_add_interval()
81 if (cr_realloc(cr, cr->len + 2)) in cr_add_interval()
84 cr->points[cr->len++] = c1; in cr_add_interval()
85 cr->points[cr->len++] = c2; in cr_add_interval()
96 return cr_union1(cr, b_pt, 2); in cr_union_interval()
102 int cr_invert(CharRange *cr);
[all …]
A Dlibunicode.c288 cr->len = cr->size = 0; in cr_init()
296 cr->realloc_func(cr->mem_opaque, cr->points, 0); in cr_free()
306 new_buf = cr->realloc_func(cr->mem_opaque, cr->points, in cr_realloc()
332 len = cr->len; in cr_compress()
351 cr->len = k; in cr_compress()
411 cr->len = 0; in cr_union1()
412 cr->size = 0; in cr_union1()
425 memmove(cr->points + 1, cr->points, len * sizeof(cr->points[0])); in cr_invert()
959 cr_init(cr1, cr->mem_opaque, cr->realloc_func); in unicode_script()
960 cr_init(cr2, cr->mem_opaque, cr->realloc_func); in unicode_script()
[all …]
A Dlibregexp.c243 if (cr_invert(cr)) in cr_init_char_range()
248 cr_free(cr); in cr_init_char_range()
261 ret = cr_op(&a, cr->points, cr->len, pt, 2, CR_OP_INTER); in cr_canonicalize()
660 cr_free(cr); in parse_unicode_property()
670 cr_free(cr); in parse_unicode_property()
680 cr_free(cr); in parse_unicode_property()
700 cr_free(cr); in parse_unicode_property()
837 high = cr->points[cr->len - 1]; in re_emit_range()
839 high = cr->points[cr->len - 2]; in re_emit_range()
937 cr_free(cr); in re_parse_char_class()
[all …]
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/test/core/
A Dcommonrequest_ut.cc8 CommonRequest cr; in TEST() local
10 cr.setDomain("testDomain"); in TEST()
11 cr.setHeaderParameter("name1", "value1"); in TEST()
12 cr.setHttpMethod(HttpRequest::Method::Get); in TEST()
13 cr.setQueryParameter("name2", "value2"); in TEST()
15 EXPECT_TRUE(cr.domain() == "testDomain"); in TEST()
16 EXPECT_TRUE(cr.httpMethod() == HttpRequest::Method::Get); in TEST()
18 EXPECT_TRUE(cr.headerParameter("name1") == "value1"); in TEST()
19 EXPECT_TRUE(cr.queryParameter("name2") == "value2"); in TEST()
20 EXPECT_TRUE(cr.queryParameters()["name2"] == "value2"); in TEST()
[all …]
A Dcommonclient_ut.cc54 CommonRequest cr; in TEST() local
55 cr.setContent("test-content", 12); in TEST()
113 cr.setQueryParameter("query_k1", "query_v1"); in TEST()
115 cr.setScheme(""); in TEST()
116 cr.setHeaderParameter("Accept", ""); in TEST()
137 cr.setScheme("http"); in TEST()
138 cr.setHeaderParameter("Accept", "test-accept"); in TEST()
149 cr.setScheme(""); in TEST()
170 CommonRequest cr; in TEST() local
225 CommonRequest cr; in TEST() local
[all …]
/AliOS-Things-master/components/ble_host/bt_host/host/
A Drfcomm.c324 u8_t cr, fcs; in rfcomm_send_sabm() local
344 u8_t fcs, cr; in rfcomm_send_disc() local
490 u8_t fcs, cr; in rfcomm_send_dm() local
910 if (cr) { in rfcomm_send_pn()
1096 if (!cr) { in rfcomm_handle_rls()
1121 if (!cr) { in rfcomm_handle_rpn()
1165 if (!cr) { in rfcomm_handle_pn()
1201 if (cr) { in rfcomm_handle_pn()
1292 if (!cr) { in rfcomm_handle_msg()
1304 if (!cr) { in rfcomm_handle_msg()
[all …]
A Drfcomm_internal.h148 #define BT_RFCOMM_SET_ADDR(dlci, cr) ((((dlci) & 0x3f) << 2) | \ argument
149 ((cr) << 1) | 0x01)
153 #define BT_RFCOMM_SET_MSG_TYPE(type, cr) (((type) << 2) | (cr << 1) | 0x01) argument
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/
A Djdmerge.c274 int cb, cr; in h2v1_merged_upsample() local
294 cr = GETJSAMPLE(*inptr2++); in h2v1_merged_upsample()
295 cred = Crrtab[cr]; in h2v1_merged_upsample()
296 cgreen = (int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], SCALEBITS); in h2v1_merged_upsample()
313 cr = GETJSAMPLE(*inptr2); in h2v1_merged_upsample()
314 cred = Crrtab[cr]; in h2v1_merged_upsample()
336 int cb, cr; in h2v2_merged_upsample() local
358 cr = GETJSAMPLE(*inptr2++); in h2v2_merged_upsample()
359 cred = Crrtab[cr]; in h2v2_merged_upsample()
387 cr = GETJSAMPLE(*inptr2); in h2v2_merged_upsample()
[all …]
A Djdcolor.c209 register int y, cb, cr; in ycc_rgb_convert() local
231 cr = GETJSAMPLE(inptr2[col]); in ycc_rgb_convert()
235 outptr[RGB_RED] = range_limit[y + Crrtab[cr]]; in ycc_rgb_convert()
237 ((int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], in ycc_rgb_convert()
513 register int y, cb, cr; in ycck_cmyk_convert() local
536 cr = GETJSAMPLE(inptr2[col]); in ycck_cmyk_convert()
540 outptr[0] = range_limit[MAXJSAMPLE - (y + Crrtab[cr])]; /* red */ in ycck_cmyk_convert()
542 ((int) RIGHT_SHIFT(Cbgtab[cb] + Crgtab[cr], in ycck_cmyk_convert()
A Dtestimg.ppm4cr�mw�rz�vy�w~�}������������z�|q�ql�jh�c`yYTnKJdAWQEVPDUOC8938938939:4;<6<=7?>9@?:@?:B?:C@;C@;C@;D…
A Dconfigure1011 | --no-cr | --no-c | -n)
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/libtiff/
A Dtif_pixarlog.c123 t0 = ToLinearF[cr = (wp[0] & mask)]; in horizontalAccumulateF()
134 t0 = ToLinearF[(cr += wp[0]) & mask]; in horizontalAccumulateF()
142 t0 = ToLinearF[cr = (wp[0] & mask)]; in horizontalAccumulateF()
155 t0 = ToLinearF[(cr += wp[0]) & mask]; in horizontalAccumulateF()
311 op[0] = (uint16)((cr += wp[0]) & mask); in horizontalAccumulate11()
324 op[0] = (uint16)((cr += wp[0]) & mask); in horizontalAccumulate11()
358 op[0] = ToLinear8[(cr += wp[0]) & mask]; in horizontalAccumulate8()
403 t3 = ToLinear8[cr = (wp[0] & mask)]; in horizontalAccumulate8abgr()
415 t3 = ToLinear8[(cr += wp[0]) & mask]; in horizontalAccumulate8abgr()
424 t3 = ToLinear8[cr = (wp[0] & mask)]; in horizontalAccumulate8abgr()
[all …]
A Dtif_predict.c299 unsigned int cr = cp[0]; in horAcc8() local
305 cp[0] = (unsigned char) ((cr += cp[0]) & 0xff); in horAcc8()
312 unsigned int cr = cp[0]; in horAcc8() local
319 cp[0] = (unsigned char) ((cr += cp[0]) & 0xff); in horAcc8()
/AliOS-Things-master/components/ble_mesh/bt_shell/bt_mesh/
A Dshell.c2476 struct ctrl_relay_param cr; in ctrl_relay_get() local
2480 err = bt_mesh_cfg_ctrl_relay_get(net.net_idx, net.dst, &cr, &status); in ctrl_relay_get()
2492 printf("enable:%d N:%d rssi:%d\n", cr.enable, cr.trd_n, cr.rssi); in ctrl_relay_get()
2493 …printf("status_period:%d check_period:%d request_period:%d\n", cr.sta_period, cr.chk_period, cr.re… in ctrl_relay_get()
2500 struct ctrl_relay_param cr; in ctrl_relay_set() local
2504 cr.enable = strtoul(argv[1], NULL, 0); in ctrl_relay_set()
2505 cr.trd_n = strtoul(argv[2], NULL, 0); in ctrl_relay_set()
2506 cr.rssi = strtoul(argv[3], NULL, 0); in ctrl_relay_set()
2507 cr.sta_period = strtoul(argv[4], NULL, 0); in ctrl_relay_set()
2508 cr.chk_period = strtoul(argv[5], NULL, 0); in ctrl_relay_set()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/scripts/
A Dsmakefile.ppc14 AR_FLAGS = cr
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/api/mesh/
A Dcfg_cli.h216 int bt_mesh_cfg_ctrl_relay_get(u16_t net_idx, u16_t addr, struct ctrl_relay_param *cr, u8_t *status…
218 int bt_mesh_cfg_ctrl_relay_set(u16_t net_idx, u16_t addr, const struct ctrl_relay_param *cr, u8_t *…
/AliOS-Things-master/components/SDL2/src/image/
A Dnanosvgrast.h990 int i, cr, cg, cb, ca; in nsvg__scanlineSolid() local
991 cr = cache->colors[0] & 0xff; in nsvg__scanlineSolid()
1001 r = nsvg__div255(cr * a); in nsvg__scanlineSolid()
1024 int i, cr, cg, cb, ca; in nsvg__scanlineSolid() local
1035 cr = (c) & 0xff; in nsvg__scanlineSolid()
1044 r = nsvg__div255(cr * a); in nsvg__scanlineSolid()
1069 int i, cr, cg, cb, ca; in nsvg__scanlineSolid() local
1082 cr = (c) & 0xff; in nsvg__scanlineSolid()
1091 r = nsvg__div255(cr * a); in nsvg__scanlineSolid()
A Dconfigure1195 | --no-cr | --no-c | -n)
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/
A Dcfg_cli.c2099 int bt_mesh_cfg_ctrl_relay_get(u16_t net_idx, u16_t addr, struct ctrl_relay_param *cr, u8_t *status) in bt_mesh_cfg_ctrl_relay_get() argument
2110 .cr_p = cr, in bt_mesh_cfg_ctrl_relay_get()
2136 int bt_mesh_cfg_ctrl_relay_set(u16_t net_idx, u16_t addr, const struct ctrl_relay_param *cr, u8_t *… in bt_mesh_cfg_ctrl_relay_set() argument
2156 net_buf_simple_add_u8(msg, cr->enable); in bt_mesh_cfg_ctrl_relay_set()
2157 net_buf_simple_add_u8(msg, cr->trd_n); in bt_mesh_cfg_ctrl_relay_set()
2158 net_buf_simple_add_u8(msg, cr->rssi); in bt_mesh_cfg_ctrl_relay_set()
2159 net_buf_simple_add_u8(msg, cr->sta_period); in bt_mesh_cfg_ctrl_relay_set()
2160 net_buf_simple_add_u8(msg, cr->chk_period); in bt_mesh_cfg_ctrl_relay_set()
2161 net_buf_simple_add_u8(msg, cr->req_period); in bt_mesh_cfg_ctrl_relay_set()
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/amiga/
A DMakefile.pup10 AR = ppc-amigaos-ar cr
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/old/os2/
A DMakefile.os236 AR=emxomfar cr
/AliOS-Things-master/components/py_engine/engine/tools/
A Duncrustify.cfg10 newlines = auto # lf/crlf/cr/auto
/AliOS-Things-master/hardware/chip/rtl872xd/bin/
A Dkm0_image2_all.bin193 ���cz3cr@�c�\�
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/
A Dconfigure1059 | --no-cr | --no-c | -n)
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/
A Dconfigure1077 | --no-cr | --no-c | -n)

Completed in 117 milliseconds

12