Searched refs:bytesRead (Results 1 – 6 of 6) sorted by relevance
/AliOS-Things-master/components/SDL2/test/ |
A D | testime.c | 107 size_t bytesRead; in unifont_init() local 144 bytesRead = SDL_RWread(hexFile, hexBuffer, 1, 9); in unifont_init() 145 if (numGlyphs > 0 && bytesRead == 0) in unifont_init() 147 if ((numGlyphs == 0 && bytesRead == 0) || (numGlyphs > 0 && bytesRead < 9)) in unifont_init() 180 bytesRead = SDL_RWread(hexFile, hexBuffer + bytesOverread, 1, 33 - bytesOverread); in unifont_init() 181 if (bytesRead < (33 - bytesOverread)) in unifont_init() 191 bytesRead = SDL_RWread(hexFile, hexBuffer + 33, 1, 32); in unifont_init() 192 if (bytesRead < 32) in unifont_init() 220 } while (bytesRead > 0); in unifont_init()
|
/AliOS-Things-master/components/oss/src/utils/ |
A D | Utils.cc | 350 auto bytesRead = stream.gcount(); in ComputeContentMD5() local 352 if (bytesRead > 0) in ComputeContentMD5() 354 … mbedtls_md5_update_ret(&ctx, (const unsigned char*)streamBuffer, static_cast<size_t>(bytesRead)); in ComputeContentMD5() 393 auto bytesRead = stream.gcount(); in ComputeContentMD5() 395 if (bytesRead > 0) in ComputeContentMD5() 397 EVP_DigestUpdate(ctx, streamBuffer, static_cast<size_t>(bytesRead)); in ComputeContentMD5() 483 auto bytesRead = stream.gcount(); in ComputeContentETag() local 485 if (bytesRead > 0) in ComputeContentETag() 521 auto bytesRead = stream.gcount(); in ComputeContentETag() 523 if (bytesRead > 0) in ComputeContentETag() [all …]
|
/AliOS-Things-master/hardware/chip/haas1000/hal/ |
A D | usbd.c | 227 …tus usbd_hal_endpoint_read_result(void *pdev, uint8_t endpoint, uint8_t *data, uint32_t *bytesRead) in usbd_hal_endpoint_read_result() argument
|
/AliOS-Things-master/components/drivers/core/base/include/aos/hal/ |
A D | usbd.h | 197 …us usbd_hal_endpoint_read_result(void *pdev, uint8_t endpoint, uint8_t *data, uint32_t *bytesRead);
|
/AliOS-Things-master/components/SDL2/src/gfx/Test/ |
A D | TestFonts.c | 127 int bytesRead; in LoadFontFile() local 159 bytesRead = fread(myfont,fontsize[i],1,file); in LoadFontFile()
|
/AliOS-Things-master/components/SDL2/src/core/android/ |
A D | SDL_android.c | 2071 int bytesRead = 0; in Android_JNI_FileRead() local 2104 bytesRead += result; in Android_JNI_FileRead() 2108 return bytesRead / size; in Android_JNI_FileRead()
|
Completed in 15 milliseconds