Searched refs:sp (Results 1 - 25 of 47) sorted by relevance

12

/system/core/libpixelflinger/codeflinger/tinyutils/
H A Dsmartpointer.h31 inline bool operator _op_ (const sp<T>& o) const { \
38 inline bool operator _op_ (const sp<U>& o) const { \
49 class sp class in namespace:android::tinyutils
52 inline sp() : m_ptr(0) { } function in class:android::tinyutils::sp
54 sp(T* other);
55 sp(const sp<T>& other);
56 template<typename U> sp(U* other);
57 template<typename U> sp(const sp<
104 sp<T>::sp(const sp<T>& other) function in class:android::tinyutils::sp
111 sp<T>::sp(U* other) : m_ptr(other) function in class:android::tinyutils::sp
117 sp<T>::sp(const sp<U>& other) function in class:android::tinyutils::sp
[all...]
/system/core/include/utils/
H A DStrongPointer.h34 inline bool operator _op_ (const sp<T>& o) const { \
41 inline bool operator _op_ (const sp<U>& o) const { \
59 class sp { class in namespace:android
61 inline sp() : m_ptr(0) { } function in class:android::sp
63 sp(T* other);
64 sp(const sp<T>& other);
65 template<typename U> sp(U* other);
66 template<typename U> sp(const sp<
120 sp<T>::sp(const sp<T>& other) function in class:android::sp
127 sp<T>::sp(U* other) function in class:android::sp
134 sp<T>::sp(const sp<U>& other) function in class:android::sp
[all...]
H A DBlobCache.h151 CacheEntry(const sp<Blob>& key, const sp<Blob>& value);
157 sp<Blob> getKey() const;
158 sp<Blob> getValue() const;
160 void setValue(const sp<Blob>& value);
165 sp<Blob> mKey;
168 sp<Blob> mValue;
H A DLooper.h229 int addFd(int fd, int ident, int events, const sp<LooperCallback>& callback, void* data);
243 * a sp<LooperCallback> instead of a bare function pointer. The LooperCallback will
259 void sendMessage(const sp<MessageHandler>& handler, const Message& message);
269 void sendMessageDelayed(nsecs_t uptimeDelay, const sp<MessageHandler>& handler,
280 void sendMessageAtTime(nsecs_t uptime, const sp<MessageHandler>& handler,
289 void removeMessages(const sp<MessageHandler>& handler);
297 void removeMessages(const sp<MessageHandler>& handler, int what);
313 static sp<Looper> prepare(int opts);
321 static void setForThread(const sp<Looper>& looper);
327 static sp<Loope
[all...]
H A DRefBase.h39 inline bool operator _op_ (const sp<T>& o) const { \
46 inline bool operator _op_ (const sp<U>& o) const { \
218 wp(const sp<T>& other);
220 template<typename U> wp(const sp<U>& other);
229 wp& operator = (const sp<T>& other);
233 template<typename U> wp& operator = (const sp<U>& other);
237 // promotion to sp
239 sp<T> promote() const;
291 template<typename Y> friend class sp;
321 wp<T>::wp(const sp<
[all...]
/system/security/keystore/
H A Dkeystore_get.cpp25 sp<IServiceManager> sm = defaultServiceManager();
26 sp<IBinder> binder = sm->getService(String16("android.security.keystore"));
27 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder);
H A Dkeystore_cli.cpp148 static int saw(sp<IKeystoreService> service, const String16& name, int uid) {
173 sp<IServiceManager> sm = defaultServiceManager();
174 sp<IBinder> binder = sm->getService(String16("android.security.keystore"));
175 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder);
/system/core/sh/
H A Dmemalloc.c131 struct stack_block *sp; local
137 sp = ckmalloc(sizeof(struct stack_block) - MINSIZE + blocksize);
138 sp->prev = stackp;
139 stacknxt = sp->space;
141 stackp = sp;
178 struct stack_block *sp; local
183 sp = stackp;
184 stackp = sp->prev;
185 ckfree(sp);
211 struct stack_block *sp; local
[all...]
H A Dinput.c388 struct strpush *sp; local
393 sp = ckmalloc(sizeof (struct strpush));
394 sp->prev = parsefile->strpush;
395 parsefile->strpush = sp;
397 sp = parsefile->strpush = &(parsefile->basestrpush);
398 sp->prevstring = parsenextc;
399 sp->prevnleft = parsenleft;
400 sp->prevlleft = parselleft;
401 sp->ap = (struct alias *)ap;
412 struct strpush *sp local
[all...]
H A Deval.c353 struct strlist *sp; local
367 for (sp = arglist.list ; sp ; sp = sp->next) {
368 setvar(n->nfor.var, sp->text, 0);
684 struct strlist *sp; local
747 for (sp = arglist.list ; sp ; sp
1201 struct strlist *sp; local
[all...]
H A Dexpand.c136 struct strlist *sp; local
161 sp = (struct strlist *)stalloc(sizeof (struct strlist));
162 sp->text = p;
163 *exparg.lastp = sp;
164 exparg.lastp = &sp->next;
947 struct strlist *sp; local
961 sp = (struct strlist *)stalloc(sizeof *sp);
962 sp->text = start;
963 *arglist->lastp = sp;
1072 struct strlist *sp; local
1254 struct strlist *sp; local
1275 struct strlist *sp; local
[all...]
/system/core/healthd/
H A DBatteryPropertiesRegistrar.h43 Vector<sp<IBatteryPropertiesListener> > mListeners;
45 void registerListener(const sp<IBatteryPropertiesListener>& listener);
46 void unregisterListener(const sp<IBatteryPropertiesListener>& listener);
H A DBatteryPropertiesRegistrar.cpp43 void BatteryPropertiesRegistrar::registerListener(const sp<IBatteryPropertiesListener>& listener) {
59 void BatteryPropertiesRegistrar::unregisterListener(const sp<IBatteryPropertiesListener>& listener) {
H A DBatteryMonitor.h49 sp<BatteryPropertiesRegistrar> mBatteryPropertiesRegistrar;
/system/core/libcorkscrew/arch-mips/
H A Dbacktrace-mips.c52 uint32_t sp; member in struct:ucontext
59 uint32_t sp; member in struct:__anon149
91 frame->stack_top = state->sp;
93 ALOGV("#%d: frame=%p pc=%08x sp=%08x\n",
103 case 0x27bd0000: // addiu sp, imm
114 case 0xafbf0000: // sw ra, imm(sp)
129 if (!try_get_word(memory, state->sp + ra_offset, &next_ra))
138 state->sp += stack_size;
139 ALOGV("New sp: 0x%08x\n", state->sp);
[all...]
/system/core/toolbox/
H A Drenice.c50 struct sched_param sp; local
73 sched_getparam(pid, &sp);
74 printf("RT prio: %d (of %d to %d)\n", sp.sched_priority,
140 struct sched_param sp = { .sched_priority = prio }; local
143 ret = sched_setscheduler(pid, sched, &sp);
/system/core/libutils/
H A DBlobCache.cpp80 sp<Blob> dummyKey(new Blob(key, keySize, false));
87 sp<Blob> keyBlob(new Blob(key, keySize, true));
88 sp<Blob> valueBlob(new Blob(value, valueSize, true));
109 sp<Blob> valueBlob(new Blob(value, valueSize, true));
110 sp<Blob> oldValueBlob(mCacheEntries[index].getValue());
140 sp<Blob> dummyKey(new Blob(key, keySize, false));
150 sp<Blob> valueBlob(mCacheEntries[index].getValue());
170 sp<Blob> keyBlob = e.getKey();
171 sp<Blob> valueBlob = e.getValue();
196 sp<Blo
[all...]
H A DLooper.cpp37 sp<MessageHandler> handler = mHandler.promote();
120 void Looper::setForThread(const sp<Looper>& looper) {
121 sp<Looper> old = getForThread(); // also has side-effect of initializing TLS
134 sp<Looper> Looper::getForThread() {
141 sp<Looper> Looper::prepare(int opts) {
143 sp<Looper> looper = Looper::getForThread();
292 sp<MessageHandler> handler = messageEnvelope.handler;
408 int Looper::addFd(int fd, int ident, int events, const sp<LooperCallback>& callback, void* data) {
489 void Looper::sendMessage(const sp<MessageHandler>& handler, const Message& message) {
494 void Looper::sendMessageDelayed(nsecs_t uptimeDelay, const sp<MessageHandle
[all...]
/system/security/keystore-engine/
H A Drsa_meth.cpp82 sp<IServiceManager> sm = defaultServiceManager();
83 sp<IBinder> binder = sm->getService(String16("android.security.keystore"));
84 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder);
126 sp<IServiceManager> sm = defaultServiceManager();
127 sp<IBinder> binder = sm->getService(String16("android.security.keystore"));
128 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder);
H A Ddsa_meth.cpp59 sp<IServiceManager> sm = defaultServiceManager();
60 sp<IBinder> binder = sm->getService(String16("android.security.keystore"));
61 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder);
H A Decdsa_meth.cpp65 sp<IServiceManager> sm = defaultServiceManager();
66 sp<IBinder> binder = sm->getService(String16("android.security.keystore"));
67 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder);
/system/core/libpixelflinger/codeflinger/
H A DCodeCache.h66 // protocol for sp<>
86 sp<Assembly> lookup(const AssemblyKeyBase& key) const;
89 const sp<Assembly>& assembly);
95 inline cache_entry_t(const sp<Assembly>& a, int64_t w)
97 sp<Assembly> entry;
/system/core/libpixelflinger/
H A Drotate90CW_4x4_16v6.S36 stmfd sp!, {r4,r5, r6,r7, r8,r9, r10,r11, lr}
62 ldmfd sp!, {r4,r5, r6,r7, r8,r9, r10,r11, pc}
/system/core/libutils/tests/
H A DLooper_test.cpp27 sp<Looper> mLooper;
30 DelayedWake(int delayMillis, const sp<Looper> looper) :
56 void setCallback(const sp<Looper>& looper, int fd, int events) {
103 sp<Looper> mLooper;
140 sp<DelayedWake> delayedWake = new DelayedWake(100, mLooper);
251 sp<DelayedWriteSignal> delayedWriteSignal = new DelayedWriteSignal(100, & pipe);
383 sp<Looper> looper = new Looper(false /*allowNonCallbacks*/);
441 sp<StubMessageHandler> handler = new StubMessageHandler();
459 sp<StubMessageHandler> handler1 = new StubMessageHandler();
460 sp<StubMessageHandle
[all...]
/system/core/debuggerd/arm/
H A Dcrashglue.S27 mov sp, #0

Completed in 241 milliseconds

12