/AliOS-Things-master/components/lwip/lwip2.0.0/apps/telnetd/ |
A D | telnetserver_cli.c | 57 static int CommandParseLine(char *inbuf) in CommandParseLine() argument 79 switch (inbuf[i]) { in CommandParseLine() 89 memcpy(&inbuf[i - 1], &inbuf[i], strlen(&inbuf[i]) + 1); in CommandParseLine() 108 inbuf[i] = '\0'; in CommandParseLine() 114 memcpy(&inbuf[i - 1], &inbuf[i], in CommandParseLine() 115 strlen(&inbuf[i]) + 1); in CommandParseLine() 121 inbuf[i] = '\0'; in CommandParseLine() 127 memcpy(&inbuf[i - 1], &inbuf[i], in CommandParseLine() 128 strlen(&inbuf[i]) + 1); in CommandParseLine() 137 inbuf[i] = '\0'; in CommandParseLine() [all …]
|
/AliOS-Things-master/components/cli/src/ |
A D | cli.c | 55 char inbuf[CLI_INBUF_SIZE]; member 181 switch (inbuf[i]) { in cli_handle_input() 192 memcpy(&inbuf[i - 1], &inbuf[i], in cli_handle_input() 220 memcpy(&inbuf[i - 1], &inbuf[i], in cli_handle_input() 233 memcpy(&inbuf[i - 1], &inbuf[i], in cli_handle_input() 446 inbuf[*idx] = '\0'; in cli_tab_complete_path() 553 (inbuf[(*idx) - 1] == '/' || inbuf[(*idx) - 1] == ' ') ? in cli_tab_complete_path() 568 (inbuf[(*idx) - 1] == '/' || inbuf[(*idx) - 1] == ' ') ? "" : in cli_tab_complete_path() 583 inbuf[len] = '\0'; in cli_tab_complete_path() 724 if (inbuf == NULL) { in cli_get_input() [all …]
|
A D | uart_console.c | 58 char *inbuf = (char *)buf; in uart_console_read() local 70 ret = hal_uart_recv_II(&uart_stdio, inbuf, 1, &recv_size, HAL_WAIT_FOREVER); in uart_console_read() 78 *inbuf = ch; in uart_console_read()
|
A D | telnet_console.c | 59 char *inbuf = (char *)buf; in telnet_console_read() local 62 ret = telnet_read_from_buffer(inbuf); in telnet_console_read() 65 ret = telnet_read_from_buffer(inbuf); in telnet_console_read()
|
A D | cli_adapt.c | 28 int32_t cli_getchar(char *inbuf) in cli_getchar() argument 30 return cli_console_read(get_clitask_console(), inbuf, 1); in cli_getchar()
|
A D | cli_adapt.h | 41 int32_t cli_getchar(char *inbuf);
|
A D | cli_uagent.c | 15 int32_t cli_handle_input(char *inbuf);
|
/AliOS-Things-master/components/amp/engine/duktape_engine/ |
A D | repl.c | 37 char inbuf[REPL_INBUF_SIZE]; member 52 static int32_t repl_getchar(char *inbuf) in repl_getchar() argument 188 duk_push_pointer(ctx, inbuf); in repl_handle_input() 214 char *inbuf = g_repl->inbuf; in repl_history_input() local 336 if (inbuf == NULL) in repl_get_input() 346 inbuf[*bp] = '\0'; in repl_get_input() 415 inbuf[*bp] = 0x1b; in repl_get_input() 418 inbuf[*bp] = key1; in repl_get_input() 421 inbuf[*bp] = key2; in repl_get_input() 452 *bp = strlen(inbuf); in repl_get_input() [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/tools/ |
A D | tiff2bw.c | 127 unsigned char *inbuf, *outbuf; in main() local 137 inbuf = (unsigned char *) NULL; in main() 250 if (TIFFReadScanline(in, inbuf, row, 0) < 0) in main() 260 if (TIFFReadScanline(in, inbuf, row, 0) < 0) in main() 262 compresscontig(outbuf, inbuf, w); in main() 273 inbuf+s*rowsize, row, s) < 0) in main() 276 inbuf, inbuf+rowsize, inbuf+2*rowsize, w); in main() 283 if (inbuf) in main() 284 _TIFFfree(inbuf); in main() 292 if (inbuf) in main() [all …]
|
A D | tiffcp.c | 1064 tdata_t inbuf; in DECLAREcpFunc() local 1081 inbuf = _TIFFmalloc(scanlinesizein); in DECLAREcpFunc() 1083 if (!inbuf || !outbuf) in DECLAREcpFunc() 1097 inp = ((uint8*)inbuf) + s; in DECLAREcpFunc() 1111 if (inbuf) _TIFFfree(inbuf); in DECLAREcpFunc() 1115 if (inbuf) _TIFFfree(inbuf); in DECLAREcpFunc() 1127 tdata_t inbuf; in DECLAREcpFunc() local 1146 if (!inbuf || !outbuf) in DECLAREcpFunc() 1160 inp = (uint8*)inbuf; in DECLAREcpFunc() 1174 if (inbuf) _TIFFfree(inbuf); in DECLAREcpFunc() [all …]
|
/AliOS-Things-master/components/SDL2/src/stdlib/ |
A D | SDL_iconv.c | 65 const char **inbuf, size_t * inbytesleft, in SDL_iconv() argument 70 retCode = iconv((iconv_t) ((size_t) cd), (char **) inbuf, inbytesleft, outbuf, outbytesleft); in SDL_iconv() 72 retCode = iconv((iconv_t) ((size_t) cd), inbuf, inbytesleft, outbuf, outbytesleft); in SDL_iconv() 249 const char **inbuf, size_t * inbytesleft, in SDL_iconv() argument 259 if (!inbuf || !*inbuf) { in SDL_iconv() 266 src = *inbuf; in SDL_iconv() 844 *inbuf = src; in SDL_iconv() 865 SDL_iconv_string(const char *tocode, const char *fromcode, const char *inbuf, in SDL_iconv_string() argument 902 retCode = SDL_iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); in SDL_iconv_string() 920 ++inbuf; in SDL_iconv_string()
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/repl/ |
A D | repl.c | 31 int aos_repl_read(char *inbuf, uint32_t expected_length, uint32_t *recv_size) in aos_repl_read() argument 35 ret = aos_hal_uart_recv_II(&g_repl_uart, inbuf, expected_length, recv_size, 100); in aos_repl_read()
|
A D | repl.h | 32 int aos_repl_read(char *inbuf, uint32_t expected_length, uint32_t *recv_size);
|
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/examples/ |
A D | gun.c | 83 unsigned char *inbuf; member 96 next = me->inbuf; in in() 161 unsigned char inbuf[SIZE]; /* input buffer */ variable 393 ind.inbuf = inbuf; in gunpipe()
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/apps/factory/ |
A D | app_factory_audio.h | 19 int app_factorymode_mic_cancellation_run(void * mic_st, signed short *inbuf, int sample);
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/multimedia/speech/inc/ |
A D | buffer_manager.h | 34 BufferManagerStatus buffer_manager_process(BufferManager *st, void *inbuf, int inlen, void *outbuf,…
|
/AliOS-Things-master/components/py_engine/external/unzip/src/ |
A D | gzio.c-bak | 62 Byte *inbuf; /* input buffer */ 115 s->stream.next_in = s->inbuf = Z_NULL; 175 if (err != Z_OK || s->inbuf == Z_NULL) { 274 s->stream.next_in = s->inbuf; 307 s->stream.next_in = s->inbuf; 384 TRYFREE(s->inbuf); 461 s->stream.next_in = s->inbuf; 790 if (s->inbuf == Z_NULL) { 793 zmemzero(s->inbuf, Z_BUFSIZE); 819 s->stream.next_in = s->inbuf; [all …]
|
/AliOS-Things-master/components/SDL2/src/audio/ |
A D | SDL_audiocvt.c | 487 const float *inbuf, const int inbuflen, in SDL_ResampleAudio() argument 520 …e = (srcframe < 0) ? lpadding[((paddinglen + srcframe) * chans) + chan] : inbuf[(srcframe * chans)… in SDL_ResampleAudio() 527 …rcframe >= inframes) ? rpadding[((srcframe - inframes) * chans) + chan] : inbuf[(srcframe * chans)… in SDL_ResampleAudio() 1089 typedef int (*SDL_ResampleAudioStreamFunc)(SDL_AudioStream *stream, const void *inbuf, const int in… 1150 const float *inbuf = (const float *) _inbuf; in SDL_ResampleAudioStream_SRC() local 1157 …SDL_assert(inbuf != ((const float *) outbuf)); /* SDL_AudioStreamPut() shouldn't allow in-place r… in SDL_ResampleAudioStream_SRC() 1159 …data.data_in = (float *)inbuf; /* Older versions of libsamplerate had a non-const pointer, but did… in SDL_ResampleAudioStream_SRC() 1233 const float *inbuf = (const float *) _inbuf; in SDL_ResampleAudioStream() local 1245 …SDL_assert(inbuf != ((const float *) outbuf)); /* SDL_AudioStreamPut() shouldn't allow in-place r… in SDL_ResampleAudioStream() 1247 …retval = SDL_ResampleAudio(chans, inrate, outrate, lpadding, rpadding, inbuf, inbuflen, outbuf, ou… in SDL_ResampleAudioStream()
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/gregbook/ |
A D | rpng2-win.c | 187 static uch inbuf[INBUFSIZE]; variable 489 incount = fread(inbuf, 1, INBUFSIZE, infile); in WinMain() 490 if (incount < 8 || !readpng2_check_sig(inbuf, 8)) { in WinMain() 578 if (readpng2_decode_data(&rpng2_info, inbuf, incount)) in WinMain() 602 incount = fread(inbuf, 1, INBUFSIZE, infile); in WinMain()
|
A D | rpng2-x.c | 208 static uch inbuf[INBUFSIZE]; variable 521 incount = fread(inbuf, 1, INBUFSIZE, infile); in main() 522 if (incount < 8 || !readpng2_check_sig(inbuf, 8)) { in main() 602 if (readpng2_decode_data(&rpng2_info, inbuf, incount)) in main() 626 incount = fread(inbuf, 1, INBUFSIZE, infile); in main()
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/ |
A D | pngtest.c | 1732 char inbuf[256], outbuf[256]; in test_one_file() local 1734 num_in = fread(inbuf, 1, sizeof inbuf, fpin); in test_one_file() 1769 if (memcmp(inbuf, outbuf, num_in)) in test_one_file()
|
/AliOS-Things-master/components/SDL2/include/ |
A D | SDL_stdinc.h | 563 extern DECLSPEC size_t SDLCALL SDL_iconv(SDL_iconv_t cd, const char **inbuf, 572 const char *inbuf,
|