Home
last modified time | relevance | path

Searched refs:statinfo (Results 1 – 15 of 15) sorted by relevance

/external/autotest/client/site_tests/camera_V4L2/
Dcamera_V4L2.py77 statinfo = os.stat(device)
78 if (stat.S_ISCHR(statinfo.st_mode) and
79 os.major(statinfo.st_rdev) == self.v4l2_major_dev_num and
80 os.minor(statinfo.st_rdev) >=
82 os.minor(statinfo.st_rdev) < self.v4l2_minor_dev_num_max and
/external/tensorflow/tensorflow/contrib/ffmpeg/default/
Dffmpeg_lib.cc98 struct stat statinfo; in IsBinaryInstalled() local
99 int result = ::stat(absolute_path, &statinfo); in IsBinaryInstalled()
103 if (!S_ISREG(statinfo.st_mode)) { in IsBinaryInstalled()
108 if (statinfo.st_uid == ::geteuid() && statinfo.st_mode & S_IXUSR) { in IsBinaryInstalled()
112 if (statinfo.st_uid == ::getegid() && statinfo.st_mode & S_IXGRP) { in IsBinaryInstalled()
116 if (statinfo.st_mode & S_IXOTH) { in IsBinaryInstalled()
/external/skia/gn/
Dfind_headers.py68 statinfo = os.stat(source) variable
69 key = str(statinfo.st_ino) + ':' + str(statinfo.st_dev)
/external/skqp/gn/
Dfind_headers.py68 statinfo = os.stat(source) variable
69 key = str(statinfo.st_ino) + ':' + str(statinfo.st_dev)
/external/autotest/client/site_tests/logging_CrashSender/
Dlogging_CrashSender.py87 statinfo = os.stat(path)
88 os.utime(path, (statinfo.st_atime,
89 statinfo.st_mtime + delta))
/external/tensorflow/tensorflow/examples/tutorials/word2vec/
Dword2vec_basic.py56 statinfo = os.stat(local_filename)
57 if statinfo.st_size == expected_bytes:
60 print(statinfo.st_size)
/external/tensorflow/tensorflow/contrib/model_pruning/examples/cifar10/
Dcifar10_pruning.py398 statinfo = os.stat(filepath)
399 print('Successfully downloaded', filename, statinfo.st_size, 'bytes.')
/external/tensorflow/tensorflow/examples/speech_commands/
Dinput_data.py239 statinfo = os.stat(filepath)
241 statinfo.st_size)
/external/tensorflow/tensorflow/examples/udacity/
D1_notmnist.ipynb140 " statinfo = os.stat(dest_filename)\n",
141 " if statinfo.st_size == expected_bytes:\n",
745 "statinfo = os.stat(pickle_file)\n",
746 "print('Compressed pickle size:', statinfo.st_size)"
D6_lstm.ipynb111 " statinfo = os.stat(filename)\n",
112 " if statinfo.st_size == expected_bytes:\n",
115 " print(statinfo.st_size)\n",
D5_word2vec.ipynb115 " statinfo = os.stat(filename)\n",
116 " if statinfo.st_size == expected_bytes:\n",
119 " print(statinfo.st_size)\n",
/external/python/cpython2/Doc/library/
Dos.rst1442 >>> statinfo = os.stat('somefile.txt')
1443 >>> statinfo
1445 >>> statinfo.st_size
/external/python/cpython2/Modules/
Dposixmodule.c5425 struct stat statinfo; in _PyPopenCreateProcess() local
5436 if (stat(modulepath, &statinfo) != 0) { in _PyPopenCreateProcess()
5456 if (stat(modulepath, &statinfo) != 0) { in _PyPopenCreateProcess()
/external/tensorflow/tensorflow/tools/docker/notebooks/
D3_mnist_from_scratch.ipynb149 " statinfo = os.stat(filepath)\n",
150 " print('Successfully downloaded', filename, statinfo.st_size, 'bytes.')\n",
/external/python/cpython3/Doc/library/
Dos.rst2357 >>> statinfo = os.stat('somefile.txt')
2358 >>> statinfo
2362 >>> statinfo.st_size