Home
last modified time | relevance | path

Searched refs:maxvalue (Results 1 – 17 of 17) sorted by relevance

/external/python/cpython2/Modules/_multiprocessing/
Dsemaphore.c18 int maxvalue; member
360 if (self->maxvalue == 1) { in semlock_release()
387 } else if (sval >= self->maxvalue) { in semlock_release()
409 newsemlockobject(PyTypeObject *type, SEM_HANDLE handle, int kind, int maxvalue) in newsemlockobject() argument
420 self->maxvalue = maxvalue; in newsemlockobject()
429 int kind, maxvalue, value; in semlock_new() local
435 &kind, &value, &maxvalue)) in semlock_new()
452 handle = SEM_CREATE(buffer, value, maxvalue); in semlock_new()
462 result = newsemlockobject(type, handle, kind, maxvalue); in semlock_new()
479 int kind, maxvalue; in semlock_rebuild() local
[all …]
/external/python/cpython3/Modules/_multiprocessing/
Dsemaphore.c19 int maxvalue; member
365 if (self->maxvalue == 1) { in semlock_release()
392 } else if (sval >= self->maxvalue) { in semlock_release()
414 newsemlockobject(PyTypeObject *type, SEM_HANDLE handle, int kind, int maxvalue, in newsemlockobject() argument
426 self->maxvalue = maxvalue; in newsemlockobject()
435 int kind, maxvalue, value, unlink; in semlock_new() local
442 &kind, &value, &maxvalue, &name, &unlink)) in semlock_new()
459 handle = SEM_CREATE(name, value, maxvalue); in semlock_new()
467 result = newsemlockobject(type, handle, kind, maxvalue, name_copy); in semlock_new()
487 int kind, maxvalue; in semlock_rebuild() local
[all …]
/external/libchrome/ipc/
Dparam_traits_macros.h38 #define IPC_ENUM_TRAITS_MAX_VALUE(type, maxvalue) \ argument
39 IPC_ENUM_TRAITS_MIN_MAX_VALUE(type, 0, maxvalue)
45 #define IPC_ENUM_TRAITS_MIN_MAX_VALUE(type, minvalue, maxvalue) \ argument
48 static_cast<int>(value) <= static_cast<int>(maxvalue)))
/external/python/cpython2/Lib/lib-tk/
DtkSimpleDialog.py176 minvalue = None, maxvalue = None, argument
185 self.maxvalue = maxvalue
232 if self.maxvalue is not None and result > self.maxvalue:
236 "Please try again." % self.maxvalue,
322 print askfloat("Spam", "Egg weight\n(in tons)", minvalue=1, maxvalue=100)
/external/tensorflow/tensorflow/contrib/coder/kernels/
Drange_coder_ops_test.cc178 TTypes<int16>::ConstFlat maxvalue = maxvalue_tensor.flat<int16>(); in BuildCdf() local
193 CHECK_LT(maxvalue(maxvalue_offset) + 1, chip_size); in BuildCdf()
194 const int value = LogUniform(gen, maxvalue(maxvalue_offset)); in BuildCdf()
210 Tensor maxvalue{DT_INT16, {1, 1, 1, 1}}; in TEST_F() local
211 maxvalue.flat<int16>()(0) = kMaxValue; in TEST_F()
217 BuildCdf(&gen, &data, &temp, maxvalue); in TEST_F()
237 Tensor maxvalue{DT_INT16, {kDimensionSize}}; in TEST_F() local
238 PopulateMaxValues(&gen, &maxvalue, kMinMaxValue, kMaxMaxValue); in TEST_F()
243 ASSERT_TRUE(maxvalue1.CopyFrom(maxvalue, {1, 1, kDimensionSize})); in TEST_F()
253 ASSERT_TRUE(maxvalue2.CopyFrom(maxvalue, {1, kDimensionSize, 1})); in TEST_F()
[all …]
/external/python/rsa/rsa/
Drandnum.py75 def randint(maxvalue): argument
83 bit_size = common.bit_size(maxvalue)
88 if value <= maxvalue:
/external/python/cpython3/Lib/tkinter/
Dsimpledialog.py259 minvalue = None, maxvalue = None, argument
267 self.maxvalue = maxvalue
311 if self.maxvalue is not None and result > self.maxvalue:
315 "Please try again." % self.maxvalue,
415 maxvalue=100))
/external/libvpx/libvpx/test/
Ddct_partial_test.cc75 const int16_t maxvalue = in RunTest() local
77 const int16_t minvalue = -maxvalue; in RunTest()
87 input_block.Set(maxvalue); in RunTest()
91 input_block.Set(&rnd, minvalue, maxvalue); in RunTest()
/external/python/cpython2/Lib/multiprocessing/
Dsynchronize.py74 def __init__(self, kind, value, maxvalue): argument
75 sl = self._semlock = _multiprocessing.SemLock(kind, value, maxvalue)
97 return (Popen.duplicate_for_child(sl.handle), sl.kind, sl.maxvalue)
138 (value, self._semlock.maxvalue)
/external/python/cpython3/Lib/multiprocessing/
Dsynchronize.py50 def __init__(self, kind, value, maxvalue, *, ctx): argument
58 kind, value, maxvalue, self._make_name(),
107 return (h, sl.kind, sl.maxvalue, sl.name)
153 (self.__class__.__name__, value, self._semlock.maxvalue)
/external/python/rsa/tests/
Dtest_prime.py56 def fake_randint(maxvalue): argument
/external/python/cpython2/Demo/tkinter/guido/
Dsortvisu.py48 self.size = self.maxvalue = 0
58 self.maxvalue = max(data)
60 height=(self.maxvalue+1)*YGRID)
325 y2 = (self.array.maxvalue+1)*YGRID
/external/python/cpython3/Tools/demo/
Dsortvisu.py48 self.size = self.maxvalue = 0
58 self.maxvalue = max(data)
60 height=(self.maxvalue+1)*YGRID)
327 y2 = (self.array.maxvalue+1)*YGRID
/external/u-boot/drivers/qe/
Duec.h354 u32 maxvalue; member
/external/python/cpython2/Lib/idlelib/
DEditorWindow.py1489 maxvalue=16)
1549 maxvalue=16)
/external/python/cpython3/Lib/idlelib/
Deditor.py1512 maxvalue=16)
1572 maxvalue=16)
/external/python/cpython3/Lib/
Dturtle.py849 minvalue=minval, maxvalue=maxval)