Searched refs:sz_file (Results 1 – 2 of 2) sorted by relevance
/device/lge/mako/conn_init/ |
D | wfc_util_fctrl.c | 57 off_t sz_file; in wfc_util_finsert_new_string() local 83 sz_file = lseek( fd, 0, SEEK_END ); in wfc_util_finsert_new_string() 84 sz_backupBuff = (int)sz_file - (pETagPointer - pReadBuff); in wfc_util_finsert_new_string() 115 …ftruncate(fd, sz_file + strlen(pNewStringValue) - 1); /* we use "-1" becasue of "pSPointer = pETag… in wfc_util_finsert_new_string() 135 off_t sz_file; in wfc_util_fupdate_string() local 154 sz_file = lseek( fd, 0, SEEK_END ); in wfc_util_fupdate_string() 155 sz_newReadBuff = (int)sz_file - (int)(pETagPointer - pSValuePointer) + strlen(pNewValueString); in wfc_util_fupdate_string() 166 memset( pNewReadBuff, 0, sz_file ); in wfc_util_fupdate_string() 180 memcpy( pCurReadBuff, pETagPointer, ((int)(sz_file) - (int)(pETagPointer - pReadBuff) + 1)); in wfc_util_fupdate_string() 205 off_t sz_file; in wfc_util_fset_buffer() local [all …]
|
/device/asus/flo/conn_init/ |
D | wfc_util_fctrl.c | 57 off_t sz_file; in wfc_util_finsert_new_string() local 83 sz_file = lseek( fd, 0, SEEK_END ); in wfc_util_finsert_new_string() 84 sz_backupBuff = (int)sz_file - (pETagPointer - pReadBuff); in wfc_util_finsert_new_string() 115 …ftruncate(fd, sz_file + strlen(pNewStringValue) - 1); /* we use "-1" becasue of "pSPointer = pETag… in wfc_util_finsert_new_string() 135 off_t sz_file; in wfc_util_fupdate_string() local 154 sz_file = lseek( fd, 0, SEEK_END ); in wfc_util_fupdate_string() 155 sz_newReadBuff = (int)sz_file - (int)(pETagPointer - pSValuePointer) + strlen(pNewValueString); in wfc_util_fupdate_string() 166 memset( pNewReadBuff, 0, sz_file ); in wfc_util_fupdate_string() 180 memcpy( pCurReadBuff, pETagPointer, ((int)(sz_file) - (int)(pETagPointer - pReadBuff) + 1)); in wfc_util_fupdate_string() 205 off_t sz_file; in wfc_util_fset_buffer() local [all …]
|