Home
last modified time | relevance | path

Searched refs:ivalue (Results 1 – 21 of 21) sorted by relevance

/external/lua/src/
Dlvm.c106 *n = cast_num(ivalue(obj)); in luaV_tonumber_()
141 *p = ivalue(obj); in luaV_tointegerns()
211 lua_Integer init = ivalue(pinit); in forprep()
212 lua_Integer step = ivalue(pstep); in forprep()
482 lua_Integer li = ivalue(l); in LTnum()
484 return li < ivalue(r); /* both are integers */ in LTnum()
493 return LTfloatint(lf, ivalue(r)); in LTnum()
504 lua_Integer li = ivalue(l); in LEnum()
506 return li <= ivalue(r); /* both are integers */ in LEnum()
515 return LEfloatint(lf, ivalue(r)); in LEnum()
[all …]
Dlvm.h58 (ttisinteger(o) ? ((n) = cast_num(ivalue(o)), 1) : 0))
63 (ttisinteger(o) ? (*(i) = ivalue(o), 1) : luaV_tointeger(o,i,LUA_FLOORN2I))
68 (ttisinteger(o) ? (*(i) = ivalue(o), 1) : luaV_tointegerns(o,i,LUA_FLOORN2I))
Dlobject.c113 setivalue(res, intarith(L, op, ivalue(p1), ivalue(p2))); in luaO_rawarith()
359 len = lua_integer2str(buff, MAXNUMBER2STR, ivalue(obj)); in tostringbuff()
Dltable.c183 return (ivalue(k1) == keyival(n2)); in equalkey()
291 i = ttisinteger(key) ? arrayindex(ivalue(key)) : 0; in findindex()
567 na += countint(ivalue(ek), nums); in rehash()
744 case LUA_VNUMINT: return luaH_getint(t, ivalue(key)); in luaH_get()
Dldump.c121 dumpInteger(D, ivalue(o)); in dumpConstants()
Dlobject.h307 (ttisinteger(o) ? cast_num(ivalue(o)) : fltvalue(o)))
309 #define ivalue(o) check_exp(ttisinteger(o), val_(o).i) macro
Dllex.c245 seminfo->i = ivalue(&obj); in read_numeral()
Dlcode.c555 k = cast_int(ivalue(idx)); in addk()
682 e->k = VKINT; e->u.ival = ivalue(v); in const2exp()
1323 e1->u.ival = ivalue(&res); in constfolding()
Dluac.c318 printf(LUA_INTEGER_FMT,ivalue(o)); in PrintConstant()
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/
Dmetal_arguments.cc259 for (auto& ivalue : args->int_values_) { in ScalarArgumentsToStructWithScalarFields() local
260 auto& new_val = int_values_[ivalue.first]; in ScalarArgumentsToStructWithScalarFields()
261 new_val.value = ivalue.second.value; in ScalarArgumentsToStructWithScalarFields()
262 new_val.active = ivalue.second.active; in ScalarArgumentsToStructWithScalarFields()
263 if (ivalue.second.active) { in ScalarArgumentsToStructWithScalarFields()
266 struct_desc += " int " + ivalue.first + ";\n"; in ScalarArgumentsToStructWithScalarFields()
267 ReplaceAllWords(kArgsPrefix + ivalue.first, "U." + ivalue.first, code); in ScalarArgumentsToStructWithScalarFields()
333 for (auto& ivalue : args->int_values_) { in ScalarArgumentsToStructWithVec4Fields() local
334 auto& new_val = int_values_[ivalue.first]; in ScalarArgumentsToStructWithVec4Fields()
335 new_val.value = ivalue.second.value; in ScalarArgumentsToStructWithVec4Fields()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dcl_arguments.cc402 for (const auto& ivalue : int_values_) { in CopyScalarValues() local
403 args->int_values_[ivalue.first].value = ivalue.second.value; in CopyScalarValues()
420 for (const auto& ivalue : args.int_values_) { in CopyArguments() local
421 auto& new_val = int_values_[ivalue.first]; in CopyArguments()
422 new_val.value = ivalue.second.value; in CopyArguments()
423 new_val.active = ivalue.second.active; in CopyArguments()
424 if (ivalue.second.active) { in CopyArguments()
463 for (const auto& ivalue : int_values_) { in RenameArgumentsInCode() local
464 if (ivalue.second.active) { in RenameArgumentsInCode()
465 std::string index = std::to_string(ivalue.second.offset / 4); in RenameArgumentsInCode()
[all …]
/external/javassist/src/test/test5/
DTypeAnno.java25 @TypeAnnoA int ivalue @TypeAnnoA [] @TypeAnnoA [] @TypeAnnoA [];
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/val/
Dvalidate_type.cpp261 const int64_t ivalue = ConstantLiteralAsInt64(width, length->words()); in ValidateTypeArray() local
262 if (ivalue == 0 || (ivalue < 0 && is_signed)) { in ValidateTypeArray()
265 << "' default value must be at least 1: found " << ivalue; in ValidateTypeArray()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_type.cpp261 const int64_t ivalue = ConstantLiteralAsInt64(width, length->words()); in ValidateTypeArray() local
262 if (ivalue == 0 || (ivalue < 0 && is_signed)) { in ValidateTypeArray()
265 << "' default value must be at least 1: found " << ivalue; in ValidateTypeArray()
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_type.cpp261 const int64_t ivalue = ConstantLiteralAsInt64(width, length->words()); in ValidateTypeArray() local
262 if (ivalue == 0 || (ivalue < 0 && is_signed)) { in ValidateTypeArray()
265 << "' default value must be at least 1: found " << ivalue; in ValidateTypeArray()
/external/libchrome/base/memory/
Ddiscardable_shared_memory.cc76 explicit SharedState(AtomicType ivalue) { value.i = ivalue; } in SharedState()
/external/javassist/src/test/javassist/bytecode/
DStackMapTest.java670 int ivalue; field in StackMapTest.C5
678 ivalue = s.length(); in setter()
698 int ivalue; field in StackMapTest.C6
706 ivalue = s.length(); in setter()
/external/python/cffi/testing/cffi1/
Dtest_verify1.py1998 lib.ivalue = 0
2011 assert lib.ivalue == sign * 99
/external/python/cffi/testing/cffi0/
Dtest_verify.py2033 lib.ivalue = 0
2046 assert lib.ivalue == sign * 99
/external/python/cpython3/Modules/
D_testcapimodule.c6597 PyObject *ivalue = PyNumber_Long(value); in heapctypesetattr_setattro() local
6598 if (ivalue == NULL) in heapctypesetattr_setattro()
6600 long v = PyLong_AsLong(ivalue); in heapctypesetattr_setattro()
6601 Py_DECREF(ivalue); in heapctypesetattr_setattro()
/external/llvm-project/flang/include/flang/Optimizer/Dialect/
DFIROps.td653 mlir::Attribute ivalue; // Integer or Unit
657 if (parser.parseAttribute(ivalue, "i", temp) ||
661 ivalues.push_back(ivalue);