Searched refs:fileSize (Results 1 – 2 of 2) sorted by relevance
228 uint32_t fileSize = 0; in main() local289 req = (load_app_request_t *)loadFile(appFileName, &fileSize); in main()290 if (!req || fileSize < sizeof(*req) || req->app_binary.magic != NANOAPP_MAGIC) { in main()295 cli.sendMessageToSystem(CONTEXT_HUB_LOAD_APP, req, fileSize); in main()
330 long fileSize = ftell(file.get()); in handleStaticFileRequest() local333 (*responseHeaders)["Content-Length"] = std::to_string(fileSize); in handleStaticFileRequest()