Home
last modified time | relevance | path

Searched refs:utils (Results 1 – 25 of 2709) sorted by relevance

12345678910>>...109

/external/skia/gyp/
Dutils.gypi5 # Include this gypi to include all 'utils' files
14 '<(skia_include_path)/utils/SkBoundaryPatch.h',
15 '<(skia_include_path)/utils/SkFrontBufferedStream.h',
16 '<(skia_include_path)/utils/SkCamera.h',
17 '<(skia_include_path)/utils/SkCanvasStateUtils.h',
18 '<(skia_include_path)/utils/SkDumpCanvas.h',
19 '<(skia_include_path)/utils/SkEventTracer.h',
20 '<(skia_include_path)/utils/SkInterpolator.h',
21 '<(skia_include_path)/utils/SkLayer.h',
22 '<(skia_include_path)/utils/SkMatrix44.h',
[all …]
Dutils.gyp5 # Gyp for utils.
9 'target_name': 'utils',
18 'utils.gypi',
26 '../include/utils',
27 '../include/utils/mac',
28 '../include/utils/unix',
29 '../include/utils/win',
34 '../src/utils',
37 'utils.gypi', # Makes the gypi appear in IDEs (but does not modify the build).
50 '../include/utils/mac',
[all …]
/external/autotest/client/tests/dbt2/
Ddbt2.py2 from autotest_lib.client.bin import test, utils
17 tarball = utils.unmap_url(self.bindir, tarball, self.tmpdir)
18 utils.extract_tarball_to_dir(tarball, self.srcdir)
24 utils.system('cp -pR ' + self.srcdir + ' ' + self.srcdir + '.mysql')
26 utils.configure('--with-mysql=%s/deps/mysql/mysql' % self.autodir)
27 utils.make()
32 utils.system('cp -pR ' + self.srcdir + ' ' + self.srcdir + '.pgsql')
34 utils.configure('--with-postgresql=%s/deps/pgsql/pgsql' % self.autodir)
35 utils.make()
39 utils.system('ln -s %s %s' %
[all …]
/external/v8/src/js/
Dprologue.js5 (function(global, utils, extrasUtils) { argument
163 function PostNatives(utils) { argument
223 utils.PostNatives = UNDEFINED;
224 utils.ImportFromExperimental = UNDEFINED;
228 function PostExperimentals(utils) { argument
239 utils.CreateDoubleResultArray();
240 utils.CreateDoubleResultArray = UNDEFINED;
242 utils.Export = UNDEFINED;
243 utils.PostDebug = UNDEFINED;
244 utils.PostExperimentals = UNDEFINED;
[all …]
Dsymbol.js5 (function(global, utils) { argument
16 var hasInstanceSymbol = utils.ImportNow("has_instance_symbol");
18 utils.ImportNow("is_concat_spreadable_symbol");
19 var iteratorSymbol = utils.ImportNow("iterator_symbol");
21 var toPrimitiveSymbol = utils.ImportNow("to_primitive_symbol");
22 var toStringTagSymbol = utils.ImportNow("to_string_tag_symbol");
23 var unscopablesSymbol = utils.ImportNow("unscopables_symbol");
25 utils.Import(function(from) {
88 utils.InstallConstants(GlobalSymbol, [
105 utils.InstallFunctions(GlobalSymbol, DONT_ENUM, [
[all …]
/external/autotest/site_utils/rpm_control_system/
Drpm_integration_test.py7 from autotest_lib.site_utils.rpm_control_system import utils
18 info_1 = utils.PowerUnitInfo(
21 powerunit_type=utils.PowerUnitInfo.POWERUNIT_TYPES.RPM,
24 info_2 = utils.PowerUnitInfo(
27 powerunit_type=utils.PowerUnitInfo.POWERUNIT_TYPES.RPM,
30 info_3 = utils.PowerUnitInfo(
33 powerunit_type=utils.PowerUnitInfo.POWERUNIT_TYPES.RPM,
45 info_1 = utils.PowerUnitInfo(
48 powerunit_type=utils.PowerUnitInfo.POWERUNIT_TYPES.RPM,
51 info_2 = utils.PowerUnitInfo(
[all …]
Dutils_unittest.py13 import utils
40 utils.load_servo_interface_mapping('fake_file.csv'), expect)
46 self.mox.StubOutWithMock(utils, 'load_servo_interface_mapping')
52 utils.load_servo_interface_mapping('fake_file').AndReturn(
58 result = utils.reload_servo_interface_mapping_if_necessary(
79 p1 = utils.PowerUnitInfo(
80 'host1', utils.PowerUnitInfo.POWERUNIT_TYPES.RPM,
82 p2 = utils.PowerUnitInfo(
83 'host2', utils.PowerUnitInfo.POWERUNIT_TYPES.RPM,
85 p3 = utils.PowerUnitInfo(
[all …]
/external/autotest/client/tests/sysbench/
Dsysbench.py2 from autotest_lib.client.bin import test, utils
15 tarball = utils.unmap_url(self.bindir, tarball, self.tmpdir)
16 utils.extract_tarball_to_dir(tarball, self.srcdir)
25 utils.system(
28 utils.make('-j %d' % utils.count_cpus())
32 num_threads = utils.count_cpus(), max_time = 60, \
36 ld_path = utils.prepend_path(plib,
37 utils.environ('LD_LIBRARY_PATH'))
38 ld_path = utils.prepend_path(mlib, ld_path)
48 utils.system(self.sudo + '/bin/true')
[all …]
/external/autotest/client/common_lib/
Dsite_utils_unittest.py7 from autotest_lib.client.common_lib import utils
52 self.assertEquals(utils.get_function_arg_value(
55 self.assertEquals(utils.get_function_arg_value(
58 KeyError, utils.get_function_arg_value,
108 utils.version_match(builds[i], releases[j]), i==j,
118 self.assertTrue(utils.is_puppylab_vm('localhost:8001'))
119 self.assertTrue(utils.is_puppylab_vm('127.0.0.1:8002'))
120 self.assertFalse(utils.is_puppylab_vm('localhost'))
121 self.assertFalse(utils.is_puppylab_vm('localhost:'))
122 self.assertFalse(utils.is_puppylab_vm('127.0.0.1'))
[all …]
/external/chromium-trace/catapult/dashboard/dashboard/
Dutils_test.py14 from dashboard import utils
27 test_key = utils.TestKey(test_path)
28 self.assertTrue(utils.TestMatchesPattern(test_key, pattern))
32 test_key = utils.TestKey(test_path)
33 self.assertFalse(utils.TestMatchesPattern(test_key, pattern))
111 self.assertEqual(len(keys) / 2, len(utils.GetMulti(keys)))
116 self.assertEqual(len(keys), len(utils.GetMulti(keys)))
121 self.assertEqual(len(keys), len(utils.GetMulti(keys)))
124 key = utils.TestKey('Master/bot/suite-foo/sub/x/y/z')
125 self.assertEqual('suite-foo', utils.TestSuiteName(key))
[all …]
/external/autotest/server/
Dkvm.py19 from autotest_lib.server import hypervisor, utils, hosts
123 'then insmod "%s"; fi' % (utils.sh_escape(
128 (utils.sh_escape(os.path.join(self.build_dir,
133 (utils.sh_escape(os.path.join(self.build_dir,
198 utils.sh_escape(_qemu_ifup_script),
199 utils.sh_escape(os.path.join(self.support_dir,
202 utils.sh_escape(os.path.join(self.support_dir,
209 self.build_dir= utils.unarchive(self.host,
223 utils.sh_escape(self.build_dir),),
230 utils.sh_escape(self.build_dir),
[all …]
Ddeb_kernel_unittest.py6 from autotest_lib.client.common_lib import utils as common_utils
7 from autotest_lib.server import deb_kernel, utils, hosts
18 self.god.stub_function(utils, "run")
40 (utils.sh_escape(self.remote_filename)))
44 utils.run.expect_call('dpkg-deb -f "%s" version' %
45 utils.sh_escape(self.kernel.source_material)).and_return(result)
46 utils.run.expect_call('dpkg-deb -f "%s" version' %
47 utils.sh_escape(self.kernel.source_material)).and_return(result)
50 utils.run.expect_call('dpkg-deb -f "%s" version' %
51 utils.sh_escape(self.kernel.source_material)).and_return(result)
[all …]
/external/autotest/client/tests/cpu_hotplug/
Dcpu_hotplug.py2 from autotest_lib.client.bin import test, utils
10 tarball = utils.unmap_url(self.bindir, tarball, self.tmpdir)
11 utils.extract_tarball_to_dir(tarball, self.srcdir)
16 if utils.running_config():
17 utils.check_for_kernel_feature('HOTPLUG_CPU')
20 if utils.count_cpus() == 1:
25 utils.system('dmesg -c > /dev/null')
26 for cpu in utils.cpu_online_map():
28 utils.system('echo 0 > /sys/devices/system/cpu/cpu%s/online' % cpu, 1)
29 utils.system('dmesg -c')
[all …]
/external/autotest/client/tests/libhugetlbfs/
Dlibhugetlbfs.py2 from autotest_lib.client.bin import utils, test
13 utils.check_kernel_ver("2.6.16")
18 utils.write_one_line('/proc/sys/vm/nr_hugepages',
20 nr_hugepages = utils.read_one_line('/proc/sys/vm/nr_hugepages')
29 if not utils.file_contains_pattern('/proc/mounts', 'hugetlbfs'):
33 utils.system('mount -t hugetlbfs none %s' % dir)
39 tarball = utils.unmap_url(self.bindir, tarball, self.tmpdir)
40 utils.extract_tarball_to_dir(tarball, self.srcdir)
43 utils.system('patch -p1 < ../elflink.patch')
47 utils.make()
[all …]
/external/autotest/client/profilers/oprofile/
Doprofile.py13 from autotest_lib.client.bin import utils, profiler
36 self.tarball = utils.unmap_url(self.bindir, tarball,
38 utils.extract_tarball_to_dir(self.tarball, self.srcdir)
42 utils.system('patch -p1 < %s' % patch)
43 utils.configure('--with-kernel-support --prefix=' + \
45 utils.make('-j %d' % utils.count_cpus())
46 utils.make('install')
71 utils.system(self.opcontrol + setup)
102 self.vmlinux = utils.get_vmlinux()
124 utils.system(self.opcontrol + ' --shutdown')
[all …]
/external/autotest/client/tests/linus_stress/
Dlinus_stress.py2 from autotest_lib.client.bin import test, utils
11 utils.system('cp linus_stress.c src/')
13 utils.system(utils.get_cc() + ' linus_stress.c -D_POSIX_C_SOURCE=200112 -o linus_stress')
21 utils.write_one_line('/proc/sys/vm/dirty_ratio', '4')
22 utils.write_one_line('/proc/sys/vm/dirty_background_ratio', '2')
25 args = "%d" % (utils.memtotal() / 32)
32 utils.system(cmd + ' ' + args)
40 dirty_ratio = utils.read_one_line('/proc/sys/vm/dirty_ratio')
41 dirty_background_ratio = utils.read_one_line('/proc/sys/vm/dirty_background_ratio')
45 utils.write_one_line('/proc/sys/vm/dirty_ratio', dirty_ratio)
[all …]
/external/autotest/client/site_tests/platform_Pkcs11Events/
Dplatform_Pkcs11Events.py6 from autotest_lib.client.bin import test, utils
24 utils.system('chaps_client --load --path=%s --auth=%s' %
26 utils.system('p11_replay --inject')
27 utils.system('chaps_client --unload --path=%s' % token)
31 utils.system('chaps_client --load --path=%s --auth=%s' %
34 utils.system('chaps_client --unload --path=%s' % token)
41 utils.system('chaps_client --load --path=%s --auth=%s' %
45 result = utils.system('p11_replay --replay_wifi',
50 utils.system('chaps_client --unload --path=%s' % token)
54 utils.system('chaps_client --unload --path=%s' % token)
[all …]
/external/webp/src/
DAndroid.mk68 utils/bit_reader.c \
69 utils/bit_writer.c \
70 utils/color_cache.c \
71 utils/filters.c \
72 utils/huffman.c \
73 utils/huffman_encode.c \
74 utils/quant_levels.c \
75 utils/random.c \
76 utils/rescaler.c \
77 utils/thread.c \
[all …]
/external/autotest/client/profilers/lttng/
Dlttng.py24 from autotest_lib.client.bin import utils, profiler
32 self.tarball = utils.unmap_url(self.bindir, tarball, self.tmpdir)
33 utils.extract_tarball_to_dir(self.tarball, self.srcdir)
36 utils.configure()
37 utils.make()
59 utils.system('mount -t debugfs debugfs ' + self.mountpoint,
61 utils.system('modprobe ltt-control')
62 utils.system('modprobe ltt-statedump')
64 utils.system(self.lttctl + ' -n test -R', ignore_status=True)
65 utils.system(self.disarmall, ignore_status=True)
[all …]
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DCollectionsTest.java22 import com.badlogic.gdx.tests.utils.GdxTest;
23 import com.badlogic.gdx.utils.Array;
24 import com.badlogic.gdx.utils.ArrayMap;
25 import com.badlogic.gdx.utils.BooleanArray;
26 import com.badlogic.gdx.utils.ByteArray;
27 import com.badlogic.gdx.utils.CharArray;
28 import com.badlogic.gdx.utils.FloatArray;
29 import com.badlogic.gdx.utils.GdxRuntimeException;
30 import com.badlogic.gdx.utils.IdentityMap;
31 import com.badlogic.gdx.utils.IntArray;
[all …]
/external/autotest/client/tests/ltp/
Dltp.py7 from autotest_lib.client.bin import utils, test
37 tarball = utils.unmap_url(self.bindir, tarball, self.tmpdir)
38 utils.extract_tarball_to_dir(tarball, self.srcdir)
43 utils.system('patch -p1 < ../patches/getdents.patch')
44 utils.system('patch -p1 < ../patches/cpuid.patch')
45 utils.system('patch -p1 < ../patches/kill-ipc.patch')
46 utils.system('patch -p1 < ../patches/genpow.patch')
47 utils.system('patch -p1 < ../patches/sysctl.patch')
48 utils.make('autotools')
49 utils.configure('--prefix=%s' % ltpbin_dir)
[all …]
/external/autotest/client/site_tests/graphics_Idle/
Dgraphics_Idle.py8 from autotest_lib.client.bin import utils
33 if not utils.wait_for_idle_cpu(20.0, 0.1):
37 self._gpu_type = utils.get_gpu_family()
38 self._cpu_type = utils.get_cpu_soc_family()
39 self._board = utils.get_board()
63 board = utils.get_board()
80 if self._gpu_type != 'baytrail' or utils.has_no_monitor():
116 if (utils.get_cpu_soc_family() == 'x86_64' and
136 utils.log_process_activity()
146 if (utils.get_cpu_soc_family() == 'x86_64' and
[all …]
/external/autotest/client/site_tests/graphics_Sanity/
Dgraphics_Sanity.py8 from autotest_lib.client.bin import test, utils
53 if utils.is_freon() and graphics_utils.get_display_resolution() is None:
81 if not utils.is_freon():
89 if not utils.is_freon():
92 utils.run(cmd,
93 stdout_tee=utils.TEE_TO_LOGS,
94 stderr_tee=utils.TEE_TO_LOGS)
96 if not utils.is_freon():
99 utils.ensure_processes_are_dead_by_name('^X$')
103 utils.system(convert_cmd % (screenshot1_generated, screenshot1_resized))
[all …]
/external/autotest/client/site_tests/platform_WarningCollector/
Dplatform_WarningCollector.py6 from autotest_lib.client.bin import test, utils
17 utils.system("stop warn-collector")
18 utils.system("rm -rf /var/run/kwarn")
19 utils.system("start warn-collector")
20 utils.system("sleep 0.1")
23 utils.system("echo WARNING > %s" % (lkdtm))
25 utils.system("echo warning > /proc/breakme")
26 utils.system("sleep 0.1")
27 utils.system("test -f /var/run/kwarn/warning")
/external/autotest/client/bin/
Dpackage_unittest.py7 from autotest_lib.client.bin import package, os_dep, utils
21 self.god.stub_function(utils, "system_output")
22 self.god.stub_function(utils, "system")
26 utils.system_output.expect_call(
28 utils.system_output.expect_call(
49 utils.system_output.expect_call(v_cmd).and_return(ver)
53 utils.system_output.expect_call(s_cmd).and_return('source')
55 utils.system_output.expect_call(v_cmd).and_return(ver)
57 utils.system_output.expect_call(a_cmd).and_return('586')
59 utils.system.expect_call(i_cmd)
[all …]

12345678910>>...109