Home
last modified time | relevance | path

Searched refs:dir_count (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/core/ops/
Dcudnn_rnn_ops_test.cc46 int dir_count = 1; in TEST() local
48 std::vector<int> input_h_shape = {num_layers * dir_count, batch_size, in TEST()
51 num_units * dir_count}; in TEST()
78 int dir_count = 1; in TEST() local
80 std::vector<int> input_h_shape = {num_layers * dir_count, batch_size, in TEST()
83 num_units * dir_count}; in TEST()
110 int dir_count = 1; in TEST() local
112 std::vector<int> input_h_shape = {num_layers * dir_count, batch_size, in TEST()
115 num_units * dir_count}; in TEST()
Dcudnn_rnn_ops.cc92 int dir_count = (direction == "bidirectional") ? 2 : 1; in __anone1d60d010302() local
94 TF_RETURN_IF_ERROR(c->Multiply(num_units, dir_count, &output_size)); in __anone1d60d010302()
135 int dir_count = (direction == "bidirectional") ? 2 : 1; in __anone1d60d010402() local
137 TF_RETURN_IF_ERROR(c->Multiply(num_units, dir_count, &output_size)); in __anone1d60d010402()
181 int dir_count = (direction == "bidirectional") ? 2 : 1; in __anone1d60d010502() local
183 TF_RETURN_IF_ERROR(c->Multiply(num_units, dir_count, &output_size)); in __anone1d60d010502()
/external/squashfs-tools/squashfs-tools/
Dunsquash-1.c213 int dir_count, size; in squashfs_opendir_1() local
226 dir->dir_count = 0; in squashfs_opendir_1()
261 dir_count = dirh.count + 1; in squashfs_opendir_1()
263 "%d, %d directory entries\n", bytes, dir_count); in squashfs_opendir_1()
267 if(dir_count > 256) in squashfs_opendir_1()
270 while(dir_count--) { in squashfs_opendir_1()
291 if((dir->dir_count % DIR_ENT_SIZE) == 0) { in squashfs_opendir_1()
292 new_dir = realloc(dir->dirs, (dir->dir_count + in squashfs_opendir_1()
299 strcpy(dir->dirs[dir->dir_count].name, dire->name); in squashfs_opendir_1()
300 dir->dirs[dir->dir_count].start_block = in squashfs_opendir_1()
[all …]
Dunsquash-3.c290 int dir_count, size; in squashfs_opendir_3() local
303 dir->dir_count = 0; in squashfs_opendir_3()
339 dir_count = dirh.count + 1; in squashfs_opendir_3()
341 "%d, %d directory entries\n", bytes, dir_count); in squashfs_opendir_3()
345 if(dir_count > 256) in squashfs_opendir_3()
348 while(dir_count--) { in squashfs_opendir_3()
369 if((dir->dir_count % DIR_ENT_SIZE) == 0) { in squashfs_opendir_3()
370 new_dir = realloc(dir->dirs, (dir->dir_count + in squashfs_opendir_3()
377 strcpy(dir->dirs[dir->dir_count].name, dire->name); in squashfs_opendir_3()
378 dir->dirs[dir->dir_count].start_block = in squashfs_opendir_3()
[all …]
Dunsquash-4.c259 int dir_count, size; in squashfs_opendir_4() local
272 dir->dir_count = 0; in squashfs_opendir_4()
303 dir_count = dirh.count + 1; in squashfs_opendir_4()
305 "%d, %d directory entries\n", bytes, dir_count); in squashfs_opendir_4()
309 if(dir_count > 256) in squashfs_opendir_4()
312 while(dir_count--) { in squashfs_opendir_4()
327 if((dir->dir_count % DIR_ENT_SIZE) == 0) { in squashfs_opendir_4()
328 new_dir = realloc(dir->dirs, (dir->dir_count + in squashfs_opendir_4()
335 strcpy(dir->dirs[dir->dir_count].name, dire->name); in squashfs_opendir_4()
336 dir->dirs[dir->dir_count].start_block = in squashfs_opendir_4()
[all …]
Dread_fs.c126 int *dev_count, int *dir_count, int *fifo_count, int *sock_count, in scan_inode_table() argument
391 (*dir_count) ++; in scan_inode_table()
408 (*dir_count) ++; in scan_inode_table()
634 int byte, bytes = 0, dir_count; in squashfs_readdir() local
669 dir_count = dirh.count + 1; in squashfs_readdir()
671 "0x%x, 0x%x directory entries\n", bytes, dir_count); in squashfs_readdir()
674 while(dir_count--) { in squashfs_readdir()
861 int *file_count, int *sym_count, int *dev_count, int *dir_count, in read_filesystem() argument
901 dir_count, fifo_count, sock_count, id_table); in read_filesystem()
Dunsquashfs.h182 int dir_count; member
Dunsquashfs.c58 int bytes = 0, swap, file_count = 0, dir_count = 0, sym_count = 0, variable
1238 if(dir->cur_entry == dir->dir_count) in squashfs_readdir()
1627 dir_count ++; in dir_scan()
2813 printf("created %d directories\n", dir_count); in main()
Dmksquashfs.c127 int file_count = 0, sym_count = 0, dev_count = 0, dir_count = 0, fifo_count = 0, variable
444 dir_count = sdir_count; in restorefs()
1450 dir_count ++; in write_dir()
5209 printf("Number of directories %d\n", dir_count); in write_filesystem_tables()
6484 &file_count, &sym_count, &dev_count, &dir_count, in main()
6541 sdir_count = dir_count + 1; in main()
6575 dir_count ++; in main()
6595 inode_count = file_count + dir_count + sym_count + dev_count + in main()
/external/tensorflow/tensorflow/contrib/cudnn_rnn/python/kernel_tests/
Dcudnn_rnn_test.py168 dir_count = self._rnn.num_dirs
175 input_h = np.random.randn(num_layers * dir_count, batch_size,
178 input_c = np.random.randn(num_layers * dir_count, batch_size,
187 dir_count = self._rnn.num_dirs
191 input_h = np.zeros((num_layers * dir_count, batch_size,
194 input_c = np.zeros((num_layers * dir_count, batch_size,
279 dir_count = 1
285 num_layers * dir_count, batch_size, num_units], dtype=dtypes.float32)
350 dir_count = 1
356 num_layers * dir_count, batch_size, num_units], dtype=dtypes.float32)
[all …]
/external/squashfs-tools/kernel/fs/squashfs/
Ddir.c109 int offset = squashfs_i(inode)->offset, length = 0, dir_count, size, in squashfs_readdir() local
175 dir_count = le32_to_cpu(dirh.count) + 1; in squashfs_readdir()
176 while (dir_count--) { in squashfs_readdir()
Dnamei.c146 int err, length = 0, dir_count, size; in squashfs_lookup() local
177 dir_count = le32_to_cpu(dirh.count) + 1; in squashfs_lookup()
178 while (dir_count--) { in squashfs_lookup()
/external/tensorflow/tensorflow/core/kernels/
Dcudnn_rnn_ops.cc151 int max_seq_length, int batch_size, int dir_count, in CudnnRnnParameters() argument
159 dir_count_(dir_count), in CudnnRnnParameters()
167 dir_count, static_cast<int>(has_dropout), in CudnnRnnParameters()
502 int dir_count; member
511 num_units == rhs.num_units && dir_count == rhs.dir_count; in IsCompatibleWith()
517 num_layers, input_size, num_units, dir_count, max_seq_length, in DebugString()
533 shapes.dir_count, shapes.batch_size}); in operator ()()
585 model_shapes->dir_count = in ExtractForwardInput()
595 (*input_h)->dim_size(0) / model_shapes->dir_count; in ExtractForwardInput()
598 (*input_h)->dim_size(1) / model_shapes->dir_count; in ExtractForwardInput()
[all …]
/external/squashfs-tools/kernel-2.4/fs/squashfs/
Dsquashfs2_0.c532 dir_count; in squashfs_readdir_2() local
566 dir_count = dirh.count + 1; in squashfs_readdir_2()
567 while (dir_count--) { in squashfs_readdir_2()
639 dir_count; in squashfs_lookup_2() local
676 dir_count = dirh.count + 1; in squashfs_lookup_2()
677 while (dir_count--) { in squashfs_lookup_2()
Dinode.c1741 dir_count; in squashfs_readdir() local
1802 dir_count = dirh.count + 1; in squashfs_readdir()
1803 while (dir_count--) { in squashfs_readdir()
1876 dir_count; in squashfs_lookup() local
1912 dir_count = dirh.count + 1; in squashfs_lookup()
1913 while (dir_count--) { in squashfs_lookup()
/external/e2fsprogs/lib/blkid/
Dprobe.h534 __u32 dir_count; member
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_dnn.cc1407 int dir_count = 0; member
1432 model_dims.dir_count = in ExtractAndCheckRnnForward()
1437 model_dims.num_layers * model_dims.dir_count && in ExtractAndCheckRnnForward()
1450 model_dims.hidden_size * model_dims.dir_count)) { in ExtractAndCheckRnnForward()
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_dnn.cc1887 int dir_count = 0; member
1911 model_dims->dir_count = in ExtractAndCheckRnnForward()
1916 model_dims->num_layers * model_dims->dir_count && in ExtractAndCheckRnnForward()
1931 model_dims->hidden_size * model_dims->dir_count)) { in ExtractAndCheckRnnForward()