Home
last modified time | relevance | path

Searched refs:buf2 (Results 1 – 17 of 17) sorted by relevance

/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/tests/
A Dtest_std.js144 var fd, fpath, fname, fdir, buf, buf2, i, files, err, fdate, st, link_path;
169 buf2 = new Uint8Array(buf.length);
170 assert(os.read(fd, buf2.buffer, 0, buf2.length) === buf2.length);
173 assert(buf[i] == buf2[i]);
177 assert(os.read(fd, buf2.buffer, 0, 1) === 1);
178 assert(buf[6] == buf2[0]);
213 [buf2, err] = os.realpath(".");
216 assert(buf, buf2);
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/tools/
A Draw2tiff.c372 char *buf1, *buf2; in guessSize() local
424 buf2 = _TIFFmalloc(scanlinesize); in guessSize()
458 _TIFFfree(buf2); in guessSize()
493 Y = ((unsigned char *)buf2)[i]; in correlation()
502 Y = ((signed char *)buf2)[i]; in correlation()
511 Y = ((uint16 *)buf2)[i]; in correlation()
520 Y = ((int16 *)buf2)[i]; in correlation()
529 Y = ((uint32 *)buf2)[i]; in correlation()
538 Y = ((int32 *)buf2)[i]; in correlation()
547 Y = ((float *)buf2)[i]; in correlation()
[all …]
A Dtiffcmp.c161 unsigned char *buf1, *buf2; in tiffcmp() local
180 if (buf1 == NULL || buf2 == NULL) { in tiffcmp()
193 if (TIFFReadScanline(tif2, buf2, row, 0) < 0) in tiffcmp()
198 if (SeparateCompare(1, s, row, buf2, buf1) < 0) in tiffcmp()
208 if (TIFFReadScanline(tif2, buf2, row, s) < 0) in tiffcmp()
210 if (SeparateCompare(0, s, row, buf1, buf2) < 0) in tiffcmp()
220 if (TIFFReadScanline(tif2, buf2, row, s) < 0) in tiffcmp()
222 if (ContigCompare(s, row, buf1, buf2, size1) < 0) in tiffcmp()
230 if (TIFFReadScanline(tif2, buf2, row, 0) < 0) in tiffcmp()
238 if (buf2) _TIFFfree(buf2); in tiffcmp()
[all …]
/AliOS-Things-master/components/littlevgl/src/lv_hal/
A Dlv_hal_disp.c101 void lv_disp_buf_init(lv_disp_buf_t * disp_buf, void * buf1, void * buf2, uint32_t size_in_px_cnt) in lv_disp_buf_init() argument
106 disp_buf->buf2 = buf2; in lv_disp_buf_init()
332 if(disp->driver.buffer->buf1 && disp->driver.buffer->buf2) in lv_disp_is_double_buf()
A Dlv_hal_disp.h50 void * buf2; /**< Second display buffer. */ member
177 void lv_disp_buf_init(lv_disp_buf_t * disp_buf, void * buf1, void * buf2, uint32_t size_in_px_cnt);
/AliOS-Things-master/components/py_engine/tests/extmod/
A Dframebuf16.py49 buf2 = bytearray(w2 * h2 * 2) variable
50 fbuf2 = framebuf.FrameBuffer(buf2, w2, h2, framebuf.RGB565)
A Dframebuf2.py51 buf2 = bytearray(w2 * h2 // 4) variable
52 fbuf2 = framebuf.FrameBuffer(buf2, w2, h2, framebuf.GS2_HMSB)
/AliOS-Things-master/components/mbedtls/programs/pkey/
A Ddh_server.c98 unsigned char buf2[2]; in main() local
253 buf2[0] = (unsigned char)( buflen >> 8 ); in main()
254 buf2[1] = (unsigned char)( buflen ); in main()
256 if( ( ret = mbedtls_net_send( &client_fd, buf2, 2 ) ) != 2 || in main()
/AliOS-Things-master/components/ota/2ndboot/updater/
A Dlibc.c70 int ota_memcmp(const void * buf1, const void * buf2, unsigned int count) in ota_memcmp() argument
75 while ( --count && *(char *)buf1 == *(char *)buf2 ) { in ota_memcmp()
77 buf2 = (char *)buf2 + 1; in ota_memcmp()
79 return (*((unsigned char *)buf1) - *((unsigned char *)buf2)); in ota_memcmp()
/AliOS-Things-master/components/ota/2ndboot/updater/include/
A Dlibc.h52 int ota_memcmp(const void * buf1, const void * buf2, unsigned int count);
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A Djscompress.c898 uint8_t *buf1, *buf2; in main() local
903 buf2_len = lz_compress(&buf2, buf1, buf1_len); in main()
910 save_c_source(out_filename, buf2, buf2_len, c_var); in main()
912 save_file(out_filename, buf2, buf2_len); in main()
915 free(buf2); in main()
A Dlibbf.c7887 NTTLimb *buf2, *buf3; in ntt_fft_partial() local
7889 buf2 = NULL; in ntt_fft_partial()
7899 if (!buf2) in ntt_fft_partial()
7928 ntt_free(s, buf2); in ntt_fft_partial()
7933 ntt_free(s, buf2); in ntt_fft_partial()
8409 if (!buf2) in fft_mul()
8417 if (!buf2) in fft_mul()
8424 ptr = buf2; in fft_mul()
8434 ntt_free(s, buf2); in fft_mul()
8435 buf2 = NULL; in fft_mul()
[all …]
A Dunicode_gen.c2858 const int *buf2, int len2) in check_str() argument
2860 if (len1 != len2 || tabcmp(buf1, buf2, len1) != 0) { in check_str()
2864 dump_str("ref", buf2, len2); in check_str()
A Dquickjs.c11192 char buf1[JS_DTOA_BUF_SIZE], buf2[JS_DTOA_BUF_SIZE]; in js_ecvt() local
11204 js_ecvt1(d, n_digits + 1, &decpt2, &sign2, buf2, FE_UPWARD, in js_ecvt()
11206 if (memcmp(buf1, buf2, n_digits + 1) == 0 && decpt1 == decpt2) { in js_ecvt()
11239 char buf2[JS_DTOA_BUF_SIZE]; in js_fcvt() local
11250 n2 = js_fcvt1(buf2, sizeof(buf2), d, n_digits + 1, FE_UPWARD); in js_fcvt()
11251 if (n1 == n2 && memcmp(buf1, buf2, n1) == 0) { in js_fcvt()
27124 char buf2[ATOM_GET_STR_BUF_SIZE]; in js_resolve_export_throw_error() local
27132 JS_AtomGetStr(ctx, buf2, sizeof(buf2), m->module_name)); in js_resolve_export_throw_error()
27137 JS_AtomGetStr(ctx, buf2, sizeof(buf2), m->module_name)); in js_resolve_export_throw_error()
27142 JS_AtomGetStr(ctx, buf2, sizeof(buf2), m->module_name)); in js_resolve_export_throw_error()
/AliOS-Things-master/components/littlevgl/src/lv_core/
A Dlv_refr.c190 uint8_t * buf_ina = (uint8_t *)vdb->buf_act == vdb->buf1 ? vdb->buf2 : vdb->buf1; in lv_disp_refr_task()
577 if(vdb->buf1 && vdb->buf2) { in lv_refr_vdb_flush()
579 vdb->buf_act = vdb->buf2; in lv_refr_vdb_flush()
/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/hal/
A Dhal_trace.h282 const unsigned char **buf2, unsigned int *len2), \
283 …{ if (buf1) { *buf1 = NULL; } if (len1) { *len1 = 0; } if (buf2) { *buf2 = NULL; } if (len2) { *le…
/AliOS-Things-master/components/amp/engine/duktape_engine/duktape/
A Dduktape.c11139 …all_int_t duk_js_data_compare(const duk_uint8_t *buf1, const duk_uint8_t *buf2, duk_size_t len1, d…
87552 DUK_INTERNAL duk_small_int_t duk_js_data_compare(const duk_uint8_t *buf1, const duk_uint8_t *buf2, … argument
87562 (const void *) buf2,

Completed in 386 milliseconds