Home
last modified time | relevance | path

Searched refs:step (Results 1 – 25 of 137) sorted by relevance

123456

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dsliceobject.c61 PySlice_New(PyObject *start, PyObject *stop, PyObject *step) in PySlice_New() argument
68 if (step == NULL) step = Py_None; in PySlice_New()
69 Py_INCREF(step); in PySlice_New()
75 obj->step = step; in PySlice_New()
103 Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step) in PySlice_GetIndices() argument
106 if (r->step == Py_None) { in PySlice_GetIndices()
107 *step = 1; in PySlice_GetIndices()
109 if (!PyInt_Check(r->step) && !PyLong_Check(r->step)) return -1; in PySlice_GetIndices()
110 *step = PyInt_AsSsize_t(r->step); in PySlice_GetIndices()
113 *start = *step < 0 ? length-1 : 0; in PySlice_GetIndices()
[all …]
Drangeobject.c8 long step; member
16 get_len_of_range(long lo, long hi, long step) in get_len_of_range() argument
31 assert(step != 0); in get_len_of_range()
32 if (step > 0 && lo < hi) in get_len_of_range()
33 return 1UL + (hi - 1UL - lo) / step; in get_len_of_range()
34 else if (step < 0 && lo > hi) in get_len_of_range()
35 return 1UL + (lo - 1UL - hi) / (0UL - step); in get_len_of_range()
78 obj->step = istep; in range_new()
99 return PyInt_FromLong((long)(r->start + (unsigned long)i * r->step)); in range_item()
113 if (r->start == 0 && r->step == 1) in range_repr()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dsliceobject.c61 PySlice_New(PyObject *start, PyObject *stop, PyObject *step) in PySlice_New() argument
68 if (step == NULL) step = Py_None; in PySlice_New()
69 Py_INCREF(step); in PySlice_New()
75 obj->step = step; in PySlice_New()
103 Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step) in PySlice_GetIndices() argument
106 if (r->step == Py_None) { in PySlice_GetIndices()
107 *step = 1; in PySlice_GetIndices()
109 if (!PyInt_Check(r->step) && !PyLong_Check(r->step)) return -1; in PySlice_GetIndices()
110 *step = PyInt_AsSsize_t(r->step); in PySlice_GetIndices()
113 *start = *step < 0 ? length-1 : 0; in PySlice_GetIndices()
[all …]
Drangeobject.c8 long step; member
16 get_len_of_range(long lo, long hi, long step) in get_len_of_range() argument
31 assert(step != 0); in get_len_of_range()
32 if (step > 0 && lo < hi) in get_len_of_range()
33 return 1UL + (hi - 1UL - lo) / step; in get_len_of_range()
34 else if (step < 0 && lo > hi) in get_len_of_range()
35 return 1UL + (lo - 1UL - hi) / (0UL - step); in get_len_of_range()
57 last = (long)(r->start + (unsigned long)(r->len - 1) * r->step); in get_stop_for_range()
58 if (r->step > 0) in get_stop_for_range()
59 return last > LONG_MAX - r->step ? LONG_MAX : last + r->step; in get_stop_for_range()
[all …]
/device/lge/bullhead/
DCleanSpec.mk47 $(call add-clean-step, rm -rf $(OUT_DIR)/target/product/bullhead/system/build.prop)
48 $(call add-clean-step, rm -rf $(OUT_DIR)/target/product/bullhead/system/build.prop)
49 $(call add-clean-step, rm -rf $(OUT_DIR)/target/product/bullhead/system/build.prop)
50 $(call add-clean-step, rm -rf $(OUT_DIR)/target/product/bullhead/system/build.prop)
51 $(call add-clean-step, rm -rf $(OUT_DIR)/target/product/bullhead/system/build.prop)
52 $(call add-clean-step, rm -rf $(OUT_DIR)/target/product/bullhead/system/build.prop)
53 $(call add-clean-step, rm -rf $(OUT_DIR)/target/product/bullhead/system/build.prop)
54 $(call add-clean-step, rm -rf $(OUT_DIR)/target/product/bullhead/system/build.prop)
55 $(call add-clean-step, rm -rf $(OUT_DIR)/target/product/bullhead/system/build.prop)
56 $(call add-clean-step, rm -rf $(OUT_DIR)/target/product/bullhead/system/build.prop)
[all …]
/device/google/contexthub/lib/nanohub/
Drsa.c23 …32_t *num, const uint32_t *denum, uint32_t *tmp, uint32_t *state1, uint32_t *state2, uint32_t step) in biModIterative() argument
33 if (!step) { in biModIterative()
43 if (step == 1) { in biModIterative()
112 static void biMulIterative(uint32_t *ret, const uint32_t *a, const uint32_t *b, uint32_t step) //re… in biMulIterative() argument
118 if (!step) in biMulIterative()
124 r = (uint64_t)a[step] * b[j] + c + ret[step + j]; in biMulIterative()
125 ret[step + j] = r; in biMulIterative()
130 for (j = step + RSA_LIMBS; j < RSA_LIMBS * 2; j++) { in biMulIterative()
170 uint32_t step = *stepP, gigastep, gigastepBase, gigastepSubstep, megaSubstep; in rsaPubOpIterative() local
173 if (!step) { in rsaPubOpIterative()
[all …]
/device/huawei/angler/
DCleanSpec.mk47 $(call add-clean-step, rm -rf $(OUT_DIR)/target/product/angler/system/build.prop)
48 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
49 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/ETC/system_build_prop_intermediates/build.prop)
50 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
51 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/ETC/system_build_prop_intermediates/build.prop)
52 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
53 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
54 $(call add-clean-step, find $(OUT_DIR)/target/product/bullhead/ -name \*build.prop* -exec rm -rf {}…
55 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
56 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
[all …]
/device/google/marlin/
DCleanSpec.mk47 $(call add-clean-step, find $(OUT_DIR)/target/product/marlin/ -name \*sensors.marlin* -exec rm -rf …
48 $(call add-clean-step, find $(OUT_DIR)/target/product/marlin/ -name \*activity_recognition.marlin* …
49 $(call add-clean-step, find $(OUT_DIR)/target/product/sailfish/ -name \*sensors.sailfish* -exec rm …
50 $(call add-clean-step, find $(OUT_DIR)/target/product/sailfish/ -name \*activity_recognition.sailfi…
51 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/WebViewGoogle)
52 $(call add-clean-step, rm $(OUT_DIR)/target/product/marlin/system/lib/hw/android.hardware.broadcast…
53 $(call add-clean-step, rm $(OUT_DIR)/target/product/sailfish/system/lib/hw/android.hardware.broadca…
54 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/metadata)
55 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/recovery/root/metadata)
58 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib/vndk-sp)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_xrange.py13 def pyrange(start, stop, step): argument
14 if (start - stop) // step < 0:
17 stop += (start - stop) % step
20 start += step
22 def pyrange_reversed(start, stop, step): argument
23 stop += (start - stop) % step
24 return pyrange(stop - step, start - step, -step)
113 test_ranges = [(start, end, step)
116 for step in (-2**63, -2**31, -2, -1, 1, 2)]
118 for start, end, step in test_ranges:
[all …]
Dtest_buffer.py20 for step in indices[1:]:
21 self.assertEqual(b[start:stop:step],
22 s[start:stop:step])
Dtest_userstring.py98 for step in (None, 1, -1):
103 data = L[start:stop:step]
105 L[start:stop:step] = data
106 s[start:stop:step] = "".join(data)
109 del L[start:stop:step]
110 del s[start:stop:step]
Dtest_colorsys.py4 def frange(start, stop, step): argument
7 start += step
Dtest_slice.py57 self.assertEqual(s.step, None)
62 self.assertEqual(s.step, None)
67 self.assertEqual(s.step, 3)
Dtest_structseq.py112 for step in indices[1:]:
113 self.assertEqual(list(t[start:stop:step]),
114 L[start:stop:step])
/device/google/contexthub/
DCleanSpec.mk47 $(call add-clean-step, rm -f $(PRODUCT_OUT)/system/lib/hw/context_hub.default.so)
48 $(call add-clean-step, rm -f $(PRODUCT_OUT)/system/lib64/hw/context_hub.default.so)
49 $(call add-clean-step, rm -f $(PRODUCT_OUT)/system/lib/hw/sensors.*.so)
50 $(call add-clean-step, rm -f $(PRODUCT_OUT)/system/lib64/hw/sensors.*.so)
51 $(call add-clean-step, rm -f $(PRODUCT_OUT)/system/lib/hw/activity_recognition.*.so)
52 $(call add-clean-step, rm -f $(PRODUCT_OUT)/system/lib64/hw/activity_recognition.*.so)
53 $(call add-clean-step, rm -f $(PRODUCT_OUT)/system/lib/libhubconnection.so)
54 $(call add-clean-step, rm -f $(PRODUCT_OUT)/system/lib64/libhubconnection.so)
/device/google/contexthub/firmware/os/algos/common/math/
Dlevenberg_marquardt.c12 static bool checkRelativeStepSize(const float *step, const float *state,
24 float damping_factor, size_t dim, float *step);
99 state_dim, data->step)) { in lmSolverSolve()
104 if (checkRelativeStepSize(data->step, state, state_dim, in lmSolverSolve()
110 vecAdd(state_new, state, data->step, state_dim); in lmSolverSolve()
118 data->step, data->gradient, in lmSolverSolve()
155 const float *step, const float *gradient, in computeGainRatio() argument
164 vecScalarMul(tmp, step, damping_factor, state_dim); in computeGainRatio()
166 const float predicted_gain = 0.5f * vecDot(step, tmp, state_dim); in computeGainRatio()
184 bool checkRelativeStepSize(const float *step, const float *state, in checkRelativeStepSize() argument
[all …]
Dlevenberg_marquardt.h74 float step[MAX_LM_STATE_DIMENSION]; member
155 const float *step, const float *gradient,
/device/google/dragon/
DCleanSpec.mk46 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/etc/permissions/tablet_core_hardware.xml)
47 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/etc/permissions/dragon_features.xml)
48 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/etc/permissions/android.hardware.camera.raw.xml)
49 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/etc/permissions/android.hardware.location.gps.x…
50 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/etc/permissions/android.hardware.camera.full.xm…
51 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/etc/permissions/android.hardware.camera.manual_…
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/
DRange.py28 start, stop, step = handleargs(a)
32 value += step
47 self.start, self.stop, self.step = handleargs(a)
48 self.len = max(0, (self.stop - self.start) // self.step)
52 return 'range(%r, %r, %r)' % (self.start, self.stop, self.step)
61 return self.start + self.step * i
/device/google/contexthub/firmware/lib/libc/
Dcrt.c26 const int32_t step = from_addr < to_addr ? 1 : -1; in callVectors() local
27 const int32_t count = step > 0 ? end - start : start - end; in callVectors()
30 if (&start[step * count] != end) in callVectors()
33 for (; start != end; start += step) { in callVectors()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dsliceobject.h24 PyObject *start, *stop, *step; /* not NULL */ member
33 PyObject* step);
36 Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step);
39 Py_ssize_t *step, Py_ssize_t *slicelength);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dsliceobject.h24 PyObject *start, *stop, *step; /* not NULL */ member
33 PyObject* step);
36 Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step);
39 Py_ssize_t *step, Py_ssize_t *slicelength);
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformSetupDxe/
DMain.vfi145 step = 1,
153 step = 1,
161 step = 0x1,
195 step = 1,
203 step = 1,
211 step = 1,
DThermal.vfi73 step = 1,
83 step = 1,
93 step = 2,
/device/linaro/bootloader/edk2/BaseTools/
DBuildNotes.txt21 b) Look over https://edk2.tianocore.org/step-by-step-instructions.html
22 for a helpful step-by-step guide for building 'Hello World' on

123456