Home
last modified time | relevance | path

Searched refs:buf1 (Results 1 – 19 of 19) sorted by relevance

/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/tools/
A Draw2tiff.c337 if (buf1) in main()
338 _TIFFfree(buf1); in main()
372 char *buf1, *buf2; in guessSize() local
492 X = ((unsigned char *)buf1)[i]; in correlation()
501 X = ((signed char *)buf1)[i]; in correlation()
510 X = ((uint16 *)buf1)[i]; in correlation()
519 X = ((int16 *)buf1)[i]; in correlation()
528 X = ((uint32 *)buf1)[i]; in correlation()
537 X = ((int32 *)buf1)[i]; in correlation()
546 X = ((float *)buf1)[i]; in correlation()
[all …]
A Dtiffcmp.c161 unsigned char *buf1, *buf2; in tiffcmp() local
180 if (buf1 == NULL || buf2 == NULL) { in tiffcmp()
196 if (TIFFReadScanline(tif1, buf1, row, s) < 0) in tiffcmp()
198 if (SeparateCompare(1, s, row, buf2, buf1) < 0) in tiffcmp()
205 if (TIFFReadScanline(tif1, buf1, row, 0) < 0) in tiffcmp()
210 if (SeparateCompare(0, s, row, buf1, buf2) < 0) in tiffcmp()
218 if (TIFFReadScanline(tif1, buf1, row, s) < 0) in tiffcmp()
222 if (ContigCompare(s, row, buf1, buf2, size1) < 0) in tiffcmp()
228 if (TIFFReadScanline(tif1, buf1, row, 0) < 0) in tiffcmp()
237 if (buf1) _TIFFfree(buf1); 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
105 disp_buf->buf1 = buf1; in lv_disp_buf_init()
107 disp_buf->buf_act = disp_buf->buf1; 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.h49 void * buf1; /**< First 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/mbedtls/library/
A Dentropy.c600 unsigned char buf1[2 * sizeof( unsigned long long int )]; in mbedtls_entropy_source_self_test() local
606 memset( buf1, 0x00, sizeof( buf1 ) ); in mbedtls_entropy_source_self_test()
610 if( ( ret = mbedtls_entropy_source_self_test_gather( buf1, sizeof( buf1 ) ) ) != 0 ) in mbedtls_entropy_source_self_test()
616 if( ( ret = mbedtls_entropy_source_self_test_check_bits( buf1, sizeof( buf1 ) ) ) != 0 ) in mbedtls_entropy_source_self_test()
621 ret = memcmp( buf0, buf1, sizeof( buf0 ) ) == 0; in mbedtls_entropy_source_self_test()
/AliOS-Things-master/components/py_engine/engine/drivers/display/
A Dlcd160cr.py73 self.buf1 = self.buf[1]
106 self.i2c.readfrom_into(self.i2c_addr, self.buf1)
107 if self.buf1[0] >= n:
117 self.i2c.readfrom_into(self.i2c_addr + 1, self.buf1)
118 r = self.buf1[0]
250 self.i2c.readfrom_into(self.i2c_addr, self.buf1)
251 if self.buf1[0] >= 2:
264 self.i2c.readfrom_into(self.i2c_addr, self.buf1)
265 if self.buf1[0] >= l:
/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()
76 buf1 = (char *)buf1 + 1; in ota_memcmp()
79 return (*((unsigned char *)buf1) - *((unsigned char *)buf2)); in ota_memcmp()
/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()
578 if(vdb->buf_act == vdb->buf1) in lv_refr_vdb_flush()
581 vdb->buf_act = vdb->buf1; in lv_refr_vdb_flush()
/AliOS-Things-master/components/amp/modules/
A Dap3216c.js151 var buf1;
154 buf1 = read_regs(reg + 1, len); // 读高字节
155 data = buf0 | (buf1 << len * 8); // 合并数据
/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/hal/
A Dhal_uart.h201 uint8_t *buf1, uint32_t len1,
220 const uint8_t *buf1, uint32_t len1,
A Dhal_trace.h281 TRACE_FUNC_DECLARE(void hal_trace_get_history_buffer(const unsigned char **buf1, unsigned int *len1…
283 …{ if (buf1) { *buf1 = NULL; } if (len1) { *len1 = 0; } if (buf2) { *buf2 = NULL; } if (len2) { *le…
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/swig/
A Dlibwebp_python_wrap.c3422 char *buf1 = 0 ; in _wrap_WebPGetInfo() local
3439 arg1 = (uint8_t *)(buf1); in _wrap_WebPGetInfo()
3470 char *buf1 = 0 ; in _wrap_WebPDecodeRGB() local
3487 arg1 = (uint8_t *)(buf1); in _wrap_WebPDecodeRGB()
3523 char *buf1 = 0 ; in _wrap_WebPDecodeRGBA() local
3540 arg1 = (uint8_t *)(buf1); in _wrap_WebPDecodeRGBA()
3576 char *buf1 = 0 ; in _wrap_WebPDecodeARGB() local
3593 arg1 = (uint8_t *)(buf1); in _wrap_WebPDecodeARGB()
3629 char *buf1 = 0 ; in _wrap_WebPDecodeBGR() local
3646 arg1 = (uint8_t *)(buf1); in _wrap_WebPDecodeBGR()
[all …]
/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
901 buf1_len = load_file(&buf1, fname); in main()
903 buf2_len = lz_compress(&buf2, buf1, buf1_len); in main()
914 free(buf1); in main()
A Dunicode_gen.c288 char buf1[256]; in parse_unicode_data() local
342 get_field_buf(buf1, sizeof(buf1), line, 2); in parse_unicode_data()
343 i = find_name(unicode_gc_name, countof(unicode_gc_name), buf1); in parse_unicode_data()
346 buf1); in parse_unicode_data()
405 get_field_buf(buf1, sizeof(buf1), line, 1); in parse_unicode_data()
406 if (strstr(buf1, " Last>")) { in parse_unicode_data()
2857 const int *buf1, int len1, in check_str() argument
2860 if (len1 != len2 || tabcmp(buf1, buf2, len1) != 0) { in check_str()
2863 dump_str("res", buf1, len1); in check_str()
A Dlibbf.c7882 static int ntt_fft_partial(BFNTTState *s, NTTLimb *buf1, in ntt_fft_partial() argument
7894 if (ntt_fft(s, buf1, buf1, buf3, k1, inverse, m_idx)) in ntt_fft_partial()
7956 if (ntt_fft_partial(s, buf1, k1, k2, n1, n2, 0, m_idx)) in ntt_conv()
7961 ntt_vec_mul(s, buf1, buf2, k, k_tot, m_idx); in ntt_conv()
7967 if (ntt_fft_partial(s, buf1, k1, k2, n1, n2, 1, m_idx)) in ntt_conv()
8365 NTTLimb *buf1, *buf2, *ptr; in fft_mul() local
8397 if (!buf1) in fft_mul()
8399 limb_to_ntt(s, buf1, fft_len, a_tab, a_len, dpl, in fft_mul()
8428 if (ntt_conv(s, buf1 + fft_len * j, ptr, in fft_mul()
8441 ntt_free(s, buf1); in fft_mul()
[all …]
A Dquickjs.c10068 char buf1[64], *buf; in js_atof2() local
10186 buf = buf1; in js_atof2()
11149 buf[0] = buf1[1]; in js_ecvt1()
11245 n1 = js_fcvt1(buf1, sizeof(buf1), d, n_digits + 1, FE_TONEAREST); in js_fcvt()
11249 n1 = js_fcvt1(buf1, sizeof(buf1), d, n_digits + 1, FE_DOWNWARD); in js_fcvt()
11297 ptr = i64toa(buf1 + sizeof(buf1), i64, radix); in js_dtoa1()
20146 JS_AtomGetStr(s->ctx, buf1, sizeof(buf1), in js_parse_error_reserved_identifier()
26738 JS_AtomGetStr(ctx, buf1, sizeof(buf1), export_name)); in add_export_entry2()
27131 JS_AtomGetStr(ctx, buf1, sizeof(buf1), export_name), in js_resolve_export_throw_error()
27136 JS_AtomGetStr(ctx, buf1, sizeof(buf1), export_name), in js_resolve_export_throw_error()
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/
A Ddwc_otg_pcd_if.h269 uint8_t * buf0, uint8_t * buf1,
/AliOS-Things-master/components/amp/engine/duktape_engine/duktape/
A Dduktape.c11139 DUK_INTERNAL_DECL duk_small_int_t duk_js_data_compare(const duk_uint8_t *buf1, const duk_uint8_t *b…
87552 DUK_INTERNAL duk_small_int_t duk_js_data_compare(const duk_uint8_t *buf1, const duk_uint8_t *buf2, … argument
87561 rc = duk_memcmp_unsafe((const void *) buf1,

Completed in 379 milliseconds