Home
last modified time | relevance | path

Searched refs:od (Results 1 – 25 of 281) sorted by relevance

12345678910>>...12

/external/python/cpython3/Lib/test/
Dtest_ordered_dict.py68 od = OrderedDict()
69 od.update(dict(pairs))
70 self.assertEqual(sorted(od.items()), pairs) # dict input
71 od = OrderedDict()
72 od.update(**dict(pairs))
73 self.assertEqual(sorted(od.items()), pairs) # kwds input
74 od = OrderedDict()
75 od.update(pairs)
76 self.assertEqual(list(od.items()), pairs) # pairs input
77 od = OrderedDict()
[all …]
/external/python/cpython2/Lib/test/
Dtest_ordered_dict.py39 od = OrderedDict()
40 od.update(dict(pairs))
41 self.assertEqual(sorted(od.items()), pairs) # dict input
42 od = OrderedDict()
43 od.update(**dict(pairs))
44 self.assertEqual(sorted(od.items()), pairs) # kwds input
45 od = OrderedDict()
46 od.update(pairs)
47 self.assertEqual(list(od.items()), pairs) # pairs input
48 od = OrderedDict()
[all …]
/external/python/cpython3/Objects/
Dodictobject.c517 #define _odictnode_VALUE(node, od) \ argument
518 PyODict_GetItemWithError((PyObject *)od, _odictnode_KEY(node))
522 #define _odict_FIRST(od) (((PyODictObject *)od)->od_first) argument
523 #define _odict_LAST(od) (((PyODictObject *)od)->od_last) argument
524 #define _odict_EMPTY(od) (_odict_FIRST(od) == NULL) argument
525 #define _odict_FOREACH(od, node) \ argument
526 for (node = _odict_FIRST(od); node != NULL; node = _odictnode_NEXT(node))
530 _odict_get_index_raw(PyODictObject *od, PyObject *key, Py_hash_t hash) in _odict_get_index_raw() argument
533 PyDictKeysObject *keys = ((PyDictObject *)od)->ma_keys; in _odict_get_index_raw()
536 ix = (keys->dk_lookup)((PyDictObject *)od, key, hash, &value); in _odict_get_index_raw()
[all …]
/external/python/cpython3/Include/
Dodictobject.h26 PyAPI_FUNC(int) PyODict_SetItem(PyObject *od, PyObject *key, PyObject *item);
27 PyAPI_FUNC(int) PyODict_DelItem(PyObject *od, PyObject *key);
30 #define PyODict_GetItem(od, key) PyDict_GetItem((PyObject *)od, key) argument
31 #define PyODict_GetItemWithError(od, key) \ argument
32 PyDict_GetItemWithError((PyObject *)od, key)
33 #define PyODict_Contains(od, key) PyDict_Contains((PyObject *)od, key) argument
34 #define PyODict_Size(od) PyDict_Size((PyObject *)od) argument
35 #define PyODict_GetItemString(od, key) \ argument
36 PyDict_GetItemString((PyObject *)od, key)
/external/tensorflow/tensorflow/core/kernels/
Deigen_spatial_convolutions_test.cc53 for (int od = 0; od < output_depth; ++od) { in TEST() local
63 input(id, r - 1 + i, c - 1 + j) * kernel(od, id, r, c); in TEST()
68 EigenApprox(result(od, i, j), expected); in TEST()
98 for (int od = 0; od < output_depth; ++od) { in TEST() local
108 input(c - 1 + j, r - 1 + i, id) * kernel(c, r, id, od); in TEST()
113 EigenApprox(result(j, i, od), expected); in TEST()
134 for (int od = 0; od < 7; ++od) { in TEST() local
144 input(id, r - 1 + i, c - 1 + j, b) * kernel(od, id, r, c); in TEST()
149 EigenApprox(result(od, i, j, b), expected); in TEST()
171 for (int od = 0; od < 7; ++od) { in TEST() local
[all …]
Deigen_backward_spatial_convolutions_test.cc61 for (int od = 0; od < output_depth; ++od) { in TEST() local
66 expected += output_backward(od, output_i, output_j) * in TEST()
67 kernel(od, id, r, c); in TEST()
113 for (int od = 0; od < output_depth; ++od) { in TEST() local
118 expected += output_backward(output_j, output_i, od) * in TEST()
119 kernel(c, r, id, od); in TEST()
171 for (int od = 0; od < output_depth; ++od) { in TEST() local
179 output_backward(od, output_i, output_j, output_k) * in TEST()
180 kernel(od, id, p, r, c); in TEST()
234 for (int od = 0; od < output_depth; ++od) { in TEST() local
[all …]
Ddeep_conv2d.cc228 for (int64 od = 0; od < num_filters; ++od) { in operator ()() local
229 const int64 out_depth_buf_base = od * out_depth_stride; in operator ()()
230 const int64 out_depth_base = (od_start + od) * out_depth_stride; in operator ()()
318 for (int64 od = 0; od < num_filters; ++od) { in operator ()() local
319 const int64 out_depth_base = od * out_depth_stride; in operator ()()
343 (od_start + od); in operator ()()
469 for (int64 od = start; od < od_unroll_limit; od += od_unroll) { in operator ()() local
470 TransformFilterRange<T>()(args, transform, od, od + od_unroll, in operator ()()
781 for (int64 od = 0; od < args.out_depth; ++od) { in operator ()() local
782 const int64 out_depth_base = od * out_depth_stride; in operator ()()
[all …]
/external/openssh/
Dsftp-glob.c65 fudge_readdir(struct SFTP_OPENDIR *od) in fudge_readdir() argument
74 if (od->dir[od->offset] == NULL) in fudge_readdir()
84 strlcpy(ret->d_name, od->dir[od->offset++]->filename, MAXPATHLEN); in fudge_readdir()
86 strlcpy(ret->d_name, od->dir[od->offset++]->filename, in fudge_readdir()
104 fudge_closedir(struct SFTP_OPENDIR *od) in fudge_closedir() argument
106 free_sftp_dirents(od->dir); in fudge_closedir()
107 free(od); in fudge_closedir()
/external/u-boot/board/freescale/common/
Dics307_clk.c52 unsigned long vdw, rdw, odp, s_vdw = 0, s_rdw = 0, s_odp = 0, od; in ics307_sysclk_calculator() local
57 od = ics307_s_to_od[odp]; in ics307_sysclk_calculator()
58 if (od * out_freq < MIN_VCO || od * out_freq > MAX_VCO) in ics307_sysclk_calculator()
62 vdw = out_freq * 1000 * od * rdw / (input_freq * 2); in ics307_sysclk_calculator()
68 tmp_out = input_freq * 2 * vdw / (rdw * od * 1000); in ics307_sysclk_calculator()
105 unsigned long od = ics307_s_to_od[cw0 & 0x7]; in ics307_clk_freq() local
124 freq = input_freq * 2 * (vdw + 8) / ((rdw + 2) * od); in ics307_clk_freq()
/external/jemalloc_new/
D.gitignore25 /src/*.[od]
34 /test/integration/*.[od]
39 /test/integration/cpp/*.[od]
42 /test/src/*.[od]
46 /test/stress/*.[od]
51 /test/unit/*.[od]
/external/u-boot/drivers/pinctrl/
Dpinctrl-sti.c94 int oe = 0, pu = 0, od = 0; in sti_pin_configure() local
128 oe = 0; pu = 0; od = 0; in sti_pin_configure()
131 oe = 0; pu = 1; od = 0; in sti_pin_configure()
134 oe = 1; pu = 0; od = 0; in sti_pin_configure()
137 oe = 1; pu = 0; od = 1; in sti_pin_configure()
140 oe = 1; pu = 1; od = 1; in sti_pin_configure()
202 if (od) in sti_pin_configure()
/external/jemalloc/
D.gitignore24 /src/*.[od]
32 /test/integration/*.[od]
37 /test/src/*.[od]
43 /test/stress/*.[od]
50 /test/unit/*.[od]
/external/blktrace/btt/
Doutput.c287 #define OD_AVG(od, fld, q2c) \ argument
288 (od. fld .n == 0) ? (double)0.0 : \
289 (100.0 * ((double)((od). fld . total) / q2c))
294 struct ohead_data od; in output_dip_prep_ohead() local
296 memset(&od, 0, sizeof(od)); in output_dip_prep_ohead()
297 od.ofp = ofp; in output_dip_prep_ohead()
302 dip_foreach_out(__output_dip_prep_ohead, &od); in output_dip_prep_ohead()
304 if (od.q2g.n == 0 && od.g2i.n == 0 && od.q2m.n == 0 && in output_dip_prep_ohead()
305 od.i2d.n == 0 && od.d2c.n == 0) in output_dip_prep_ohead()
308 q2c = od.q2c.total; in output_dip_prep_ohead()
[all …]
/external/python/cpython2/Tools/bgen/bgen/
DbgenModule.py24 def addobject(self, od): argument
25 self.generators.append(od)
26 self.typeobjects.append(od)
27 od.setmodulename(self.longname)
/external/python/cpython2/Lib/json/tests/
Dtest_decode.py39 od = self.loads(s, object_pairs_hook=OrderedDict)
40 self.assertEqual(od, OrderedDict(p))
41 self.assertEqual(type(od), OrderedDict)
Dtest_unicode.py63 od = self.loads(s, object_pairs_hook = OrderedDict)
64 self.assertEqual(od, OrderedDict(p))
65 self.assertEqual(type(od), OrderedDict)
/external/u-boot/arch/arm/mach-tegra/
Dpinmux-common.c40 #define pmux_pin_od_isvalid(od) \ argument
41 (((od) >= PMUX_PIN_OD_DISABLE) && ((od) <= PMUX_PIN_OD_ENABLE))
281 static void pinmux_set_od(enum pmux_pingrp pin, enum pmux_pin_od od) in pinmux_set_od() argument
286 if (od == PMUX_PIN_OD_DEFAULT) in pinmux_set_od()
291 assert(pmux_pin_od_isvalid(od)); in pinmux_set_od()
294 if (od == PMUX_PIN_OD_ENABLE) in pinmux_set_od()
443 pinmux_set_od(pin, config->od); in pinmux_config_pingrp()
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-objcopy/
Dstrip-sections-only-keep.test3 # RUN: od -Ax -t x1 %t2 | FileCheck %s
4 # RUN: od -Ax -t c %t2 | FileCheck %s -check-prefix=TEXT
/external/ltp/testcases/network/stress/ssh/
Dssh-stress02-rmt59 wait_sec=$(($(od -A n -d -N 1 /dev/random) * 3 / 255))
60 login_sec=$(($(od -A n -d -N 1 /dev/random) * 10 / 255))
/external/libxaac/decoder/
Dixheaacd_mps_dec.c535 WORD32 od = 0, od_sign = 0; in ixheaacd_mps_huff_dec_cld_1d() local
551 od = -(node + 1); in ixheaacd_mps_huff_dec_cld_1d()
553 if (od != 0) { in ixheaacd_mps_huff_dec_cld_1d()
557 if (od_sign) od = -od; in ixheaacd_mps_huff_dec_cld_1d()
560 out_data[i] = od; in ixheaacd_mps_huff_dec_cld_1d()
571 WORD32 od = 0; in ixheaacd_mps_huff_dec_ipd_1d() local
586 od = -(node + 1); in ixheaacd_mps_huff_dec_ipd_1d()
587 out_data[i] = od; in ixheaacd_mps_huff_dec_ipd_1d()
598 WORD32 od = 0, od_sign = 0; in ixheaacd_mps_huff_dec_icc_1d() local
614 od = -(node + 1); in ixheaacd_mps_huff_dec_icc_1d()
[all …]
/external/python/cpython3/Lib/test/test_json/
Dtest_unicode.py88 od = self.loads(s, object_pairs_hook = OrderedDict)
89 self.assertEqual(od, OrderedDict(p))
90 self.assertEqual(type(od), OrderedDict)
Dtest_decode.py31 od = self.loads(s, object_pairs_hook=OrderedDict)
32 self.assertEqual(od, OrderedDict(p))
33 self.assertEqual(type(od), OrderedDict)
/external/libpng/contrib/tools/
DmakesRGB.c214 png_byte delta = png_sRGB_delta[ibase >> 7], trydelta = delta, od=delta; in main() local
291 if (base != ob || delta != od) in main()
294 ibase>>7, ob, od, base, delta, eco, ecbase); in main()
297 printf("/* table[%u]={%u,%u} %u errors */\n", ibase>>7, ob, od, in main()
/external/tensorflow/tensorflow/stream_executor/
Ddnn.cc414 string od = absl::StrCat("od", output_feature_map_count()); in ToShortString() local
424 return absl::StrCat(od, id, spatial); in ToShortString()
426 return absl::StrCat(od, spatial, id); in ToShortString()
428 return absl::StrCat(od, id, spatial, "(VECT_C)"); in ToShortString()
430 return absl::StrCat(id, spatial, od); in ToShortString()
432 return absl::StrCat(spatial, id, od); in ToShortString()
/external/markdown/docs/
Dwriting_extensions.txt421 ``od[key] = value`` syntax and the methods ``keys()``, ``values()``, and
451 >>> od = markdown.OrderedDict()
452 >>> od['one'] = 1 # The same as: od.add('one', 1, '_begin')
453 >>> od['three'] = 3 # The same as: od.add('three', 3, '>one')
454 >>> od['four'] = 4 # The same as: od.add('four', 4, '_end')
455 >>> od.items()
463 >>> od.add('two', 2, '>one') # Insert after 'one'
464 >>> od.values()
469 >>> od.add('twohalf', 2.5, '<three') # Insert before 'three'
470 >>> od.keys()
[all …]

12345678910>>...12