Home
last modified time | relevance | path

Searched refs:pointer (Results 1 – 25 of 47) sorted by relevance

12

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DPointerTrackerQueue.java47 public void add(final Element pointer) { in add() argument
50 Log.d(TAG, "add: " + pointer + " " + this); in add()
55 expandableArray.set(arraySize, pointer); in add()
57 expandableArray.add(pointer); in add()
63 public void remove(final Element pointer) { in remove() argument
66 Log.d(TAG, "remove: " + pointer + " " + this); in remove()
73 if (element == pointer) { in remove()
75 Log.w(TAG, "Found duplicated element in remove: " + pointer); in remove()
95 public void releaseAllPointersOlderThan(final Element pointer, final long eventTime) { in releaseAllPointersOlderThan() argument
98 Log.d(TAG, "releaseAllPointerOlderThan: " + pointer + " " + this); in releaseAllPointersOlderThan()
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dpointer.h1020 …eateValueByPointer(T& root, const GenericPointer<typename T::ValueType>& pointer, typename T::Allo… in CreateValueByPointer() argument
1021 return pointer.Create(root, a); in CreateValueByPointer()
1032 …yPointer(DocumentType& document, const GenericPointer<typename DocumentType::ValueType>& pointer) { in CreateValueByPointer() argument
1033 return pointer.Create(document); in CreateValueByPointer()
1044 …me T::ValueType* GetValueByPointer(T& root, const GenericPointer<typename T::ValueType>& pointer) { in GetValueByPointer() argument
1045 return pointer.Get(root); in GetValueByPointer()
1049 …ValueType* GetValueByPointer(const T& root, const GenericPointer<typename T::ValueType>& pointer) { in GetValueByPointer() argument
1050 return pointer.Get(root); in GetValueByPointer()
1066 …PointerWithDefault(T& root, const GenericPointer<typename T::ValueType>& pointer, const typename T… in GetValueByPointerWithDefault() argument
1067 return pointer.GetWithDefault(root, defaultValue, a); in GetValueByPointerWithDefault()
[all …]
/packages/modules/NeuralNetworks/common/
DSharedMemoryAndroid.cpp125 auto* const pointer = mapping->getPointer().withDefault(nullptr); in map() local
126 if (pointer == nullptr) { in map()
138 .pointer = pointer, in map()
201 std::variant<const void*, void*> pointer; in map() local
203 pointer = static_cast<void*>(data); in map()
205 pointer = static_cast<const void*>(data); in map()
209 return Mapping{.pointer = pointer, .size = memory.size, .context = std::move(context)}; in map()
235 return Mapping{.pointer = data, .size = size, .context = std::move(sharedScoped)}; in map()
308 if (!std::holds_alternative<void*>(mapping.pointer)) { in flush()
311 void* data = std::get<void*>(mapping.pointer); in flush()
DGraphDump.cpp133 const void* pointer = nullptr; in tryValueDump() local
135 pointer = model.operandValues.data() + opnd.location.offset; in tryValueDump()
137 pointer = std::get<const void*>(opnd.location.pointer); in tryValueDump()
147 memcpy(&val, pointer, sizeof(cppType)); in tryValueDump()
DSharedMemory.cpp75 const auto [pointer, size, context] = NN_TRY(map(memory);); in finish()
78 uint8_t* mutablePointer = static_cast<uint8_t*>(std::get<void*>(pointer)); in finish()
DTypeUtils.cpp678 const auto printPointer = [&os](const std::variant<const void*, void*>& pointer) { in operator <<() argument
679 os << (std::holds_alternative<const void*>(pointer) ? "<constant " : "<mutable "); in operator <<()
684 pointer); in operator <<()
687 printPointer(location.pointer); in operator <<()
984 return std::tie(location.pointer, location.poolIndex, location.offset, location.length, in operator ==()
DCpuExecutor.cpp308 [](auto* pointer) { in getBuffer() argument
311 return static_cast<uint8_t*>(const_cast<void*>(pointer)); in getBuffer()
313 mMapping.pointer); in getBuffer()
340 auto mapping = Mapping{.pointer = buffer, .size = size}; in createFromExistingBuffer()
652 const_cast<void*>(std::get<const void*>(from.location.pointer))); in initializeRunTimeInfo()
707 auto ptr = std::visit(fn, from.location.pointer); in updateForArguments()
DValidation.cpp395 NN_VALIDATE(location.pointer == kNullptrVariant) in validateOperandDataLocation()
417 NN_VALIDATE(location.pointer == kNullptrVariant) in validateOperandDataLocation()
428 NN_VALIDATE(location.pointer == kNullptrVariant) << "SUBGRAPH with a non-null pointer"; in validateOperandDataLocation()
443 std::visit([](auto* ptr) { return ptr != nullptr; }, location.pointer); in validateOperandDataLocation()
1054 NN_VALIDATE(location.pointer == kNullptrVariant); in validateRequestArgument()
1068 NN_VALIDATE(location.pointer == kNullptrVariant); in validateRequestArgument()
1077 std::visit([](auto ptr) { return ptr == nullptr; }, location.pointer); in validateRequestArgument()
1083 NN_VALIDATE(std::holds_alternative<void*>(location.pointer)); in validateRequestArgument()
/packages/modules/NeuralNetworks/common/operations/
DHashtableLookup.cpp50 void* pointer = nullptr; in Eval() local
54 pointer = bsearch(lookup_->buffer + sizeof(int) * i, key_->buffer, num_rows, sizeof(int), in Eval()
56 if (pointer != nullptr) { in Eval()
57 idx = (reinterpret_cast<uint8_t*>(pointer) - key_->buffer) / sizeof(float); in Eval()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dpointer.md35 #include "rapidjson/pointer.h"
124 …`"0"` is treated as member name in the first pointer. It is treated as an array index in the secon…
151 …er, because the parameter is a `Document&`. But if you want to resolve a pointer to a subtree. You…
184 Note that, all resolving functions assumes valid pointer. Resolving with an invalid pointer causes …
188 …representation of JSON pointer that we are using till now, [RFC6901] also defines the URI fragment…
218 If a pointer will be resolved multiple times, it should be construct once, and then apply it to dif…
Dinternals.md117 …6 bytes (32-bit or 64-bit) for storing actual data. Instead of storing a pointer to a string, it i…
138 // \returns pointer to the memory block.
142 // \param originalPtr The pointer to current memory block. Null pointer is permitted.
148 // \param pointer to the memory block. Null pointer is permitted.
Dstream.md72 `FileReadStream` reads the file via a `FILE` pointer. And user need to provide a buffer.
257 //! Begin writing operation at the current read pointer.
258 //! \return The begin writer pointer.
268 //! \param begin The begin write pointer returned by PutBegin().
Dfeatures.md66 * Only store pointer instead of copying
Dtutorial.md347 2. const-string: simply store a pointer of string.
351 …e allocation. This design is needed to prevent storing a allocator (or Document) pointer per Value.
377 For character pointer, the RapidJSON requires to mark it as safe before using it without copying. T…
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DMotionPauseDetector.java224 public float addMotionEvent(MotionEvent ev, int pointer) {
228 ? mVelocityTracker.getXVelocity(pointer)
229 : mVelocityTracker.getYVelocity(pointer);
/packages/services/BuiltInPrintService/jni/include/
Dwtypes.h56 #define IMPL(class, member, pointer) ( (class *)( ((uint32)pointer) - offsetof(class, member) ) ) argument
/packages/modules/NeuralNetworks/tools/api/
DTypes.t243 // For pointer buffers, the alignment is satisfied if the address of the pointer is a multiple
248 // For both pointer buffers and memory pools, the padding is satisfied if the padded length is
/packages/modules/NeuralNetworks/common/include/nnapi/
DSharedMemory.h102 std::variant<const void*, void*> pointer; member
DTypes.h397 std::variant<const void*, void*> pointer; member
/packages/modules/DnsResolver/
DREADME-DoT.md41 All the classes here make full use of Clang thread annotations (and also null-pointer
52 The query method writes a struct (containing a pointer to the query) to the pipe
/packages/modules/NeuralNetworks/runtime/
DModelArgumentInfo.cpp132 arg.location.pointer = mBuffer; in createRequestArgument()
DMemory.cpp524 return static_cast<uint8_t*>(std::get<void*>(kMapping.pointer)); in getPointer()
594 return static_cast<uint8_t*>(std::get<void*>(kMapping.pointer)); in getPointer()
DExecutionPlan.cpp504 const void* data = std::get<const void*>(operand.location.pointer); in addOperand()
980 .buffer = static_cast<const uint8_t*>(std::get<const void*>(location.pointer)), in findControlFlowBoundaryConstants()
1415 ExecutionPlan::Buffer::Buffer(void* pointer, uint32_t size) in Buffer() argument
1416 : mInfo(RunTimePoolInfo::createFromExistingBuffer(static_cast<uint8_t*>(pointer), size)), in Buffer()
/packages/modules/adb/
Dsysdeps.h386 typedef HANDLE pointer; typedef
DAndroid.bp476 "-Wno-sizeof-pointer-memaccess",

12