Home
last modified time | relevance | path

Searched refs:l (Results 1 – 25 of 48) sorted by relevance

12

/system/core/adb/
Dadb_listeners.cpp86 static void free_listener(alistener* l) in free_listener() argument
88 if (l->next) { in free_listener()
89 l->next->prev = l->prev; in free_listener()
90 l->prev->next = l->next; in free_listener()
91 l->next = l->prev = l; in free_listener()
95 fdevent_remove(&l->fde); in free_listener()
97 if (l->local_name) in free_listener()
98 free((char*)l->local_name); in free_listener()
100 if (l->connect_to) in free_listener()
101 free((char*)l->connect_to); in free_listener()
[all …]
/system/extras/ksmutils/
Dlookup3.c796 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/liblog/tests/
Dliblog_benchmark.cpp111 unsigned long long l = cp[0] & 0xFF; in caught_convert() local
112 l |= (unsigned long long) (cp[1] & 0xFF) << 8; in caught_convert()
113 l |= (unsigned long long) (cp[2] & 0xFF) << 16; in caught_convert()
114 l |= (unsigned long long) (cp[3] & 0xFF) << 24; in caught_convert()
115 l |= (unsigned long long) (cp[4] & 0xFF) << 32; in caught_convert()
116 l |= (unsigned long long) (cp[5] & 0xFF) << 40; in caught_convert()
117 l |= (unsigned long long) (cp[6] & 0xFF) << 48; in caught_convert()
118 l |= (unsigned long long) (cp[7] & 0xFF) << 56; in caught_convert()
119 return l; in caught_convert()
Dliblog_test.cpp270 unsigned long long l = eventData[4 + 1 + 0] & 0xFF; in TEST() local
271 l |= (unsigned long long) (eventData[4 + 1 + 1] & 0xFF) << 8; in TEST()
272 l |= (unsigned long long) (eventData[4 + 1 + 2] & 0xFF) << 16; in TEST()
273 l |= (unsigned long long) (eventData[4 + 1 + 3] & 0xFF) << 24; in TEST()
274 l |= (unsigned long long) (eventData[4 + 1 + 4] & 0xFF) << 32; in TEST()
275 l |= (unsigned long long) (eventData[4 + 1 + 5] & 0xFF) << 40; in TEST()
276 l |= (unsigned long long) (eventData[4 + 1 + 6] & 0xFF) << 48; in TEST()
277 l |= (unsigned long long) (eventData[4 + 1 + 7] & 0xFF) << 56; in TEST()
279 if (l == v) { in TEST()
/system/core/logd/
DLogAudit.cpp156 size_t l = strlen(str); in logPrint() local
157 size_t n = l + sizeof(android_log_event_string_t); in logPrint()
167 event->length = htole32(l); in logPrint()
168 memcpy(event->data, str, l); in logPrint()
204 l = ecomm - comm; in logPrint()
206 l = strlen(comm) + 1; in logPrint()
209 n = (estr - str) + strlen(ecomm) + l + 2; in logPrint()
216 strlcpy(newstr + 1, comm, l); in logPrint()
217 strncpy(newstr + 1 + l, str, estr - str); in logPrint()
218 strcpy(newstr + 1 + l + (estr - str), ecomm); in logPrint()
/system/core/toolbox/upstream-netbsd/usr.bin/grep/
Dutil.c61 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 …]
Dgrep.c318 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/libpixelflinger/
Dbuffer.cpp36 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 …]
Dclear.cpp51 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()
Dtrap.cpp46 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/
Dformat.h99 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/
Dblending.cpp137 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 …]
Dload_store.cpp105 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 …]
DGGLAssembler.h244 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);
Dtexturing.cpp146 const int l = parts.iterated.format.c[i].l; in init_iterated_color() local
148 mask |= ((1<<(h-l))-1) << l; in init_iterated_color()
192 fragment.l = GGL_COLOR_BITS - 8; in build_iterated_color()
752 texel.format.c[i].l = FRAC_BITS*2; // keeping 8 bits in enough in filter8()
810 texel.format.c[i].l = texel.format.c[i].h - (tmu.format.bits(i) + prec); in filter16()
1087 dest.l = incoming.l; in modulate()
1093 dest.l = 0; in modulate()
1097 int shift = incoming.l; in modulate()
1122 dest.l = Ni; in modulate()
1143 dest.l = Nt; in modulate()
[all …]
/system/core/liblog/
Dlog_read.c238 const char *l = LOG_NAME[ret]; in android_name_to_log_id() local
239 if (l && !strcmp(b, l)) { in android_name_to_log_id()
634 android_log_header_t l; in android_logger_list_read_pstore() member
667 || (buf.l.id >= LOG_ID_MAX) in android_logger_list_read_pstore()
668 || (buf.l.realtime.tv_nsec >= NS_PER_SEC)) { in android_logger_list_read_pstore()
677 if (buf.l.id != logger->id) { in android_logger_list_read_pstore()
682 && ((logger_list->start.tv_sec > buf.l.realtime.tv_sec) in android_logger_list_read_pstore()
683 || ((logger_list->start.tv_sec == buf.l.realtime.tv_sec) in android_logger_list_read_pstore()
684 && (logger_list->start.tv_nsec > buf.l.realtime.tv_nsec)))) { in android_logger_list_read_pstore()
710 log_msg->entry_v3.tid = buf.l.tid; in android_logger_list_read_pstore()
[all …]
/system/extras/tests/framebuffer/
Drefresh.c135 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/
DPppController.cpp80 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/logcat/tests/
Dlogcat_test.cpp387 unsigned long long l; in TEST() local
389 if ((2 != sscanf(buffer, "I/[0] ( %u): %lld", &p, &l)) in TEST()
394 if (l == v) { in TEST()
456 unsigned long long l; in TEST() local
458 if ((2 != sscanf(buffer, "I/[0] ( %u): %lld", &p, &l)) in TEST()
463 if (l == v) { in TEST()
630 unsigned long long l; in TEST() local
632 if ((2 != sscanf(buffer, "I/[0] ( %u): %lld", &p, &l)) in TEST()
637 if (l == v) { in TEST()
/system/core/libpixelflinger/codeflinger/tinyutils/
DVectorImpl.cpp463 ssize_t l = 0; in _indexOrderOf() local
468 while (l <= h) { in _indexOrderOf()
469 mid = l + (h - l)/2; in _indexOrderOf()
473 err = l = mid; in _indexOrderOf()
476 l = mid + 1; in _indexOrderOf()
481 if (order) *order = l; in _indexOrderOf()
/system/core/base/include/base/
Dlogging.h218 EagerEvaluator(LHS l, RHS r) : lhs(l), rhs(r) { in EagerEvaluator()
237 EagerEvaluator(T1 l, T2 r) \
238 : lhs(reinterpret_cast<const void*>(l)), \
/system/security/keystore/
Dtest-keystore143 keystore app_0 l
181 keystore system l
247 keystore system l
/system/extras/ext4_utils/
Dsha1.c42 # define blk0(i) (block->l[i] = (rol(block->l[i],24)&0xFF00FF00) \
43 |(rol(block->l[i],8)&0x00FF00FF))
45 # define blk0(i) block->l[i]
47 #define blk(i) (block->l[i&15] = rol(block->l[(i+13)&15]^block->l[(i+8)&15] \
48 ^block->l[(i+2)&15]^block->l[i&15],1))
61 u_int l[16]; member
/system/core/init/
Ddevices.cpp805 int l, loading_fd, data_fd, fw_fd; in process_firmware_event() local
812 l = asprintf(&root, SYSFS_PREFIX"%s/", uevent->path); in process_firmware_event()
813 if (l == -1) in process_firmware_event()
816 l = asprintf(&loading, "%sloading", root); in process_firmware_event()
817 if (l == -1) in process_firmware_event()
820 l = asprintf(&data, "%sdata", root); in process_firmware_event()
821 if (l == -1) in process_firmware_event()
835 l = asprintf(&file, "%s/%s", firmware_dirs[i], uevent->firmware); in process_firmware_event()
836 if (l == -1) in process_firmware_event()
/system/core/libutils/
DVectorImpl.cpp556 ssize_t l = 0; in _indexOrderOf() local
561 while (l <= h) { in _indexOrderOf()
562 mid = l + (h - l)/2; in _indexOrderOf()
566 err = l = mid; in _indexOrderOf()
569 l = mid + 1; in _indexOrderOf()
574 if (order) *order = l; in _indexOrderOf()

12