Home
last modified time | relevance | path

Searched refs:bytesRead (Results 1 – 6 of 6) sorted by relevance

/AliOS-Things-master/components/SDL2/test/
A Dtestime.c107 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 DUtils.cc350 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 Dusbd.c227 …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 Dusbd.h197 …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 DTestFonts.c127 int bytesRead; in LoadFontFile() local
159 bytesRead = fread(myfont,fontsize[i],1,file); in LoadFontFile()
/AliOS-Things-master/components/SDL2/src/core/android/
A DSDL_android.c2071 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