Home
last modified time | relevance | path

Searched refs:pFile (Results 1 – 5 of 5) sorted by relevance

/hardware/ti/omap4xxx/security/smc_pa_ctrl/
Dsmc_pa_ctrl_linux.c72 FILE* pFile = NULL; in readLocalFile() local
102 pFile = fopen(pFileName, "rb"); in readLocalFile()
103 if (pFile == NULL) in readLocalFile()
109 nBytesRead = fread(pBuffer, 1, statFile.st_size, pFile); in readLocalFile()
117 nResult = fclose(pFile); in readLocalFile()
119 pFile = NULL; in readLocalFile()
143 if (pFile != NULL) in readLocalFile()
145 fclose(pFile); in readLocalFile()
/hardware/ti/omap4xxx/security/tf_daemon/
Ddelegation_client.c654 FILE* pFile; in partitionRead() local
659 pFile = g_pPartitionFiles[nPartitionID]; in partitionRead()
661 if (pFile == NULL) in partitionRead()
667 if (fseek(pFile, nSectorIndex*g_nSectorSize, SEEK_SET) != 0) in partitionRead()
675 pFile) != 1) in partitionRead()
677 if (feof(pFile)) in partitionRead()
698 FILE* pFile; in partitionWrite() local
703 pFile = g_pPartitionFiles[nPartitionID]; in partitionWrite()
705 if (pFile == NULL) in partitionWrite()
711 if (fseek(pFile, nSectorIndex*g_nSectorSize, SEEK_SET) != 0) in partitionWrite()
[all …]
Dsmc_properties_parser.c429 FILE* pFile = NULL; in static_readFile() local
433 if ((pFile = fopen(pFilename, "rb")) == NULL) in static_readFile()
439 if (fseek(pFile, 0, SEEK_END) != 0) in static_readFile()
445 nFilesize = ftell(pFile); in static_readFile()
452 rewind(pFile); in static_readFile()
464 if (fread(pBuff, sizeof(uint8_t), (size_t)nFilesize, pFile) != (size_t)nFilesize) in static_readFile()
479 fclose(pFile); in static_readFile()
525 void* pFile; in SMCPropParseConfigFile() local
535 nError=static_readFile(pConfigFilename,&pFile,&nFileLength); in SMCPropParseConfigFile()
547 nError=SMCPropYacc(pFile,nFileLength,pConfFile); in SMCPropParseConfigFile()
[all …]
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_camera/src/
Domx_proxy_camera.c553 FILE *pFile; in read_DCCdir() local
582 pFile = fopen(temp, "rb"); in read_DCCdir()
583 if (pFile == NULL) in read_DCCdir()
589 fseek(pFile, 0, SEEK_END); in read_DCCdir()
590 lSize = ftell(pFile); in read_DCCdir()
591 rewind(pFile); in read_DCCdir()
599 lSize, pFile); in read_DCCdir()
613 fclose(pFile); in read_DCCdir()
/hardware/qcom/media/mm-video/vidc/vdec/src/
Domx_vdec.cpp928 FILE * pFile; in component_init() local
930 pFile = fopen in component_init()
932 if (pFile == NULL) { in component_init()
935 int count = fread(&disable_overlay, 1, 1, pFile); in component_init()
936 fclose(pFile); in component_init()