Home
last modified time | relevance | path

Searched refs:nc (Results 1 – 20 of 20) sorted by relevance

/AliOS-Things-master/components/uvoice/stream/
A Duvoice_cache.c94 nc->load_length += nc->head_data_size; in net_cache_file()
106 rd_ret = nc->cache_load(nc->priv, nc->buffer, load_size); in net_cache_file()
209 nc->load_length, nc->content_length); in net_cache_file()
498 nc->buffer, nc->head_data_size); in net_cache_mem()
509 nc->load_length += nc->head_data_size; in net_cache_mem()
526 rd_ret = nc->cache_load(nc->priv, nc->buffer + nc->offset, in net_cache_mem()
531 nc->load_length -= nc->offset; in net_cache_mem()
536 nc->load_length -= nc->offset; in net_cache_mem()
547 nc->load_length -= nc->offset; in net_cache_mem()
584 nc->load_length -= nc->offset; in net_cache_mem()
[all …]
A Duvoice_download.c32 if (!nc) { in net_download_work()
91 nc->load_length += nc->head_data_size; in net_download_work()
96 nc->content_length - nc->load_length); in net_download_work()
103 rd_ret = nc->cache_load(nc->priv, nc->buffer, load_size); in net_download_work()
121 nc->content_length - nc->load_length); in net_download_work()
124 nc->load_length, nc->content_length); in net_download_work()
148 nc->load_length, nc->content_length); in net_download_work()
165 if (!nc) { in new_download_abort()
193 if (!nc) { in net_download_create()
200 nc->buffer = snd_zalloc(nc->buffer_size, AFM_MAIN); in net_download_create()
[all …]
A Duvoice_http.c383 nc = loader->nc; in http_request()
389 if ((!nc->buffer) || (0 == nc->buffer_size)) { in http_request()
394 memset(nc->buffer, 0, nc->buffer_size); in http_request()
397 snprintf(nc->buffer, nc->buffer_size, in http_request()
401 snprintf(nc->buffer, nc->buffer_size, in http_request()
428 memset(nc->buffer, 0, nc->buffer_size); in http_request()
579 if (loader->nc && loader->nc->offset > 0) in http_read()
692 nc = loader->nc; in http_source_format()
718 nc->buffer + nc->head_data_size, read_size); in http_source_format()
1148 nc = loader->nc; in http_loader_read()
[all …]
A Duvoice_cache.h72 int net_get_cacheinfo(net_cache_t *nc, cache_info_t *info);
73 int net_get_mediainfo(net_cache_t *nc, media_info_t *info, media_format_t format);
74 int net_cache_reset(net_cache_t *nc);
75 int net_cache_seek(net_cache_t *nc, int offset);
76 int net_cache_pause(net_cache_t *nc);
77 int net_cache_resume(net_cache_t *nc);
78 int net_cache_start(net_cache_t *nc);
79 int net_cache_stop(net_cache_t *nc);
81 int net_cache_release(net_cache_t *nc);
A Duvoice_hls.c421 net_cache_t *nc; in uvoice_hls_build() local
431 nc = loader->nc; in uvoice_hls_build()
432 if (!nc) { in uvoice_hls_build()
589 if (os_fwrite(nc->buffer, 1, nc->head_data_size, hls->fp) != in uvoice_hls_build()
600 memcpy(hls->pos, nc->buffer, nc->head_data_size); in uvoice_hls_build()
604 nc->load_length += nc->head_data_size; in uvoice_hls_build()
609 nc->content_length - nc->load_length); in uvoice_hls_build()
613 rd_ret = nc->cache_load(nc->priv, in uvoice_hls_build()
640 nc->content_length - nc->load_length); in uvoice_hls_build()
643 nc->sequence = 1; in uvoice_hls_build()
[all …]
A Duvoice_download.h5 int net_download_work(net_cache_t *nc);
6 int new_download_abort(net_cache_t *nc);
8 int net_download_release(net_cache_t *nc);
A Duvoice_http.h28 net_cache_t *nc; member
74 net_cache_t *nc; member
/AliOS-Things-master/components/fatfs/src/
A Dffunicode.c5701 WCHAR bc, nc, cmd; in ff_wtoupper() local
5708 nc = *p++; cmd = nc >> 8; nc &= 0xFF; /* Get processing command and block size */ in ff_wtoupper()
5709 if (uni < bc + nc) { /* In the block? */ in ff_wtoupper()
5723 if (!cmd) p += nc; in ff_wtoupper()
A Dff.c452 #define MAXDIRB(nc) ((nc + 44U) / 15 * SZDIRE) /* exFAT: Size of directory entry block scratchpad b… argument
1970 UINT di, si, nc; local
1973 for (si = SZDIRE * 2, nc = di = 0; nc < dirb[XDIR_NumName]; si += 2, nc++) {
2254 BYTE nc; local
2263 …for (nc = fs->dirbuf[XDIR_NumName], di = SZDIRE * 2, ni = 0; nc; nc--, di += 2, ni++) { /* Compare…
2267 if (nc == 0 && !fs->lfnbuf[ni]) break; /* Name matched? */
2613 WCHAR pc, nc; local
2631 nc = *np; break; /* Branch mismatched */
2634 nc = get_achar(&np); /* Get a name char */
2635 if (pc != nc) break; /* Branch mismatched? */
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/2nd_boot/
A Drec_uart.c21 unsigned char nc = 0; in rec_loguart_irq() local
26 nc = DiagGetChar(0); in rec_loguart_irq()
28 uart_buf[uart_buf_write_index] = nc; in rec_loguart_irq()
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/
A Djquant1.c205 for (i = 1; i < nc; i++) in select_ncolors()
216 for (i = 0; i < nc; i++) { in select_ncolors()
228 for (i = 0; i < nc; i++) { in select_ncolors()
478 for (ci = 0; ci < nc; ci++) { in color_quantize()
526 int nc = cinfo->out_color_components; in quantize_ord_dither() local
537 for (ci = 0; ci < nc; ci++) { in quantize_ord_dither()
553 input_ptr += nc; in quantize_ord_dither()
627 int nc = cinfo->out_color_components; in quantize_fs_dither() local
641 for (ci = 0; ci < nc; ci++) { in quantize_fs_dither()
649 dirnc = -nc; in quantize_fs_dither()
[all …]
A Djccolor.c400 register int nc = cinfo->num_components; in null_convert() local
408 for (ci = 0; ci < nc; ci++) { in null_convert()
413 inptr += nc; in null_convert()
A Djdcolor.c435 register int nc = cinfo->num_components; in null_convert() local
442 for (ci = 0; ci < nc; ci++) { in null_convert()
447 outptr += nc; in null_convert()
/AliOS-Things-master/components/py_engine/engine/lib/oofatfs/
A Dffunicode.c503 WORD uc, bc, nc, cmd; in ff_wtoupper() local
603 nc = *p++; cmd = nc >> 8; nc &= 0xFF; /* Get processing command and block size */ in ff_wtoupper()
604 if (uc < bc + nc) { /* In the block? */ in ff_wtoupper()
618 if (cmd == 0) p += nc; /* Skip table if needed */ in ff_wtoupper()
A Dff.c481 #define MAXDIRB(nc) ((nc + 44U) / 15 * SZDIRE) /* exFAT: Size of directory entry block scratchpad … argument
2093 UINT di, si, nc; local
2097 nc = 0; hs = 0; di = 0;
2098 while (nc < dirb[XDIR_NumName]) {
2101 wc = ld_word(dirb + si); si += 2; nc++; /* Get a character */
2397 BYTE nc; local
2406 …for (nc = fs->dirbuf[XDIR_NumName], di = SZDIRE * 2, ni = 0; nc; nc--, di += 2, ni++) { /* Compare…
2760 DWORD pc, nc; local
2778 nc = *np; break; /* Branch mismatched */
2781 nc = get_achar(&np); /* Get a name char */
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/tools/
A Dtiff2ps.c614 fprintf(fd, startline, nc); in PhotoshopBanner()
2420 for (i = 0; i < nc; i++) in PSColorSeparatePreamble()
2427 for (i = 0; i < nc; i++) in PSColorSeparatePreamble()
2474 DOBREAK(breaklen, nc, fd); in PSDataColorContig()
2481 adjust = 255 - cp[nc]; in PSDataColorContig()
2482 switch (nc) { in PSDataColorContig()
2493 DOBREAK(breaklen, nc, fd); in PSDataColorContig()
2494 switch (nc) { in PSDataColorContig()
2523 maxs = (samplesperpixel > nc ? nc : samplesperpixel); in PSDataColorSeparate()
2546 int breaklen = MAXLINE, nc; in PSDataPalette() local
[all …]
/AliOS-Things-master/components/SDL2/src/image/
A DIMG_pcx.c243 int nc = 1 << src_bits; in IMG_LoadPCX_RW() local
246 surface->format->palette->ncolors = nc; in IMG_LoadPCX_RW()
264 for ( i = 0; i < nc; i++ ) { in IMG_LoadPCX_RW()
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/iptcutil/
A Diptcutil.c825 char c,nc; in tokenizer() local
900 nc=line[(*next)+1]; in tokenizer()
901 if(nc==0) /* end of line */ in tokenizer()
918 chstore(token,tokmax,nc); in tokenizer()
/AliOS-Things-master/components/SDL2/test/
A Dtestautomation_audio.c407 int i, j, no, nc; in audio_enumerateAndNameAudioDevicesNegativeTests() local
413 nc = SDL_GetNumAudioDevices(1); in audio_enumerateAndNameAudioDevicesNegativeTests()
426 i = (t) ? nc+j : no+j; in audio_enumerateAndNameAudioDevicesNegativeTests()
433 if ((no>0) && (no>nc) && (t==1)) { in audio_enumerateAndNameAudioDevicesNegativeTests()
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/libtiff/
A Dtif_dirwrite.c2236 uint32 nc; in TIFFWriteDirectoryTagCheckedRationalArray() local
2245 for (na=value, nb=m, nc=0; nc<count; na++, nb+=2, nc++) in TIFFWriteDirectoryTagCheckedRationalArray()
2283 uint32 nc; in TIFFWriteDirectoryTagCheckedSrationalArray() local
2292 for (na=value, nb=m, nc=0; nc<count; na++, nb+=2, nc++) in TIFFWriteDirectoryTagCheckedSrationalArray()

Completed in 94 milliseconds