/external/autotest/client/bin/ |
D | kernel_unittest.py | 6 from autotest_lib.client.bin import kernel, job, utils, kernelexpand 24 bootloader.add_args.expect_call(kernel=tag, args=a) 25 bootloader.remove_args.expect_call(kernel=tag, args='_dummy_') 28 kernel._add_kernel_to_bootloader(bootloader, base_args, tag, args, 48 self.god.stub_function(kernel, "_add_kernel_to_bootloader") 50 self.kernel = kernel.BootableKernel(job_) 51 self.kernel.job.bootloader = self.god.create_mock_class( 67 self.kernel.image = 'image' 68 self.kernel.initrd = 'initrd' 69 self.kernel.installed_as = tag [all …]
|
D | kernelexpand.py | 13 kernel = 'http://www.kernel.org/pub/linux/kernel/' variable 16 kernel + 'v%(major)s/linux-%(full)s.tar.bz2' 19 kernel + 'v%(major)s/linux-%(full)s.tar.bz2' 22 kernel + 'v%(major)s/testing/v%(minor)s/linux-%(full)s.tar.bz2', 23 kernel + 'v%(major)s/testing/linux-%(full)s.tar.bz2', 26 kernel + 'v%(major)s/snapshots/old/patch-%(full)s.bz2', 27 kernel + 'v%(major)s/snapshots/patch-%(full)s.bz2', 30 kernel + 'people/akpm/patches/' + 34 kernel + 'people/mbligh/%(base)s/patch-%(full)s.bz2' 38 def decompose_kernel_once(kernel): argument [all …]
|
/external/autotest/frontend/health/ |
D | utils_unittest.py | 63 kernel = models.Kernel(kernel_idx=1) 67 kernel=kernel, machine=machine, 72 kernel=kernel, machine=machine, 85 kernel = models.Kernel(kernel_idx=1) 89 kernel=kernel, machine=machine, 94 kernel=kernel, machine=machine, 108 kernel = models.Kernel(kernel_idx=1) 112 kernel=kernel, machine=machine, 117 kernel=kernel, machine=machine, 148 kernel = models.Kernel(kernel_idx=1) [all …]
|
/external/autotest/tko/ |
D | machine_aggr.cgi | 43 kernel = form["kernel"].value 44 if kernel == "released": 45 kernel = released_kernel 46 if kernel == "rc": 47 kernel = rc_kernel 70 if kernel == "all": 71 kernels.add(test.kernel().printable) 72 kernels_idx.add(str(test.kernel().idx)) 74 elif kernel == "experimental": 75 if not re.match(released_kernel, test.kernel().printable)\ [all …]
|
D | nightly.py | 71 for kernel in test_runs: 72 platforms.update(set(test_runs[kernel].keys())) 80 for kernel in test_runs: 82 for testrunx in test_runs[kernel].get(platform, []): 87 twoway_runs[kernel] = runs 108 for kernel in sorted(test_runs.keys()): 109 for platform in test_runs[kernel]: 113 vals = perf.get_metric_at_point(test_runs[kernel][platform], 121 pdp.setdefault(kernel, []).extend(vals) 128 for kernel in twoway_runs: [all …]
|
/external/autotest/client/tests/ltp/patches/ |
D | sysctl.patch | 6 Recent kernel ports have started omitting this old syscall, so if it 11 testcases/kernel/syscalls/sysctl/sysctl01.c | 15 +++++++++++++++ 12 testcases/kernel/syscalls/sysctl/sysctl03.c | 15 +++++++++++++++ 13 testcases/kernel/syscalls/sysctl/sysctl04.c | 15 +++++++++++++++ 14 testcases/kernel/syscalls/sysctl/sysctl05.c | 15 +++++++++++++++ 17 diff --git a/testcases/kernel/syscalls/sysctl/sysctl01.c b/testcases/kernel/syscalls/sysctl/sysctl0… 19 --- a/testcases/kernel/syscalls/sysctl/sysctl01.c 20 +++ b/testcases/kernel/syscalls/sysctl/sysctl01.c 43 + tst_resm(TCONF, "This test needs a kernel that has sysctl syscall."); 47 diff --git a/testcases/kernel/syscalls/sysctl/sysctl03.c b/testcases/kernel/syscalls/sysctl/sysctl0… [all …]
|
D | getdents.patch | 10 Further, add a layer between the kernel and the dirent struct that 11 the tests uses. The kernel packs the results, so we need to expand 12 the raw buffer returned by the kernel into the userland structs we 17 testcases/kernel/syscalls/getdents/getdents.h | 73 +++++++++++++++++------ 18 testcases/kernel/syscalls/getdents/getdents01.c | 20 +----- 19 testcases/kernel/syscalls/getdents/getdents02.c | 27 +-------- 20 testcases/kernel/syscalls/getdents/getdents03.c | 27 +-------- 21 testcases/kernel/syscalls/getdents/getdents04.c | 26 +------- 24 diff --git a/testcases/kernel/syscalls/getdents/getdents.h b/testcases/kernel/syscalls/getdents/get… 26 --- a/testcases/kernel/syscalls/getdents/getdents.h [all …]
|
/external/clang/test/SemaOpenCL/ |
D | amdgpu-num-register-attrs.cl | 3 …ruct FooStruct { // expected-error {{'amdgpu_num_vgpr' attribute only applies to kernel functions}} 9 __attribute__((amdgpu_num_vgpr("ABC"))) kernel void foo2() {} // expected-error {{'amdgpu_num_vgpr'… 10 __attribute__((amdgpu_num_sgpr("ABC"))) kernel void foo3() {} // expected-error {{'amdgpu_num_sgpr'… 13 …) void foo4() {} // expected-error {{'amdgpu_num_vgpr' attribute only applies to kernel functions}} 14 …) void foo5() {} // expected-error {{'amdgpu_num_sgpr' attribute only applies to kernel functions}} 16 __attribute__((amdgpu_num_vgpr(40))) kernel void foo7() {} 17 __attribute__((amdgpu_num_sgpr(64))) kernel void foo8() {} 18 __attribute__((amdgpu_num_vgpr(40), amdgpu_num_sgpr(64))) kernel void foo9() {} 21 __attribute__((amdgpu_num_vgpr(0))) kernel void foo10() {} 24 __attribute__((amdgpu_num_sgpr(0))) kernel void foo11() {} [all …]
|
D | invalid-kernel-parameters.cl | 12 kernel void bool_arg(bool x) { } // expected-error{{'bool' cannot be used as the type of a kernel p… 14 kernel void half_arg(half x) { } // expected-error{{'half' cannot be used as the type of a kernel p… 21 kernel void bool_in_struct_arg(ContainsBool x) { } // expected-error{{'ContainsBool' (aka 'struct C… 30 kernel void image_in_struct_arg(FooImage2D arg) { } // expected-error{{struct kernel parameters may… 37 kernel void pointer_in_struct_arg(Foo arg) { } // expected-error{{struct kernel parameters may not … 44 kernel void pointer_in_union_arg(FooUnion arg) { }// expected-error{{union kernel parameters may no… 55 kernel void pointer_in_nested_struct_arg(NestedPointer arg) { }// expected-error{{struct kernel par… 72 kernel void pointer_in_nested_struct_arg_complex(struct NestedPointerComplex arg) { }// expected-er… 83 kernel void bool_in_nested_struct_arg(NestedBool arg) { } // expected-error{{'NestedBool' (aka 'str… 85 // Warning emitted again for argument used in other kernel [all …]
|
D | invalid-kernel-attrs.cl | 3 kernel __attribute__((vec_type_hint)) void kernel1() {} //expected-error{{'vec_type_hint' attribute… 5 kernel __attribute__((vec_type_hint(not_type))) void kernel2() {} //expected-error{{unknown type na… 7 kernel __attribute__((vec_type_hint(void))) void kernel3() {} //expected-error{{invalid attribute a… 9 kernel __attribute__((vec_type_hint(bool))) void kernel4() {} //expected-error{{invalid attribute a… 11 kernel __attribute__((vec_type_hint(int))) __attribute__((vec_type_hint(float))) void kernel5() {} … 13 kernel __attribute__((work_group_size_hint(8,16,32,4))) void kernel6() {} //expected-error{{'work_g… 15 kernel __attribute__((work_group_size_hint(1,2,3))) __attribute__((work_group_size_hint(3,2,1))) vo… 17 … kernel8(){} // expected-error {{attribute 'reqd_work_group_size' can only be applied to a kernel}} 19 … kernel9(){} // expected-error {{attribute 'work_group_size_hint' can only be applied to a kernel}} 21 …) void kernel10(){} // expected-error {{attribute 'vec_type_hint' can only be applied to a kernel}} [all …]
|
/external/autotest/server/samples/ |
D | git_kernel.srv | 5 giturl = 'git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm.git' 8 weburl = 'http://git.kernel.org/?p=linux/kernel/git/avi/kvm.git' 10 # CHANGEME - kernel config 11 kconfig = 'http://git.kernel.org/?p=virt/kvm/kvm-userspace.git;a=blob_plain;f=kernel/x86_64.config;… 16 # init the git kernel 17 kernel = git_kernel.GitKernel(repodir, giturl, weburl) 23 kernel.get(h) 26 print kernel.get_local_head(h) 29 kernel.configure(kconfig) 30 kernel.build(h) [all …]
|
D | deb_kernel.srv | 5 kernel= deb_kernel.DEBKernel() 6 kernel.get("/home/foo/linux-2.6.22_2.6.22_amd64.deb") 8 print kernel.get_version() 9 print kernel.get_image_name() 10 print kernel.get_initrd_name() 12 print "XXXX extracting kernel" 13 dir= kernel.extract(rh) 17 print "XXXX installing kernel" 18 kernel.install(rh)
|
D | kvm_from_git.srv | 10 kvm_giturl = 'git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm.git' 11 kvm_weburl = 'http://git.kernel.org/?p=linux/kernel/git/avi/kvm.git' 15 kvmuser_giturl = 'git://git.kernel.org/pub/scm/virt/kvm/kvm-userspace.git' 16 kvmuser_weburl = 'http://git.kernel.org/?p=virt/kvm/kvm-userspace.git' 45 print "XXXX starting guest with default kernel" 54 print "XXXX starting guest with custom kernel" 55 kernel= deb_kernel.DEBKernel() 56 kernel.get("/home/foo/linux-2.6.21.3-6_2.6.21.3-6_amd64-version2.deb") 57 kernel_dir= kernel.extract(remote_host) 59 …256 -hda /var/local/vdisk.img -snapshot -kernel "%s" -append "%s"' % (sh_escape(os.path.join(kerne…
|
/external/autotest/client/site_tests/platform_OSLimits/ |
D | control | 7 PURPOSE = "Verify some kernel settings." 16 - kernel/kptr_restrict 17 - kernel/ngroups_max 18 - kernel/panic 19 - kernel/pid_max 20 - kernel/randomize_va_space 21 - kernel/suid_dumpable 22 - kernel/sysrq 23 - kernel/threads-max 43 - fs/file-max: maximum number of file handles that the kernel will allocate. [all …]
|
/external/autotest/client/samples/ |
D | control.kbuild_and_tests | 1 AUTHOR = "Autotest Team <autotest@test.kernel.org>" 9 Builds a test kernel, then runs a series of tests on it. This control file shows 15 * Downloading, configuring, patching, building and booting a kernel straight 16 from kernel.org. 20 * Local kernel.org mirror - Alternate kernel.org mirror that you can set on 26 Build a kernel from kernel.org. This step will be executed, the machine 30 # If you have a local/different kernel.org mirror, you can set it by 33 testkernel = job.kernel('2.6.35') 34 # If you want to see kernel expansion in action, comment the above and 38 #testkernel = job.kernel('2.6.36-git13') [all …]
|
D | control.xenbuild | 1 AUTHOR = "Autotest Team <autotest@test.kernel.org>" 8 this is a sample job to build xen and kernel with xen patches. 10 patch a linux kernel, however, in some cases, PPC for example, the 11 kernel is built from a seperate source. The xen class supports 12 defining your own kernel job, and handing that to the xen job. If 13 no kernel job is specified, it will create one using the kernel source 19 # Uncomment the lines below if you want to build an alternate kernel 20 #testkernel = job.kernel('/usr/local/src/linux-2.6.18.tar.bz2') 26 # Uncomment the line below if you want to boot your newly built kernel
|
/external/squashfs-tools/ |
D | README | 8 kernel: obsolete, the kernel code is now in mainline at www.kernel.org. 10 All Squashfs kernel development trees are stored on kernel.org, 11 under git.kernel.org:/linux/kernel/git/pkl/... 13 kernel-2.4: prehistoric, not updated since the 3.1 release. If you still need 14 Squashfs support in the 2.4 kernel then use the squashfs 3.1 release. This 17 The kernel and kernel-2.4 directories (imported from CVS) are not really 20 kernel commit history disappear from public repositories).
|
/external/opencv3/modules/video/src/ |
D | optflowgf.cpp | 421 float* kernel = (float*)_kernel; in FarnebackUpdateFlow_GaussianBlur() local 423 kernel[0] = (float)s; in FarnebackUpdateFlow_GaussianBlur() 428 kernel[i] = t; in FarnebackUpdateFlow_GaussianBlur() 434 kernel[i] = (float)(kernel[i]*s); in FarnebackUpdateFlow_GaussianBlur() 437 float* simd_kernel = alignPtr(kernel + m+1, 16); in FarnebackUpdateFlow_GaussianBlur() 442 _mm_store_ps(simd_kernel + i*4, _mm_set1_ps(kernel[i])); in FarnebackUpdateFlow_GaussianBlur() 513 float s0 = srow[m][x]*kernel[0]; in FarnebackUpdateFlow_GaussianBlur() 515 s0 += (srow[m+i][x] + srow[m-i][x])*kernel[i]; in FarnebackUpdateFlow_GaussianBlur() 555 float sum = vsum[x]*kernel[0]; in FarnebackUpdateFlow_GaussianBlur() 557 sum += kernel[i]*(vsum[x - i*5] + vsum[x + i*5]); in FarnebackUpdateFlow_GaussianBlur() [all …]
|
/external/autotest/frontend/tko/preconfigs/metrics/ |
D | kernel_compare | 10 name[0]: my kernel 1 14 seriesFilters[0][0][db]: kernel 17 name[1]: my kernel 2 21 seriesFilters[1][0][db]: kernel 33 name[0]: my kernel 1 37 seriesFilters[0][0][db]: kernel 40 name[1]: my kernel 2 44 seriesFilters[1][0][db]: kernel 56 name[0]: my kernel 1 60 seriesFilters[0][0][db]: kernel [all …]
|
/external/opencv3/modules/imgproc/src/ |
D | morph.cpp | 948 Mat kernel = _kernel.getMat(); in getMorphologyFilter() local 950 anchor = normalizeAnchor(anchor, kernel.size()); in getMorphologyFilter() 955 return makePtr<MorphFilter<MinOp<uchar>, ErodeVec8u> >(kernel, anchor); in getMorphologyFilter() 957 return makePtr<MorphFilter<MinOp<ushort>, ErodeVec16u> >(kernel, anchor); in getMorphologyFilter() 959 return makePtr<MorphFilter<MinOp<short>, ErodeVec16s> >(kernel, anchor); in getMorphologyFilter() 961 return makePtr<MorphFilter<MinOp<float>, ErodeVec32f> >(kernel, anchor); in getMorphologyFilter() 963 return makePtr<MorphFilter<MinOp<double>, ErodeVec64f> >(kernel, anchor); in getMorphologyFilter() 968 return makePtr<MorphFilter<MaxOp<uchar>, DilateVec8u> >(kernel, anchor); in getMorphologyFilter() 970 return makePtr<MorphFilter<MaxOp<ushort>, DilateVec16u> >(kernel, anchor); in getMorphologyFilter() 972 return makePtr<MorphFilter<MaxOp<short>, DilateVec16s> >(kernel, anchor); in getMorphologyFilter() [all …]
|
/external/opencv3/doc/tutorials/imgproc/imgtrans/filter_2d/ |
D | filter_2d.markdown | 19 (kernel). 21 ### What is a kernel? 23 A kernel is essentially a fixed size array of numerical coefficeints along with an *anchor point* in 28 ### How does convolution with a kernel work? 33 -# Place the kernel anchor on top of a determined pixel, with the rest of the kernel overlaying the 35 -# Multiply the kernel coefficients by the corresponding image pixel values and sum the result. 37 -# Repeat the process for all pixels by scanning the kernel over the entire image. 51 - Performs a *normalized box filter*. For instance, for a kernel of size \f$size = 3\f$, the 52 kernel would be: 62 - The filter output (with each kernel) will be shown during 500 milliseconds [all …]
|
/external/autotest/server/ |
D | rpm_kernel_unittest.py | 14 self.kernel = rpm_kernel.RPMKernel() 16 self.kernel.source_material = "source.rpm" 27 self.god.stub_function(self.kernel, "get_image_name") 28 self.god.stub_function(self.kernel, "get_vmlinux_name") 29 rpm = self.kernel.source_material 40 self.kernel.get_image_name.expect_call().and_return("vmlinuz") 44 self.kernel.get_vmlinux_name.expect_call().and_return("/boot/vmlinux") 54 self.kernel.install(host) 69 self.assertEquals(self.kernel.get_version(), result.stdout) 82 self.assertEquals(self.kernel.get_image_name(), result.stdout) [all …]
|
D | deb_kernel_unittest.py | 14 self.kernel = deb_kernel.DEBKernel() 26 self.kernel.source_material = "source.rpm" 27 basename = os.path.basename(self.kernel.source_material) 31 self.host.send_file.expect_call(self.kernel.source_material, 45 utils.sh_escape(self.kernel.source_material)).and_return(result) 47 utils.sh_escape(self.kernel.source_material)).and_return(result) 51 utils.sh_escape(self.kernel.source_material)).and_return(result) 53 utils.sh_escape(self.kernel.source_material)).and_return(result) 58 self.kernel.install(self.host) 73 self.kernel.extract(self.host)
|
/external/dng_sdk/source/ |
D | dng_mosaic_info.cpp | 618 dng_bilinear_kernel &kernel = fKernel [patRow] [patCol]; in Calculate() local 625 kernel.Add (dng_point (0, 0), 1.0f); in Calculate() 654 kernel.Add (dng_point (-1, 0), 0.25f); in Calculate() 655 kernel.Add (dng_point ( 0, -1), 0.25f); in Calculate() 656 kernel.Add (dng_point ( 0, 1), 0.25f); in Calculate() 657 kernel.Add (dng_point ( 1, 0), 0.25f); in Calculate() 668 kernel.Add (dng_point (-1, 0), 0.5f); in Calculate() 669 kernel.Add (dng_point ( 1, 0), 0.5f); in Calculate() 680 kernel.Add (dng_point ( 0, -1), 0.5f); in Calculate() 681 kernel.Add (dng_point ( 0, 1), 0.5f); in Calculate() [all …]
|
/external/autotest/client/tests/kernelbuild/ |
D | kernelbuild.py | 1 from autotest_lib.client.bin import test, kernel 8 kernel = self.job.kernel(base_tree, self.outputdir) 10 kernel.patch(*patches) 11 kernel.config(config, config_list) 13 kernel.build()
|