/device/google/contexthub/util/nanoapp_encr/ |
D | nanoapp_encr.c | 120 fwrite(image, sizeof(*image), 1, out); in handleEncrypt() 125 fwrite(&encr, sizeof(encr), 1, out); in handleEncrypt() 137 fwrite(outBuf, AES_BLOCK_SIZE, 1, out); in handleEncrypt() 146 fwrite(outBuf, AES_BLOCK_SIZE, 1, out); in handleEncrypt() 148 err = fwrite(outBuf, AES_BLOCK_SIZE, 1, out) != 1; in handleEncrypt() 199 fwrite(image, sizeof(*image), 1, out); in handleDecrypt() 211 err = fwrite(outBuf, size, 1, out) != 1; in handleDecrypt()
|
/device/google/contexthub/util/nanoapp_postprocess/ |
D | postprocess.c | 270 good = fwrite(&outHeader, sizeof(outHeader), 1, out) == 1 && good; in finalizeAndWrite() 273 good = fwrite(&app, sizeof(app), 1, out) == 1 && good; in finalizeAndWrite() 276 good = fwrite(&bin[1], inf->codeAndDataSize, 1, out) == 1 && good; in finalizeAndWrite() 280 good = fwrite(inf->packedNanoReloc, inf->packedNanoRelocSize, 1, out) == 1 && good; in finalizeAndWrite() 593 good = good && fwrite(&outHeader, sizeof(outHeader), 1, out) == 1; in handleKey() 594 good = good && fwrite(&ki, sizeof(ki), 1, out) == 1; in handleKey() 595 good = good && fwrite(buf, bufUsed, 1, out) == 1; in handleKey() 625 good = fwrite(&outHeader, sizeof(outHeader), 1, out) == 1; in handleOs() 627 good = fwrite(&os, sizeof(os), 1, out) == 1; in handleOs() 628 good = good && fwrite(buf, bufUsed, 1, out) == 1; in handleOs()
|
D | postprocess_elf.c | 284 ret = fwrite(buf, bufUsed, 1, out) == 1 ? 0 : 2; in finalizeAndWrite() 854 good = good && fwrite(&outHeader, sizeof(outHeader), 1, out) == 1; in handleKey() 855 good = good && fwrite(&ki, sizeof(ki), 1, out) == 1; in handleKey() 856 good = good && fwrite(buf, bufUsed, 1, out) == 1; in handleKey() 886 good = fwrite(&outHeader, sizeof(outHeader), 1, out) == 1; in handleOs() 888 good = fwrite(&os, sizeof(os), 1, out) == 1; in handleOs() 889 good = good && fwrite(buf, bufUsed, 1, out) == 1; in handleOs()
|
/device/google/contexthub/util/nanoapp_sign/ |
D | nanoapp_sign.c | 220 ret = fwrite(rsa->num, 1, RSA_BYTES, out) == RSA_BYTES ? 0 : 2; in handleConvertKey() 393 fwrite(buf, 1, bufUsed, out); in handleSign() 394 fwrite(rsaResult, 1, sizeof(uint32_t[RSA_LIMBS]), out); in handleSign() 395 ret = (fwrite(rsa->modulus, 1, RSA_BYTES, out) == RSA_BYTES) ? 0 : 2; in handleSign()
|
/device/google/contexthub/util/stm32_flash/ |
D | flash.c | 281 if (fwrite(buffer, 1, length, file) < (size_t)length) in main() 306 if (fwrite(buffer, 1, tot_len(length), file) < tot_len(length)) in main()
|
/device/generic/goldfish/fingerprint/ |
D | fingerprint.c | 120 int ns = fwrite(&listener->secureid[idx], sizeof(uint64_t), 1, fp); in saveFingerprint() 128 int nf = fwrite(&listener->fingerid[idx], sizeof(uint64_t), 1, fp); in saveFingerprint() 149 fwrite(&zero, sizeof(uint64_t), 1, fp); in openForWrite() 153 fwrite(&zero, sizeof(uint64_t), 1, fp); in openForWrite() 169 int na = fwrite(&authenid, sizeof(authenid), 1, fp); in saveAuthenticatorId()
|
/device/generic/goldfish-opengl/fuchsia/ |
D | fuchsia_stdio.cc | 73 size_t fwrite(const void *ptr, size_t size, size_t nitems, FILE *stream) in fwrite() function
|
/device/generic/goldfish-opengl/system/codecs/omx/avcdec/ |
D | GoldfishAVCDec.h | 159 i = fwrite(m_buf, 1, m_size, fp); \
|
/device/amlogic/yukawa/hal/audio/ |
D | audio_aec.c | 669 fwrite((char *)aec->mic_buf, 1, bytes, fp_in); in process_aec() 676 fwrite((char *)buffer, 1, bytes, fp_out); in process_aec() 683 fwrite((char *)aec->spk_buf, 1, ref_bytes, fp_ref); in process_aec()
|
D | audio_hw.c | 659 fwrite((char*)buffer, 1, bytes, fp_ref); in in_read() 733 fwrite((char*)buffer, 1, bytes, fp_in); in in_read()
|
/device/generic/goldfish/network/netmgr/commands/ |
D | wifi_command.cpp | 128 size_t bytesWritten = fwrite(buffer, 1, bytesRead, out.get()); in writeConfig()
|
/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
D | FormatConversions.cpp | 154 fwrite(rgb_ptr0, width * height * rgb_stride, 1, myfp); in rgb888_to_yv12() 190 fwrite(yv12_y0, yStride * height + 2 * cSize, 1, yuvfp); in rgb888_to_yv12()
|
/device/linaro/hikey/hifi/xaf/host-apf/utest/ |
D | xaf-dec-test.c | 101 fwrite(p_buf, 1, buf_length, fp); in consume_output()
|
D | xaf-dec-mix-test.c | 112 fwrite(p_buf, 1, buf_length, fp); in consume_output()
|