| /OK3568_Linux_fs/buildroot/support/testing/tests/core/ |
| H A D | test_hardening.py | 28 filepath = os.path.join(self.builddir, "target", target_file) 30 "--file={}".format(filepath)] 46 filepath = os.path.join(self.builddir, "target", f) 47 self.assertEqual(out[filepath]["relro"], "full") 48 self.assertEqual(out[filepath]["pie"], "yes") 61 filepath = os.path.join(self.builddir, "target", f) 62 self.assertEqual(out[filepath]["relro"], "partial") 63 self.assertEqual(out[filepath]["pie"], "no") 75 filepath = os.path.join(self.builddir, "target", f) 76 self.assertEqual(out[filepath]["canary"], "no") [all …]
|
| H A D | test_post_scripts.py | 17 """.format(infra.filepath("tests/core/post-build.sh"), 18 infra.filepath("tests/core/post-fakeroot.sh"), 19 infra.filepath("tests/core/post-image.sh"))
|
| H A D | test_file_capabilities.py | 25 """.format(infra.filepath("tests/core/device_table2.txt"), 26 infra.filepath("tests/core/squashfs-xattr-kernel.config"))
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | dhd_custom_sec.c | 243 char *filepath = PSMINFO; local 253 fp = filp_open(filepath, O_RDONLY, 0); 260 __FUNCTION__, filepath, *power_mode)); 368 char *filepath = ANTINFO; local 373 fp = filp_open(filepath, O_RDONLY, 0); 375 DHD_ERROR(("[WIFI_SEC] %s: File [%s] doesn't exist\n", __FUNCTION__, filepath)); 396 __FUNCTION__, ant_val, filepath)); 504 char *filepath = LOGTRACEINFO; local 508 fp = filp_open(filepath, O_RDONLY, 0); 510 DHD_ERROR(("[WIFI_SEC] %s: File [%s] doesn't exist\n", __FUNCTION__, filepath)); [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | dhd_custom_sec.c | 243 char *filepath = PSMINFO; local 253 fp = filp_open(filepath, O_RDONLY, 0); 260 __FUNCTION__, filepath, *power_mode)); 368 char *filepath = ANTINFO; local 373 fp = filp_open(filepath, O_RDONLY, 0); 375 DHD_ERROR(("[WIFI_SEC] %s: File [%s] doesn't exist\n", __FUNCTION__, filepath)); 396 __FUNCTION__, ant_val, filepath)); 504 char *filepath = LOGTRACEINFO; local 508 fp = filp_open(filepath, O_RDONLY, 0); 510 DHD_ERROR(("[WIFI_SEC] %s: File [%s] doesn't exist\n", __FUNCTION__, filepath)); [all …]
|
| /OK3568_Linux_fs/buildroot/support/testing/tests/fs/ |
| H A D | test_iso9660.py | 25 """.format(infra.filepath("conf/minimal-x86-qemu-kernel.config")) 63 """.format(infra.filepath("conf/grub2.cfg")) 84 """.format(infra.filepath("conf/grub2.cfg")) 104 """.format(infra.filepath("conf/grub2.cfg")) 126 """.format(infra.filepath("conf/grub2-efi.cfg"), 127 infra.filepath("conf/grub2.cfg")) 154 """.format(infra.filepath("conf/grub2-efi.cfg"), 155 infra.filepath("conf/grub2.cfg")) 189 """.format(infra.filepath("conf/isolinux.cfg")) 209 """.format(infra.filepath("conf/isolinux.cfg")) [all …]
|
| /OK3568_Linux_fs/external/recovery/update_engine/ |
| H A D | rkimage.c | 99 int analyticImage(const char *filepath, PRKIMAGE_HDR phdr) in analyticImage() argument 106 int fd = open(filepath, O_RDONLY); in analyticImage() 108 LOGE("Can't open %s\n", filepath); in analyticImage() 114 LOGE("Can't read %s\n(%s)\n", filepath, strerror(errno)); in analyticImage() 161 LOGE("Can't read %s\n(%s)\n", filepath, strerror(errno)); in analyticImage() 187 if (!compareMd5sum((char*)filepath, m_md5, 0, fileSize - 32)) { in analyticImage() 197 bool getImageVersion(const char *filepath, char *version, int maxLength) in getImageVersion() argument 201 int fd = open(filepath, O_RDONLY); in getImageVersion() 203 LOGE("Can't open %s\n", filepath); in getImageVersion() 209 LOGE("Can't read %s\n(%s)\n", filepath, strerror(errno)); in getImageVersion()
|
| H A D | rktools.c | 36 bool getVersionFromfile(const char * filepath, char *version, int maxLength) in getVersionFromfile() argument 38 if (version == NULL || filepath == NULL) { in getVersionFromfile() 42 FILE *fp = fopen(filepath, "r"); in getVersionFromfile() 44 LOGE("open %s failed, error is %s.\n", filepath, strerror(errno)); in getVersionFromfile()
|
| /OK3568_Linux_fs/kernel/tools/thermal/tmon/ |
| H A D | sysfs.c | 37 char filepath[PATH_MAX + 2]; /* NUL and '/' */ in sysfs_set_ulong() local 39 snprintf(filepath, sizeof(filepath), "%s/%s", path, filename); in sysfs_set_ulong() 41 fd = fopen(filepath, "w"); in sysfs_set_ulong() 43 syslog(LOG_ERR, "Err: open %s: %s\n", __func__, filepath); in sysfs_set_ulong() 61 char filepath[PATH_MAX + 2]; /* NUL and '/' */ in sysfs_get_ulong() local 63 snprintf(filepath, sizeof(filepath), "%s/%s", path, filename); in sysfs_get_ulong() 65 fd = fopen(filepath, "r"); in sysfs_get_ulong() 67 syslog(LOG_ERR, "Err: open %s: %s\n", __func__, filepath); in sysfs_get_ulong() 80 char filepath[PATH_MAX + 2]; /* NUL and '/' */ in sysfs_get_string() local 82 snprintf(filepath, sizeof(filepath), "%s/%s", path, filename); in sysfs_get_string() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/cpufreq/ |
| H A D | special-tests.sh | 88 local filepath="$CPUROOT/$1/cpufreq" 98 local freqs=$(cat $filepath/scaling_available_frequencies) 99 local oldfreq=$(cat $filepath/scaling_min_freq) 105 echo $freq > $filepath/scaling_min_freq 110 echo $oldfreq > $filepath/scaling_min_freq
|
| H A D | governor.sh | 87 local filepath=$CPUFREQROOT/$1/scaling_available_governors 90 local found=$(cat $filepath | grep $2 | wc -l) 126 local filepath=$CPUFREQROOT/$2/scaling_available_governors 129 if [ ! -f $filepath ]; then 135 local governors=$(cat $filepath)
|
| /OK3568_Linux_fs/kernel/scripts/ |
| H A D | get_abi.pl | 84 $data{$nametag}->{filepath} = $file; 165 $data{$what}->{filepath} = $file; 169 $data{$what}->{filepath} .= " " . $file; 299 my @filepath = split / /, $data{$what}->{filepath}; 345 for (my $i = 0; $i < scalar(@filepath); $i++) { 346 my $path = $filepath[$i]; 461 my $file = $data{$what}->{filepath};
|
| /OK3568_Linux_fs/buildroot/support/testing/tests/package/ |
| H A D | test_docker_compose.py | 29 infra.filepath("tests/package/copy-sample-script-to-target.sh"), 30 infra.filepath("conf/docker-compose.yml"), 31 infra.filepath("conf/docker-compose-kernel.config"))
|
| /OK3568_Linux_fs/yocto/poky/scripts/lib/recipetool/ |
| H A D | append.py | 389 def existing_path(filepath): argument 390 if not os.path.exists(filepath): 391 raise argparse.ArgumentTypeError('{0!r} must be an existing path'.format(filepath)) 392 return filepath 395 def existing_file(filepath): argument 396 filepath = existing_path(filepath) 397 if os.path.isdir(filepath): 398 raise argparse.ArgumentTypeError('{0!r} must be a file, not a directory'.format(filepath)) 399 return filepath
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/gdb/python/gdb/ |
| H A D | __init__.py | 109 def _execute_file(filepath): argument 123 globals['__file__'] = filepath 126 with open(filepath, 'rb') as file: 129 compiled = compile(file.read(), filepath, 'exec')
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/share/gdb/python/gdb/ |
| H A D | __init__.py | 109 def _execute_file(filepath): argument 123 globals['__file__'] = filepath 126 with open(filepath, 'rb') as file: 129 compiled = compile(file.read(), filepath, 'exec')
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/toastermain/ |
| H A D | settings.py | 83 filepath = os.path.join(dirpath, fn) variable 84 zonename = filepath.lstrip(ZONEINFOPATH).strip() 90 … zonefilelist[hashlib.md5(open(filepath, 'rb').read()).hexdigest()] = zonename 95 zonefilelist[hashlib.md5(open(filepath, 'rb').read()).hexdigest()] = zonename
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/parser/ |
| H A D | scan.c | 702 char *filepath = NULL; in OpenConfigFile() local 711 filepath = DoSubstitution(template, cmdline, projroot, in OpenConfigFile() 713 if (!filepath) in OpenConfigFile() 716 free(filepath); in OpenConfigFile() 717 filepath = NULL; in OpenConfigFile() 720 file = fopen(filepath, "r"); in OpenConfigFile() 722 free(filepath); in OpenConfigFile() 723 filepath = NULL; in OpenConfigFile() 730 configFiles[numFiles].path = strdup(filepath); in OpenConfigFile() 733 return filepath; in OpenConfigFile()
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oe/ |
| H A D | reproducible.py | 64 filepath = os.path.join(sourcedir, file) 65 if os.path.isfile(filepath): 66 mtime = int(os.lstat(filepath).st_mtime) 70 newest_file = filepath
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/ |
| H A D | ml.hpp | 414 …CV_WRAP static Ptr<NormalBayesClassifier> load(const String& filepath , const String& nodeName = S… 806 CV_WRAP static Ptr<SVM> load(const String& filepath); 1018 CV_WRAP static Ptr<EM> load(const String& filepath , const String& nodeName = String()); 1217 CV_WRAP static Ptr<DTrees> load(const String& filepath , const String& nodeName = String()); 1293 CV_WRAP static Ptr<RTrees> load(const String& filepath , const String& nodeName = String()); 1353 CV_WRAP static Ptr<Boost> load(const String& filepath , const String& nodeName = String()); 1585 CV_WRAP static Ptr<ANN_MLP> load(const String& filepath); 1683 …CV_WRAP static Ptr<LogisticRegression> load(const String& filepath , const String& nodeName = Stri… 1808 CV_WRAP static Ptr<SVMSGD> load(const String& filepath , const String& nodeName = String());
|
| /OK3568_Linux_fs/buildroot/support/testing/tests/download/ |
| H A D | test_git.py | 14 gitremotedir = infra.filepath("tests/download/git-remote") 52 br2_external = [infra.filepath("tests/download/br2-external/git-hash")] 62 br2_external = [infra.filepath("tests/download/br2-external/git-refs")]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/go/go-1.18/ |
| H A D | 0004-ld-add-soname-to-shareable-objects.patch | 26 + argv = append(argv, fmt.Sprintf("-Wl,-soname,%s", filepath.Base(*flagOutfile))) 34 + argv = append(argv, fmt.Sprintf("-Wl,-soname,%s", filepath.Base(*flagOutfile))) 42 + argv = append(argv, fmt.Sprintf("-Wl,-soname,%s", filepath.Base(*flagOutfile)))
|
| H A D | 0009-Revert-cmd-go-make-sure-CC-and-CXX-are-absolute.patch | 29 if !filepath.IsAbs(val) && val != "" { 34 - if !filepath.IsAbs(val) && val != "" && val != filepath.Base(val) { 50 - if path := cfg.Getenv(key); !filepath.IsAbs(path) && path != "" && path != filepath.Base(path) {
|
| /OK3568_Linux_fs/kernel/tools/usb/usbip/libsrc/ |
| H A D | usbip_device_driver.c | 66 char filepath[SYSFS_PATH_MAX]; in read_usb_vudc_device() local 76 snprintf(filepath, SYSFS_PATH_MAX, "%s/%s", in read_usb_vudc_device() 78 fd = fopen(filepath, "r"); in read_usb_vudc_device()
|
| /OK3568_Linux_fs/external/recovery/ |
| H A D | roots.c | 366 char filepath[20]; in format_volume() local 368 strcpy(filepath, "userdata"); in format_volume() 369 LOGW("change v->device from %s to %s.\n", v->device, filepath); in format_volume() 371 strcpy(filepath, v->device); in format_volume() 374 const MtdPartition* partition = mtd_find_partition_by_name(filepath); in format_volume()
|