/device/linaro/bootloader/edk2/StdLib/LibC/Locale/ |
D | ctypeio.c | 156 if (fwrite(_CTYPE_ID, sizeof(_CTYPE_ID) - 1, 1, fp) != 1) in __savectype() 160 if (fwrite(&i, sizeof(u_int32_t), 1, fp) != 1) in __savectype() 164 if (fwrite(&i, sizeof(u_int32_t), 1, fp) != 1) in __savectype() 172 if (fwrite(&new_ctype[1], sizeof(UINT16), len, fp) != len) in __savectype() 175 if (fwrite(&new_toupper[1], sizeof(UINT8), len, fp) != len) in __savectype() 178 if (fwrite(&new_tolower[1], sizeof(UINT8), len, fp) != len) in __savectype()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/StrGather/ |
D | StringDB.c | 1638 fwrite (&DbHeader, sizeof (STRING_DB_HEADER), 1, DBFptr); in StringDBWriteDatabase() 1766 fwrite (&WChar, sizeof (WCHAR), 1, OutFptr); in StringDBDumpDatabase() 1778 fwrite (Line, wcslen (Line) * sizeof (WCHAR), 1, OutFptr); in StringDBDumpDatabase() 1779 fwrite (&CrLf, sizeof (CrLf), 1, OutFptr); in StringDBDumpDatabase() 1780 fwrite (&CrLf, sizeof (CrLf), 1, OutFptr); in StringDBDumpDatabase() 1829 fwrite (Line, wcslen (Line) * sizeof (WCHAR), 1, OutFptr); in StringDBDumpDatabase() 1830 fwrite (&CrLf, sizeof (CrLf), 1, OutFptr); in StringDBDumpDatabase() 1833 fwrite (&CrLf, sizeof (CrLf), 1, OutFptr); in StringDBDumpDatabase() 1840 fwrite (&CrLf, sizeof (CrLf), 1, OutFptr); in StringDBDumpDatabase() 1846 fwrite (Line, wcslen (Line) * sizeof (WCHAR), 1, OutFptr); in StringDBDumpDatabase() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenSection/ |
D | GenSection.c | 153 fwrite (EnglishLangCode, 1, 4, OutFile); in Ascii2UnicodeWriteString() 160 fwrite (&String[Index], 1, 1, OutFile); in Ascii2UnicodeWriteString() 161 fwrite (&AsciiNull, 1, 1, OutFile); in Ascii2UnicodeWriteString() 246 fwrite (&CommonSect, sizeof (CommonSect), 1, OutFile); in GenSectionCommonLeafSection() 263 if (fwrite (Buffer, (size_t) InputFileLength, 1, OutFile) != 1) { in GenSectionCommonLeafSection() 537 fwrite (&CompressionSect, sizeof (CompressionSect), 1, OutFile); in GenSectionCompressionSection() 538 fwrite (FileBuffer, CompressedLength, 1, OutFile); in GenSectionCompressionSection() 666 fwrite (&Crc32GuidSect, sizeof (Crc32GuidSect), 1, OutFile); in GenSectionGuidDefinedSection() 667 fwrite (FileBuffer, InputLength, 1, OutFile); in GenSectionGuidDefinedSection() 973 fwrite (&CommonSect, sizeof (CommonSect), 1, OutFile); in main() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiStrGather/ |
D | StringDB.c | 1122 fwrite (&DbHeader, sizeof (STRING_DB_HEADER), 1, DBFptr); in StringDBWriteDatabase() 1250 fwrite (&WChar, sizeof (WCHAR), 1, OutFptr); in StringDBDumpDatabase() 1262 fwrite (Line, wcslen (Line) * sizeof (WCHAR), 1, OutFptr); in StringDBDumpDatabase() 1263 fwrite (&CrLf, sizeof (CrLf), 1, OutFptr); in StringDBDumpDatabase() 1264 fwrite (&CrLf, sizeof (CrLf), 1, OutFptr); in StringDBDumpDatabase() 1313 fwrite (Line, wcslen (Line) * sizeof (WCHAR), 1, OutFptr); in StringDBDumpDatabase() 1314 fwrite (&CrLf, sizeof (CrLf), 1, OutFptr); in StringDBDumpDatabase() 1317 fwrite (&CrLf, sizeof (CrLf), 1, OutFptr); in StringDBDumpDatabase() 1324 fwrite (&CrLf, sizeof (CrLf), 1, OutFptr); in StringDBDumpDatabase() 1330 fwrite (Line, wcslen (Line) * sizeof (WCHAR), 1, OutFptr); in StringDBDumpDatabase() [all …]
|
/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/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/HiiPack/ |
D | HiiPack.c | 491 if (fwrite ((void *) &TempHiiExportTableHeader, sizeof (EFI_HII_EXPORT_TABLE), 1, OutFptr) != 1) { in MergeHiiExports() 512 …if (fwrite ((void *) &TempDataTable->DataTableHeader, sizeof (EFI_HII_DATA_TABLE), 1, OutFptr) != … in MergeHiiExports() 526 if (fwrite ((void *) StringPack, FileSize, 1, OutFptr) != 1) { in MergeHiiExports() 541 if (fwrite ((void *) IfrPack, IfrPack->Header.Length, 1, OutFptr) != 1) { in MergeHiiExports() 572 if (fwrite ((void *) VarPack, VarPack->Header.Length, 1, OutFptr) != 1) { in MergeHiiExports() 594 …if (fwrite ((void *) &TempDataTable->DataTableHeader, sizeof (EFI_HII_DATA_TABLE), 1, OutFptr) != … in MergeHiiExports() 742 if (fwrite ((void *) &ExportTableHeader, sizeof (EFI_HII_EXPORT_TABLE), 1, OutFptr) != 1) { in CreateHiiExport() 787 if (fwrite ((void *) &DataTableHeader, sizeof (EFI_HII_DATA_TABLE), 1, OutFptr) != 1) { in CreateHiiExport() 858 if (fwrite (StringPack, StringPack->Header.Length, 1, OutFptr) != 1) { in CreateHiiExport() 889 if (fwrite (&TerminatorStringPack, sizeof (EFI_HII_STRING_PACK_HEADER), 1, OutFptr) != 1) { in CreateHiiExport() [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenCrc32/ |
D | GenCrc32.c | 320 fwrite (&Crc32Value, 1, sizeof (Crc32Value), OutFile); in main() 322 fwrite (FileBuffer, 1, FileSize, OutFile); in main() 342 fwrite (FileBuffer + sizeof (UINT32), 1, FileSize - sizeof (UINT32), OutFile); in main()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/EfiLdrImage/ |
D | EfiLdrImage.c | 142 fwrite (Buffer, length, 1, out); in FCopyFile() 312 fwrite (&EfiLdrHeader, sizeof(EFILDR_HEADER) , 1, fpOut); in main() 313 fwrite (&EfiLdrImage , sizeof(EFILDR_IMAGE)*(InputFileCount), 1, fpOut); in main()
|
/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 | 281 ret = fwrite(buf, bufUsed, 1, out) == 1 ? 0 : 2; in finalizeAndWrite() 851 good = good && fwrite(&outHeader, sizeof(outHeader), 1, out) == 1; in handleKey() 852 good = good && fwrite(&ki, sizeof(ki), 1, out) == 1; in handleKey() 853 good = good && fwrite(buf, bufUsed, 1, out) == 1; in handleKey() 883 good = fwrite(&outHeader, sizeof(outHeader), 1, out) == 1; in handleOs() 885 good = fwrite(&os, sizeof(os), 1, out) == 1; in handleOs() 886 good = good && fwrite(buf, bufUsed, 1, out) == 1; in handleOs()
|
/device/linaro/bootloader/edk2/BeagleBoardPkg/Tools/ |
D | generate_image.c | 340 fwrite(gConfigurationHeader, 1, sizeof(gConfigurationHeader), OutputFile); in ConstructImage() 343 fwrite(&InputImageFileSize, 1, 4, OutputFile); in ConstructImage() 344 fwrite(&gImageExecutionAddress, 1, 4, OutputFile); in ConstructImage() 349 fwrite(&Ch, 1, 1, OutputFile); in ConstructImage()
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/TexasInstruments/BeagleBoard/Tools/ |
D | generate_image.c | 340 fwrite(gConfigurationHeader, 1, sizeof(gConfigurationHeader), OutputFile); in ConstructImage() 343 fwrite(&InputImageFileSize, 1, 4, OutputFile); in ConstructImage() 344 fwrite(&gImageExecutionAddress, 1, 4, OutputFile); in ConstructImage() 349 fwrite(&Ch, 1, 1, OutputFile); in ConstructImage()
|
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/ |
D | fwrite.c | 60 fwrite(const void *buf, size_t size, size_t count, FILE *fp) in fwrite() function
|
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
D | mm_jpeg.h | 84 rc = fwrite(p_addr, 1, len, fp); \ 103 rc = fwrite(p_addr1, 1, len1, fp); \ 104 rc = fwrite(p_addr2, 1, len2, fp); \
|
/device/google/marlin/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
D | mm_jpeg.h | 90 rc = fwrite(p_addr, 1, len, fp); \ 109 rc = fwrite(p_addr1, 1, len1, fp); \ 110 rc = fwrite(p_addr2, 1, len2, fp); \
|
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
D | mm_jpeg.h | 84 rc = fwrite(p_addr, 1, len, fp); \ 103 rc = fwrite(p_addr1, 1, len1, fp); \ 104 rc = fwrite(p_addr2, 1, len2, fp); \
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Strip/ |
D | strip.c | 141 fwrite (Ptrx, Index, 1, OutFile); in main()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenAprioriFile/ |
D | GenAprioriFile.c | 258 if (fwrite (&Guid, sizeof (Guid), 1, BinFptr) != 1) { in main() 268 if (fwrite (&Guid, sizeof (Guid), 1, BinFptr) != 1) { in main()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenPage/ |
D | GenPage.c | 272 fwrite (&Data, sizeof(UINT8), 1, PageFile); in GenBinPage() 279 fwrite (BaseMemory, (EFI_PAGE_NUMBER * EFI_SIZE_OF_PAGE), 1, PageFile); in GenBinPage()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiHiiPack/ |
D | HiiPack.c | 360 fwrite (PackageListGuid, sizeof (UINT8), sizeof (EFI_GUID), OutFptr); in CreatePackageList() 361 fwrite (&PackageListLen, sizeof (UINT8), sizeof (UINT32), OutFptr); in CreatePackageList() 368 fwrite (Package->Data, sizeof (UINT8), Package->Length, OutFptr); in CreatePackageList()
|
/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 | 259 if (fwrite(buffer, 1, length, file) < (size_t)length) in main() 284 if (fwrite(buffer, 1, tot_len(length), file) < tot_len(length)) in main()
|
/device/generic/goldfish/fingerprint/ |
D | fingerprint.c | 116 int ns = fwrite(&listener->secureid[idx], sizeof(uint64_t), 1, fp); in saveFingerprint() 124 int nf = fwrite(&listener->fingerid[idx], sizeof(uint64_t), 1, fp); in saveFingerprint() 145 fwrite(&zero, sizeof(uint64_t), 1, fp); in openForWrite() 149 fwrite(&zero, sizeof(uint64_t), 1, fp); in openForWrite() 165 int na = fwrite(&authenid, sizeof(authenid), 1, fp); in saveAuthenticatorId()
|
/device/google/marlin/camera/QCamera2/stack/mm-lib2d-interface/test/ |
D | mm_lib2d_test.c | 57 rc = fwrite(p_addr, 1, len, fp); \ 76 rc = fwrite(p_addr1, 1, len1, fp); \ 77 rc = fwrite(p_addr2, 1, len2, fp); \
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/ModifyInf/ |
D | ModifyInf.c | 99 fwrite (Line, strlen (Line), 1, fp); in WriteLine()
|