/AliOS-Things-master/components/uvoice/stream/ |
A D | uvoice_cache.c | 94 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 D | uvoice_download.c | 32 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 D | uvoice_http.c | 383 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 D | uvoice_cache.h | 72 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 D | uvoice_hls.c | 421 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 D | uvoice_download.h | 5 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 D | uvoice_http.h | 28 net_cache_t *nc; member 74 net_cache_t *nc; member
|
/AliOS-Things-master/components/fatfs/src/ |
A D | ffunicode.c | 5701 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 D | ff.c | 452 #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 D | rec_uart.c | 21 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 D | jquant1.c | 205 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 D | jccolor.c | 400 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 D | jdcolor.c | 435 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 D | ffunicode.c | 503 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 D | ff.c | 481 #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 D | tiff2ps.c | 614 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 D | IMG_pcx.c | 243 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 D | iptcutil.c | 825 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 D | testautomation_audio.c | 407 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 D | tif_dirwrite.c | 2236 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()
|