/system/core/adb/ |
D | adb_listeners.cpp | 84 static void free_listener(alistener* l) in free_listener() argument 86 if (l->next) { in free_listener() 87 l->next->prev = l->prev; in free_listener() 88 l->prev->next = l->next; in free_listener() 89 l->next = l->prev = l; in free_listener() 93 fdevent_remove(&l->fde); in free_listener() 95 if (l->local_name) in free_listener() 96 free((char*)l->local_name); in free_listener() 98 if (l->connect_to) in free_listener() 99 free((char*)l->connect_to); in free_listener() [all …]
|
/system/core/logd/ |
D | LogUtils.h | 60 template <int (*cmp)(const char *l, const char *r, const size_t s)> 61 static inline int fast(const char *l, const char *r, const size_t s) { in fast() argument 62 return (*l != *r) || cmp(l + 1, r + 1, s - 1); in fast() 65 template <int (*cmp)(const void *l, const void *r, const size_t s)> 67 const char *l = static_cast<const char *>(lv); in fast() local 69 return (*l != *r) || cmp(l + 1, r + 1, s - 1); in fast() 72 template <int (*cmp)(const char *l, const char *r)> 73 static inline int fast(const char *l, const char *r) { in fast() argument 74 return (*l != *r) || cmp(l + 1, r + 1); in fast()
|
D | LogAudit.cpp | 162 size_t l = strnlen(str, LOGGER_ENTRY_MAX_PAYLOAD); in logPrint() local 163 size_t n = l + sizeof(android_log_event_string_t); in logPrint() 174 event->length = htole32(l); in logPrint() 175 memcpy(event->data, str, l); in logPrint() 210 l = ecomm - comm; in logPrint() 212 l = strlen(comm) + 1; in logPrint() 220 n = b + e + l + 2; in logPrint() 226 strlcpy(newstr + 1, comm, l); in logPrint() 227 strncpy(newstr + 1 + l, str, b); in logPrint() 228 strncpy(newstr + 1 + l + b, ecomm, e); in logPrint()
|
/system/extras/ksmutils/ |
D | lookup3.c | 796 uint32_t c[HASHSTATE], d[HASHSTATE], i=0, j=0, k, l, m=0, z; in driver2() local 811 for (l=0; l<HASHSTATE; ++l) in driver2() 812 e[l]=f[l]=g[l]=h[l]=x[l]=y[l]=~((uint32_t)0); in driver2() 819 for (l=0; l<hlen+1; ++l) {a[l] = b[l] = (uint8_t)0;} in driver2() 828 for (l=0; l<HASHSTATE; ++l) in driver2() 830 e[l] &= (c[l]^d[l]); in driver2() 831 f[l] &= ~(c[l]^d[l]); in driver2() 832 g[l] &= c[l]; in driver2() 833 h[l] &= ~c[l]; in driver2() 834 x[l] &= d[l]; in driver2() [all …]
|
/system/core/toolbox/upstream-netbsd/usr.bin/grep/ |
D | util.c | 61 static int procline(struct str *l, int); 287 procline(struct str *l, int nottext) in procline() argument 296 while (st <= l->len) { in procline() 298 pmatch.rm_eo = l->len; in procline() 308 (unsigned char *)l->dat, in procline() 309 l->len, &pmatch); in procline() 313 r = regexec(&r_pattern[i], l->dat, 1, in procline() 323 (size_t)pmatch.rm_eo != l->len)) in procline() 331 sscanf(&l->dat[pmatch.rm_so - 1], in procline() 334 if ((size_t)pmatch.rm_eo != l->len && in procline() [all …]
|
D | grep.c | 318 unsigned long long l; in main() local 419 l = strtoull(optarg, &ep, 10); in main() 420 if (((errno == ERANGE) && (l == ULLONG_MAX)) || in main() 421 ((errno == EINVAL) && (l == 0))) in main() 428 Aflag = l; in main() 430 Bflag = l; in main() 432 Aflag = Bflag = l; in main()
|
/system/core/liblog/ |
D | logger_name.c | 59 const char *l = LOG_NAME[ret]; in android_name_to_log_id() local 60 if (l && !strcmp(b, l)) { in android_name_to_log_id()
|
D | pmsg_reader.c | 146 android_log_header_t l; in pmsgRead() member 186 || (buf.l.id >= LOG_ID_MAX) in pmsgRead() 187 || (buf.l.realtime.tv_nsec >= NS_PER_SEC)) { in pmsgRead() 195 if ((transp->logMask & (1 << buf.l.id)) && in pmsgRead() 197 ((logger_list->start.tv_sec <= buf.l.realtime.tv_sec) && in pmsgRead() 198 ((logger_list->start.tv_sec != buf.l.realtime.tv_sec) || in pmsgRead() 200 buf.l.realtime.tv_nsec)))) && in pmsgRead() 222 log_msg->entry_v4.tid = buf.l.tid; in pmsgRead() 223 log_msg->entry_v4.sec = buf.l.realtime.tv_sec; in pmsgRead() 224 log_msg->entry_v4.nsec = buf.l.realtime.tv_nsec; in pmsgRead() [all …]
|
/system/core/libpixelflinger/ |
D | buffer.cpp | 36 static uint32_t extract(uint32_t v, int h, int l, int bits); 127 pixel->s[i] = f->c[i].h - f->c[i].l; in read_pixel() 129 pixel->c[i] = extract(v, f->c[i].h, f->c[i].l, f->size*8); in read_pixel() 186 const int l = f->c[i].l; in write_pixel() local 189 mask |= (((1<<(h-l))-1)<<l); in write_pixel() 192 if (pixelSize < (h-l)) { in write_pixel() 193 u = expand(u, pixelSize, h-l); in write_pixel() 194 pixelSize = h-l; in write_pixel() 196 v = downshift_component(v, u, pixelSize, 0, h, l, 0, 0, dither); in write_pixel() 278 uint32_t extract(uint32_t v, int h, int l, int bits) in extract() argument [all …]
|
D | clear.cpp | 51 uint32_t l, uint32_t t, uint32_t w, uint32_t h) in memset2d() argument 55 uint8_t* dst = (uint8_t*)s.data + (l + t*s.stride)*size; in memset2d() 99 const uint32_t l = c->state.scissor.left; in ggl_clear() local 101 uint32_t w = c->state.scissor.right - l; in ggl_clear() 131 memset2d(c, c->state.buffers.color, packed, l, t, w, h); in ggl_clear() 140 memset2d(c, c->state.buffers.depth, packed, l, t, w, h); in ggl_clear()
|
D | trap.cpp | 46 static void recti_validate(void* c, GGLint l, GGLint t, GGLint r, GGLint b); 47 static void recti(void* c, GGLint l, GGLint t, GGLint r, GGLint b); 167 GGLint l = (xc - halfSize) >> TRI_FRACTION_BITS; in pointx() local 171 recti(c, l, t, r, b); in pointx() 208 GGLint l = (v[0] - rad) >> TRI_FRACTION_BITS; in aa_nice_pointx() local 212 GGLcoord xstart = TRI_FROM_INT(l) - v[0] + TRI_HALF; in aa_nice_pointx() 216 if (l < GGLint(c->state.scissor.left)) { in aa_nice_pointx() 217 xstart += TRI_FROM_INT(c->state.scissor.left-l); in aa_nice_pointx() 218 l = GGLint(c->state.scissor.left); in aa_nice_pointx() 231 int xc = r - l; in aa_nice_pointx() [all …]
|
/system/core/libpixelflinger/include/pixelflinger/ |
D | format.h | 99 return ((1<<(c[i].h-c[i].l))-1)<<c[i].l; in mask() 102 return c[i].h - c[i].l; in bits() 120 uint8_t l; member
|
/system/core/libpixelflinger/codeflinger/ |
D | blending.cpp | 137 if (temp.l && (temp.flags & CORRUPTIBLE)) { in build_blending() 138 MOV(AL, 0, temp.reg, reg_imm(temp.reg, LSR, temp.l)); in build_blending() 139 temp.h -= temp.l; in build_blending() 140 temp.l = 0; in build_blending() 145 if (temp.l) { in build_blending() 148 MOV(AL, 0, fragment.reg, reg_imm(temp.reg, LSR, temp.l)); in build_blending() 557 d.l = 0; in mul_factor() 559 d.l = fs; in mul_factor() 628 d.l = a.l; in mul_factor_add() 630 d.l = fs>a.l ? fs : a.l; in mul_factor_add() [all …]
|
D | load_store.cpp | 105 void GGLAssembler::extract(integer_t& d, int s, int h, int l, int bits) in extract() argument 107 const int maskLen = h-l; in extract() 117 const int mask = ((1<<maskLen)-1) << l; in extract() 124 l += 32-h; in extract() 130 if (l) { in extract() 131 MOV(AL, 0, d.reg, reg_imm(s, LSR, l)); // component = packed >> l; in extract() 146 s.format.c[component].l, in extract() 155 s.format.c[component].l, in extract() 163 if (s.l || (s.flags & CLEAR_HI)) { in expand() 164 extract(d, s.reg, s.h, s.l, 32); in expand() [all …]
|
D | GGLAssembler.h | 244 inline int low(int c) const { return format.c[c].l; } in low() 252 component_t() : reg_t(), h(0), l(0) { in component_t() 255 : reg_t(r, f), h(0), l(0) { in reg_t() 258 : reg_t(r, f), h(hi), l(lo) { in reg_t() 261 : reg_t(rhs.reg, rhs.flags), h(rhs.s), l(0) { in component_t() 265 rhs.format.c[component].l, in component_t() 270 reg_t::setTo(r, f); h=hi; l=lo; 273 int8_t l; member 274 inline int size() const { return h-l; } in size() 385 void extract(integer_t& d, int s, int h, int l, int bits=32);
|
/system/vold/ |
D | secdiscard.cpp | 196 auto l = strlen(mnt->mnt_dir); in block_device_for_path() local 197 if (l > best_length && in block_device_for_path() 198 path.size() > l && in block_device_for_path() 199 path[l] == '/' && in block_device_for_path() 200 path.compare(0, l, mnt->mnt_dir) == 0) { in block_device_for_path() 202 best_length = l; in block_device_for_path()
|
/system/extras/tests/framebuffer/ |
D | refresh.c | 135 int l,t,w,h; in main() local 136 l=0; in main() 141 info.reserved[1] = (uint16_t)l | ((uint32_t)t << 16); in main() 142 info.reserved[2] = (uint16_t)(l+w) | ((uint32_t)(t+h) << 16); in main()
|
/system/netd/server/ |
D | PppController.cpp | 80 char *l = strdup(inet_ntoa(local)); in attachPppd() local 87 asprintf(&lr, "%s:%s", l, r); in attachPppd() 88 free(l); in attachPppd()
|
/system/core/liblog/tests/ |
D | liblog_benchmark.cpp | 491 unsigned long long l = cp[0] & 0xFF; in caught_convert() local 492 l |= (unsigned long long) (cp[1] & 0xFF) << 8; in caught_convert() 493 l |= (unsigned long long) (cp[2] & 0xFF) << 16; in caught_convert() 494 l |= (unsigned long long) (cp[3] & 0xFF) << 24; in caught_convert() 495 l |= (unsigned long long) (cp[4] & 0xFF) << 32; in caught_convert() 496 l |= (unsigned long long) (cp[5] & 0xFF) << 40; in caught_convert() 497 l |= (unsigned long long) (cp[6] & 0xFF) << 48; in caught_convert() 498 l |= (unsigned long long) (cp[7] & 0xFF) << 56; in caught_convert() 499 return l; in caught_convert()
|
/system/tools/aidl/ |
D | ast_java.cpp | 150 Assignment::Assignment(Variable* l, Expression* r) in Assignment() argument 151 : lvalue(l), rvalue(r), cast(NULL) {} in Assignment() 153 Assignment::Assignment(Variable* l, Expression* r, const Type* c) in Assignment() argument 154 : lvalue(l), rvalue(r), cast(c) {} in Assignment() 213 Comparison::Comparison(Expression* l, const string& o, Expression* r) in Comparison() argument 214 : lvalue(l), op(o), rvalue(r) {} in Comparison() 276 VariableDeclaration::VariableDeclaration(Variable* l, Expression* r, in VariableDeclaration() argument 278 : lvalue(l), cast(c), rvalue(r) {} in VariableDeclaration() 280 VariableDeclaration::VariableDeclaration(Variable* l) : lvalue(l) {} in VariableDeclaration() argument
|
/system/extras/tests/tcp_nuke_addr/ |
D | tcp_nuke_addr_test.cpp | 32 const struct linger l = { in setSoLinger() local 36 if (setsockopt(s, SOL_SOCKET, SO_LINGER, &l, sizeof(l)) == -1) { in setSoLinger()
|
/system/core/bootstat/ |
D | README.md | 11 -l, --log Log all metrics to logstorage 34 To log the persisted boot events, call `bootstat` with the `-l` option. 36 $ bootstat -l
|
/system/sepolicy/tools/sepolicy-analyze/ |
D | typecmp.c | 109 static void free_type_rules(struct avtab_node *l) in free_type_rules() argument 113 while (l) { in free_type_rules() 114 tmp = l; in free_type_rules() 115 l = l->next; in free_type_rules()
|
/system/security/keystore/ |
D | test-keystore | 143 keystore app_0 l 181 keystore system l 247 keystore system l
|
/system/core/base/include/android-base/ |
D | logging.h | 259 EagerEvaluator(LHS l, RHS r) : lhs(l), rhs(r) { in EagerEvaluator() 278 EagerEvaluator(T1 l, T2 r) \ 279 : lhs(reinterpret_cast<const void*>(l)), \
|