Home
last modified time | relevance | path

Searched refs:wanted (Results 1 - 25 of 37) sorted by relevance

12

/third_party/python/Lib/distutils/tests/
H A Dtest_version.py35 for v1, v2, wanted in versions:
39 if wanted is ValueError:
45 self.assertEqual(res, wanted,
47 (v1, v2, wanted, res))
49 self.assertEqual(res, wanted,
51 (v1, v2, wanted, res))
69 for v1, v2, wanted in versions:
71 self.assertEqual(res, wanted,
73 (v1, v2, wanted, res))
75 self.assertEqual(res, wanted,
[all...]
H A Dtest_build.py25 wanted = os.path.join(cmd.build_base, 'lib')
26 self.assertEqual(cmd.build_purelib, wanted)
35 wanted = os.path.join(cmd.build_base, 'lib' + plat_spec)
36 self.assertEqual(cmd.build_platlib, wanted)
42 wanted = os.path.join(cmd.build_base, 'temp' + plat_spec)
43 self.assertEqual(cmd.build_temp, wanted)
46 wanted = os.path.join(cmd.build_base,
48 self.assertEqual(cmd.build_scripts, wanted)
H A Dtest_dir_util.py42 wanted = []
43 self.assertEqual(self._logs, wanted)
47 wanted = ['creating %s' % self.root_target,
49 self.assertEqual(self._logs, wanted)
53 wanted = ["removing '%s' (and everything under it)" % self.root_target]
54 self.assertEqual(self._logs, wanted)
79 wanted = ['creating %s' % self.root_target]
81 self.assertEqual(self._logs, wanted)
99 wanted = ['copying %s -> %s' % (a_file, self.target2)]
101 self.assertEqual(self._logs, wanted)
[all...]
H A Dtest_file_util.py45 wanted = []
46 self.assertEqual(self._logs, wanted)
52 wanted = ['moving %s -> %s' % (self.source, self.target)]
53 self.assertEqual(self._logs, wanted)
62 wanted = ['moving %s -> %s' % (self.source, self.target_dir)]
63 self.assertEqual(self._logs, wanted)
H A Dtest_bdist_dumb.py88 wanted = ['foo-0.1-py%s.%s.egg-info' % sys.version_info[:2], 'foo.py']
90 wanted.append('foo.%s.pyc' % sys.implementation.cache_tag)
91 self.assertEqual(contents, sorted(wanted))
H A Dtest_build_ext.py415 wanted = os.path.join(curdir, 'src', 'lxml', 'etree' + ext)
417 self.assertEqual(wanted, path)
422 wanted = os.path.join(curdir, 'tmpdir', 'lxml', 'etree' + ext)
424 self.assertEqual(wanted, path)
431 wanted = os.path.join(curdir, 'tmpdir', 'twisted', 'runner',
433 self.assertEqual(wanted, path)
438 wanted = os.path.join(curdir, 'twisted', 'runner', 'portmap' + ext)
439 self.assertEqual(wanted, path)
H A Dtest_extension.py23 wanted = ['_arraysurfarray', '_camera', '_numericsndarray',
32 self.assertEqual(names, wanted)
H A Dtest_cmd.py76 wanted = ["command options for 'MyCmd':", ' option1 = 1',
78 self.assertEqual(msgs, wanted)
H A Dtest_core.py133 wanted = "options (after parsing config files):\n"
134 self.assertEqual(stdout.readlines()[0], wanted)
H A Dtest_filelist.py92 wanted = ['ok',
103 self.assertEqual(file_list.files, wanted)
H A Dtest_util.py288 wanted = ('I am a%(8s)spoor%(8s)slonesome%(8s)s'
290 self.assertEqual(res, wanted)
/third_party/backends/backend/
H A Depson2_net.c36 sanei_epson_net_read_raw(Epson_Scanner *s, unsigned char *buf, ssize_t wanted, in sanei_epson_net_read_raw() argument
52 read = sanei_tcp_read(s->fd, buf, wanted); in sanei_epson_net_read_raw()
59 if (read < wanted) { in sanei_epson_net_read_raw()
67 sanei_epson_net_read_buf(Epson_Scanner *s, unsigned char *buf, ssize_t wanted, in sanei_epson_net_read_buf() argument
73 __func__, (u_long) wanted, (void *) s->netptr, (u_long) s->netlen); in sanei_epson_net_read_buf()
75 if ((size_t) wanted > s->netlen) { in sanei_epson_net_read_buf()
77 wanted = s->netlen; in sanei_epson_net_read_buf()
80 memcpy(buf, s->netptr, wanted); in sanei_epson_net_read_buf()
81 read = wanted; in sanei_epson_net_read_buf()
97 sanei_epson_net_read(Epson_Scanner *s, unsigned char *buf, ssize_t wanted, in sanei_epson_net_read() argument
[all...]
H A Depsonds-net.c37 epsonds_net_read_raw(epsonds_scanner *s, unsigned char *buf, ssize_t wanted, in epsonds_net_read_raw() argument
40 DBG(15, "%s: wanted: %ld\n", __func__, wanted); in epsonds_net_read_raw()
42 if (wanted == 0) in epsonds_net_read_raw()
61 read = sanei_tcp_read(s->fd, buf, wanted); in epsonds_net_read_raw()
68 if (read < wanted) { in epsonds_net_read_raw()
76 epsonds_net_read_buf(epsonds_scanner *s, unsigned char *buf, ssize_t wanted, in epsonds_net_read_buf() argument
82 __func__, (u_long) wanted, (void *) s->netptr, (u_long) s->netlen); in epsonds_net_read_buf()
84 if ((size_t) wanted > s->netlen) { in epsonds_net_read_buf()
86 wanted in epsonds_net_read_buf()
106 epsonds_net_read(epsonds_scanner *s, unsigned char *buf, ssize_t wanted, SANE_Status * status) epsonds_net_read() argument
[all...]
/third_party/node/deps/npm/node_modules/npm-pick-manifest/lib/
H A Dindex.js29 const pickManifest = (packument, wanted, opts) => {
49 const result = pickManifest(packument, wanted, looseOpts)
75 wanted,
88 const spec = npa.resolve(name, wanted || defaultTag)
98 if (wanted && type === 'tag') {
99 const ver = distTags[wanted]
111 if (wanted && type === 'version') {
112 const ver = semver.clean(wanted, { loose: true })
118 const range = type === 'range' ? wanted : '*'
144 wanted,
[all...]
/third_party/mbedtls/tests/scripts/
H A Dcheck-python-files.sh25 wanted = sys.argv[1]
26 if packaging.version.parse(actual) < packaging.version.parse(wanted):
27 sys.stderr.write("$1: version %s is too old (want %s)\n" % (actual, wanted))
/third_party/ntfs-3g/libntfs-3g/
H A Dsecurity.c978 /* this is needed when security data is wanted */ in update_secur_descr()
1686 struct CACHED_PERMISSIONS_LEGACY wanted; in enter_cache() local
1689 wanted.perm.uid = uid; in enter_cache()
1690 wanted.perm.gid = gid; in enter_cache()
1692 wanted.perm.mode = pxdesc->mode & 07777; in enter_cache()
1693 wanted.perm.inh_fileid = const_cpu_to_le32(0); in enter_cache()
1694 wanted.perm.inh_dirid = const_cpu_to_le32(0); in enter_cache()
1695 wanted.mft_no = ni->mft_no; in enter_cache()
1696 wanted.variable = (void*)pxdesc; in enter_cache()
1697 wanted in enter_cache()
1769 struct CACHED_PERMISSIONS_LEGACY wanted; fetch_cache() local
2653 struct CACHED_SECURID wanted; ntfs_alloc_securid() local
2797 struct CACHED_SECURID wanted; ntfs_alloc_securid() local
2880 struct CACHED_SECURID wanted; ntfs_set_owner_mode() local
[all...]
H A Dcache.c47 * A compare function must be provided for finding a wanted entry
148 const struct CACHED_GENERIC *wanted, cache_compare compare) in ntfs_fetch_cache()
162 h = cache->dohash(wanted); in ntfs_fetch_cache()
164 while (link && compare(link->entry, wanted)) in ntfs_fetch_cache()
176 && compare(current, wanted)) { in ntfs_fetch_cache()
147 ntfs_fetch_cache(struct CACHE_HEADER *cache, const struct CACHED_GENERIC *wanted, cache_compare compare) ntfs_fetch_cache() argument
/third_party/python/Lib/test/
H A Dtest_sysconfig.py100 wanted = _expand_vars(default_scheme, None)
101 wanted = sorted(wanted.items())
103 self.assertEqual(scheme, wanted)
339 wanted = ['nt', 'posix_home', 'posix_prefix', 'posix_venv', 'nt_venv', 'venv']
341 wanted.extend(['nt_user', 'osx_framework_user', 'posix_user'])
342 self.assertEqual(get_scheme_names(), tuple(sorted(wanted)))
H A Dtest_site.py290 wanted = os.path.join('xoxo', sys.platlibdir,
293 self.assertEqual(dirs[0], wanted)
296 wanted = os.path.join('xoxo', 'lib',
299 self.assertEqual(dirs[-1], wanted)
304 wanted = os.path.join('xoxo', 'lib', 'site-packages')
306 os.path.normcase(wanted))
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dstring_view.cc42 // For each character in wanted, sets the index corresponding
46 explicit LookupTable(string_view wanted) { in LookupTable() argument
47 for (char c : wanted) { in LookupTable()
/third_party/ntfs-3g/include/ntfs-3g/
H A Dcache.h103 const struct CACHED_GENERIC *wanted,
/third_party/python/Tools/scripts/
H A Dfixcid.py34 # changing the function wanted() you can make a different selection of
92 def wanted(name): function
111 elif wanted(name):
/third_party/ltp/tools/sparse/sparse-src/
H A Dpre-process.c322 int wanted = arglist->count.normal; in collect_arguments() local
328 if (!wanted) { in collect_arguments()
337 for (count = 0; count < wanted; count++) { in collect_arguments()
342 if (p->vararg && wanted == 1 && eof_token(start->next)) in collect_arguments()
355 if (count == wanted && !match_op(next, ')')) in collect_arguments()
357 if (count == wanted - 1) { in collect_arguments()
366 if (count < wanted - 1) in collect_arguments()
374 show_token(what), wanted, count); in collect_arguments()
384 show_token(what), count, wanted); in collect_arguments()
/third_party/ffmpeg/libavfilter/
H A Daf_afir.c354 int ret, status, available, wanted; in activate() local
385 wanted = FFMAX(s->min_part_size, (available / s->min_part_size) * s->min_part_size); in activate()
386 ret = ff_inlink_consume_samples(ctx->inputs[0], wanted, wanted, &in); in activate()
/third_party/node/src/
H A Ddebug_utils.cc73 std::string wanted = ToLower(debug_categories.substr(0, comma_pos)); in Parse() local
78 if (available_category.find(wanted) != std::string::npos) \ in Parse()

Completed in 17 milliseconds

12