Searched refs:readbytes (Results 1 – 3 of 3) sorted by relevance
/AliOS-Things-master/hardware/board/haaseduk1/board_test/ |
A D | sd_test.c | 25 int readbytes = 0; in sdtest_write() local 63 readbytes = fread(data, 1, SDTEST_FILE_LEN, testfd); in sdtest_write() 64 if (readbytes != SDTEST_FILE_LEN) { in sdtest_write() 65 …("sdtest read %d bytes form %s failed, return %d\n", SDTEST_FILE_LEN, SDTEST_FILE_NAME, readbytes); in sdtest_write() 118 int readbytes = 0; in sdtest_read() local 133 readbytes = fread(data, 1, words_len, testfd); in sdtest_read() 134 if (readbytes != words_len) { in sdtest_read() 135 …printf("sdtest read %d bytes form %s failed, return %d\n", words_len, SDTEST_FILE_NAME, readbytes); in sdtest_read()
|
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/tftp/ |
A D | tftp_client.c | 185 size_t readbytes; in tftp_fread() local 186 readbytes = fread(buf, 1, (size_t)bytes, (FILE*)handle); in tftp_fread() 187 return (int)readbytes; in tftp_fread()
|
A D | tftp_server.c | 395 size_t readbytes; in tftp_fread() 396 readbytes = fread(buf, 1, (size_t)bytes, (FILE*)handle); in tftp_fread() 397 return (int)readbytes; in tftp_fread()
|
Completed in 4 milliseconds