Home
last modified time | relevance | path

Searched refs:index (Results 1 – 16 of 16) sorted by relevance

/FileX-v6.2.1/test/regression_test/
Dfilex_fault_tolerant_unicode_directory_create_directory_interrupt_test.c181 UINT index; in ftest_0_entry() local
272 index = 0; in ftest_0_entry()
273 directory_name_path_short[index++] = '/'; in ftest_0_entry()
282 directory_name_path_short[index++] = directory_name_A_short[j]; in ftest_0_entry()
290 directory_name_path_short[index] = FX_NULL; in ftest_0_entry()
311 index = 0; in ftest_0_entry()
312 directory_name_path_short[index++] = '/'; in ftest_0_entry()
321 directory_name_path_short[index++] = directory_name_B_short[j]; in ftest_0_entry()
329 directory_name_path_short[index] = FX_NULL; in ftest_0_entry()
350 index = 0; in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_unicode_directory_create_redo_log_interrupt_test.c277 UINT index; in ftest_0_entry() local
408 index = 0; in ftest_0_entry()
409 directory_name_path_short[index++] = '/'; in ftest_0_entry()
418 directory_name_path_short[index++] = directory_name_A_short[j]; in ftest_0_entry()
426 directory_name_path_short[index] = FX_NULL; in ftest_0_entry()
463 index = 0; in ftest_0_entry()
464 directory_name_path_short[index++] = '/'; in ftest_0_entry()
473 directory_name_path_short[index++] = directory_name_B_short[j]; in ftest_0_entry()
481 directory_name_path_short[index] = FX_NULL; in ftest_0_entry()
518 index = 0; in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_unicode_directory_rename_directory_interrupt_test.c271 UINT index; in ftest_0_entry() local
402 index = 0; in ftest_0_entry()
403 directory_name_path_short[index++] = '/'; in ftest_0_entry()
412 directory_name_path_short[index++] = directory_name_A_short[j]; in ftest_0_entry()
420 directory_name_path_short[index] = FX_NULL; in ftest_0_entry()
457 index = 0; in ftest_0_entry()
458 directory_name_path_short[index++] = '/'; in ftest_0_entry()
467 directory_name_path_short[index++] = directory_name_B_short[j]; in ftest_0_entry()
475 directory_name_path_short[index] = FX_NULL; in ftest_0_entry()
512 index = 0; in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_unicode_directory_rename_redo_log_interrupt_test.c223 UINT index; in ftest_0_entry() local
354 index = 0; in ftest_0_entry()
355 directory_name_path_short[index++] = '/'; in ftest_0_entry()
364 directory_name_path_short[index++] = directory_name_A_short[j]; in ftest_0_entry()
372 directory_name_path_short[index] = FX_NULL; in ftest_0_entry()
409 index = 0; in ftest_0_entry()
410 directory_name_path_short[index++] = '/'; in ftest_0_entry()
419 directory_name_path_short[index++] = directory_name_B_short[j]; in ftest_0_entry()
427 directory_name_path_short[index] = FX_NULL; in ftest_0_entry()
464 index = 0; in ftest_0_entry()
[all …]
Dfilex_media_format_open_close_test.c1030 unsigned index =0; in ftest_0_entry() local
1032 for(index=0; index< ((70656+9)*128);index++) in ftest_0_entry()
1034 …if((ram_disk_memory[index]==0xF8) && (ram_disk_memory[index+1]==0xFF) && (ram_disk_memory[index+2]… in ftest_0_entry()
1035 …(ram_disk_memory[index+3]==0x0F) && (ram_disk_memory[index+4]==0xFF) && (ram_disk_memory[index+5]=… in ftest_0_entry()
1036 (ram_disk_memory[index+6]==0xFF) && (ram_disk_memory[index+7]==0x0F)) in ftest_0_entry()
1042 if(index ==(70656+9)*128) in ftest_0_entry()
Dfilex_fault_tolerant_file_write_directory_interrupt_test.c680 UINT index; in ftest_1_entry() local
705 index = 0; in ftest_1_entry()
710 index = 1023; in ftest_1_entry()
715 index = 1024; in ftest_1_entry()
720 index = 1025; in ftest_1_entry()
725 index = 1500; in ftest_1_entry()
745 data_buffer[index + write_index] = (UCHAR)write_buffer[write_index]; in ftest_1_entry()
746 data_size = index + write_buffer_size; in ftest_1_entry()
/FileX-v6.2.1/common/src/
Dfx_directory_search.c117 UINT index; in _fx_directory_search() local
399 for (index = 0; index < FX_MAX_LONG_NAME_LEN; index++) in _fx_directory_search()
403 temp_ptr[index] = media_ptr -> fx_media_last_found_file_name[index]; in _fx_directory_search()
406 if (temp_ptr[index] == (CHAR)FX_NULL) in _fx_directory_search()
410 if (index < (FX_MAX_LONG_NAME_LEN - 1)) in _fx_directory_search()
912 for (index = 0; index < FX_MAX_LONG_NAME_LEN; index++) in _fx_directory_search()
916 media_ptr -> fx_media_last_found_file_name[index] = entry_ptr -> fx_dir_entry_name[index]; in _fx_directory_search()
919 if (entry_ptr -> fx_dir_entry_name[index] == (CHAR)FX_NULL) in _fx_directory_search()
923 if (index < (FX_MAX_LONG_NAME_LEN - 1)) in _fx_directory_search()
Dfx_utility_logical_sector_flush.c90 ULONG index; in _fx_utility_logical_sector_flush() local
297 index = (ULONG)(starting_sector & media_ptr -> fx_media_sector_cache_hash_mask); in _fx_utility_logical_sector_flush()
300 bit_set = (index % 32); in _fx_utility_logical_sector_flush()
303 index = (bit_set * FX_SECTOR_CACHE_DEPTH); in _fx_utility_logical_sector_flush()
322 index = (bit_set * FX_SECTOR_CACHE_DEPTH); in _fx_utility_logical_sector_flush()
337 cache_entry = &(media_ptr -> fx_media_sector_cache[index]); in _fx_utility_logical_sector_flush()
481 index = index + (32 * FX_SECTOR_CACHE_DEPTH); in _fx_utility_logical_sector_flush()
482 } while (index < cache_size); in _fx_utility_logical_sector_flush()
Dfx_directory_next_entry_find.c95 UINT index; in _fx_directory_next_entry_find() local
391 for (index = 0; index < FX_MAX_LONG_NAME_LEN; index++) in _fx_directory_next_entry_find()
395 … media_ptr -> fx_media_last_found_file_name[index] = entry.fx_dir_entry_name[index]; in _fx_directory_next_entry_find()
398 if (entry.fx_dir_entry_name[index] == (CHAR)FX_NULL) in _fx_directory_next_entry_find()
Dfx_directory_next_full_entry_find.c105 UINT index; in _fx_directory_next_full_entry_find() local
470 for (index = 0; index < FX_MAX_LONG_NAME_LEN; index++) in _fx_directory_next_full_entry_find()
474 … media_ptr -> fx_media_last_found_file_name[index] = entry.fx_dir_entry_name[index]; in _fx_directory_next_full_entry_find()
477 if (entry.fx_dir_entry_name[index] == (CHAR)FX_NULL) in _fx_directory_next_full_entry_find()
Dfx_utility_FAT_flush.c87 UINT status, index, ind; in _fx_utility_FAT_flush() local
99 for (index = 0; index < FX_MAX_FAT_CACHE; index++) in _fx_utility_FAT_flush()
103 if ((media_ptr -> fx_media_fat_cache[index].fx_fat_cache_entry_dirty) == 0) in _fx_utility_FAT_flush()
114 cluster = media_ptr -> fx_media_fat_cache[index].fx_fat_cache_entry_cluster; in _fx_utility_FAT_flush()
180 for (i = index; i < FX_MAX_FAT_CACHE; i++) in _fx_utility_FAT_flush()
357 for (i = index; i < FX_MAX_FAT_CACHE; i++) in _fx_utility_FAT_flush()
456 for (i = index; i < FX_MAX_FAT_CACHE; i++) in _fx_utility_FAT_flush()
Dfx_utility_FAT_entry_write.c82 UINT status, index, i; in _fx_utility_FAT_entry_write() local
133 index = (cluster & FX_FAT_CACHE_HASH_MASK) * FX_FAT_CACHE_DEPTH; in _fx_utility_FAT_entry_write() local
136 cache_entry_ptr = &media_ptr -> fx_media_fat_cache[index]; in _fx_utility_FAT_entry_write()
197 if (media_ptr -> fx_media_fat_cache[index + 3].fx_fat_cache_entry_dirty == 1) in _fx_utility_FAT_entry_write()
Dfx_utility_logical_sector_cache_entry_read.c90 ULONG index; in _fx_utility_logical_sector_cache_entry_read() local
101 index = (ULONG)(logical_sector & media_ptr -> fx_media_sector_cache_hash_mask); in _fx_utility_logical_sector_cache_entry_read()
104 media_ptr -> fx_media_sector_cache_hashed_sector_valid |= ((ULONG)1) << (index % 32); in _fx_utility_logical_sector_cache_entry_read()
107 index = index * FX_SECTOR_CACHE_DEPTH; in _fx_utility_logical_sector_cache_entry_read()
110 cache_entry = &(media_ptr -> fx_media_sector_cache[index]); in _fx_utility_logical_sector_cache_entry_read()
Dfx_utility_FAT_entry_read.c93 UINT entry, index; in _fx_utility_FAT_entry_read() local
127 index = (cluster & FX_FAT_CACHE_HASH_MASK) * FX_FAT_CACHE_DEPTH; in _fx_utility_FAT_entry_read() local
130 cache_entry_ptr = &media_ptr -> fx_media_fat_cache[index]; in _fx_utility_FAT_entry_read()
206 if (media_ptr -> fx_media_fat_cache[index + 3].fx_fat_cache_entry_dirty) in _fx_utility_FAT_entry_read()
Dfx_utility_logical_sector_write.c102 UINT index; in _fx_utility_logical_sector_write() local
137index = (ULONG)(logical_sector & media_ptr -> fx_media_sector_cache_hash_mask) * FX_SECTOR_CACHE_… in _fx_utility_logical_sector_write()
140 cache_entry = &(media_ptr -> fx_media_sector_cache[index]); in _fx_utility_logical_sector_write()
/FileX-v6.2.1/test/cmake/
Dcoverage.sh8 …rc -r ../../common/src -e ".*driver.*" --html --html-details --output coverage_report/$1/index.html