Searched refs:PushFunction (Results 1 – 2 of 2) sorted by relevance
/external/libtextclassifier/native/utils/ |
D | lua-utils.h | 80 void PushFunction(int (T::*handler)()) { in PushFunction() function 81 PushFunction(std::bind(handler, static_cast<T*>(this))); in PushFunction() 85 void PushFunction(const F& func) const { in PushFunction() function 110 PushFunction(func); in PushLazyObject() 224 PushFunction([this, length, item_callback, key_callback]() { in PushIterator() 235 PushFunction([this, length, item_callback]() { in PushIterator() 246 PushFunction([this, length]() { return Iterator::Length(this, length); }); in CreateIteratorMetatable() 248 PushFunction([this, length, item_callback]() { in CreateIteratorMetatable() 252 PushFunction([this, length, item_callback]() { in CreateIteratorMetatable() 305 PushFunction(func); [all …]
|
/external/libtextclassifier/native/utils/intents/ |
D | jni-lua.cc | 118 PushFunction(&JniLuaEnvironment::HandleHash); in HandleExternalCallback() 121 PushFunction(&JniLuaEnvironment::HandleFormat); in HandleExternalCallback() 173 PushFunction(&JniLuaEnvironment::HandleUrlEncode); in HandleAndroidCallback() 176 PushFunction(&JniLuaEnvironment::HandleUrlHost); in HandleAndroidCallback() 179 PushFunction(&JniLuaEnvironment::HandleUrlSchema); in HandleAndroidCallback()
|