Home
last modified time | relevance | path

Searched refs:j (Results 1 – 25 of 39) sorted by relevance

12

/lk-master/target/dartuinoP0/display/
A DLS013B7DH06.c25 int j = i * 3; in lcd_get_line() local
28 SET_BIT(result, j); in lcd_get_line()
31 SET_BIT(result, j + 1); in lcd_get_line()
34 SET_BIT(result, j + 2); in lcd_get_line()
38 int j = 0; in lcd_get_line() local
44 SET_BIT(result, j); in lcd_get_line()
47 SET_BIT(result, j + 1); in lcd_get_line()
50 SET_BIT(result, j + 2); in lcd_get_line()
55 SET_BIT(result, j + 3); in lcd_get_line()
63 j += 6; in lcd_get_line()
[all …]
/lk-master/external/lib/libm/
A Dk_rem_pio2.c310 j = jv-jx; in __kernel_rem_pio2()
312 for (i=0; i<=m; i++,j++) f[i] = (j<0)? zero : (double) ipio2[j]; in __kernel_rem_pio2()
316 for (j=0,fw=0.0; j<=jx; j++) fw += x[j]*f[jx+i-j]; in __kernel_rem_pio2()
323 for (i=0,j=jz,z=q[jz]; j>0; i++,j--) { in __kernel_rem_pio2()
326 z = q[j-1]+fw; in __kernel_rem_pio2()
347 j = iq[i]; in __kernel_rem_pio2()
349 if (j!=0) { in __kernel_rem_pio2()
351 iq[i] = 0x1000000- j; in __kernel_rem_pio2()
353 } else iq[i] = 0xffffff - j; in __kernel_rem_pio2()
373 j = 0; in __kernel_rem_pio2()
[all …]
A De_pow.c102 int32_t i,j,k,yisint,n; in __ieee754_pow() local
129 j = ly>>(52-k); in __ieee754_pow()
130 if((j<<(52-k))==ly) yisint = 2-(j&1); in __ieee754_pow()
132 j = iy>>(20-k); in __ieee754_pow()
133 if((j<<(20-k))==iy) yisint = 2-(j&1); in __ieee754_pow()
211 j = ix&0x000fffff; in __ieee754_pow()
260 EXTRACT_WORDS(j,i,z); in __ieee754_pow()
277 i = j&0x7fffffff; in __ieee754_pow()
286 if(j<0) n = -n; in __ieee754_pow()
299 GET_HIGH_WORD(j,z); in __ieee754_pow()
[all …]
A De_powf.c61 int32_t i,j,k,yisint,n; in __ieee754_powf() local
86 j = iy>>(23-k); in __ieee754_powf()
87 if((j<<(23-k))==iy) yisint = 2-(j&1); in __ieee754_powf()
153 j = ix&0x007fffff; in __ieee754_powf()
206 GET_FLOAT_WORD(j,z); in __ieee754_powf()
220 i = j&0x7fffffff; in __ieee754_powf()
224 n = j+(0x00800000>>(k+1)); in __ieee754_powf()
228 if(j<0) n = -n; in __ieee754_powf()
242 GET_FLOAT_WORD(j,z); in __ieee754_powf()
243 j += (n<<23); in __ieee754_powf()
[all …]
A Ds_ceil.c36 u_int32_t i,j; in ceil() local
63 j = i1 + (1<<(52-j0)); in ceil()
64 if(j<i1) i0+=1; /* got a carry */ in ceil()
65 i1 = j; in ceil()
A Ds_floor.c36 u_int32_t i,j; in floor() local
65 j = i1+(1<<(52-j0)); in floor()
66 if (j<(u_int32_t)i1) i0 +=1 ; /* got a carry */ in floor()
67 i1=j; in floor()
A De_log.c92 int32_t k,hx,i,j; in __ieee754_log() local
130 j = 0x6b851-hx; in __ieee754_log()
133 i |= j; in __ieee754_log()
A De_rem_pio2.c59 int32_t e0,i,j,nx,n,ix,hx; in __ieee754_rem_pio2() local
142 j = ix>>20; in __ieee754_rem_pio2()
145 i = j-((high>>20)&0x7ff); in __ieee754_rem_pio2()
153 i = j-((high>>20)&0x7ff); in __ieee754_rem_pio2()
/lk-master/app/tests/
A Dbenchmarks.c74 for (uint j = 0; j < BUFSIZE / sizeof(*buf); j++) { \
75 buf[j] = 0; \
102 for (uint j = 0; j < BUFSIZE / sizeof(*buf) / 8; j++) { in bench_cset() local
103 buf[j*8] = 0; in bench_cset()
104 buf[j*8+1] = 0; in bench_cset()
105 buf[j*8+2] = 0; in bench_cset()
106 buf[j*8+3] = 0; in bench_cset()
107 buf[j*8+4] = 0; in bench_cset()
108 buf[j*8+5] = 0; in bench_cset()
109 buf[j*8+6] = 0; in bench_cset()
[all …]
A Dfloat.c36 uint i, j; in float_thread() local
48 for (j = 1; j < countof(a); j++) { in float_thread()
49 a[j] += a[j-1] * 0.00001f; in float_thread()
/lk-master/lib/gfx/
A Dgfx.c174 for (j=0; j < width; j++) { in copyrect8()
189 for (j=0; j < width; j++) { in copyrect8()
208 for (j=0; j < width; j++) { in fillrect8()
225 for (j=0; j < width; j++) { in copyrect16()
240 for (j=0; j < width; j++) { in copyrect16()
259 for (j=0; j < width; j++) { in fillrect16()
276 for (j=0; j < width; j++) { in copyrect32()
291 for (j=0; j < width; j++) { in copyrect32()
308 for (j=0; j < width; j++) { in fillrect32()
438 for (j=0; j < width; j++) { in gfx_surface_blend()
[all …]
/lk-master/lib/font/
A Dfont.c31 uint i,j; in font_draw_char() local
37 for (j = 0; j < FONT_X; j++) { in font_draw_char()
39 gfx_putpixel(surface, x + j, y + i, color); in font_draw_char()
/lk-master/external/platform/lpc15xx/lpcopen/periph_adc/example/src/
A Dadc.c63 int index, j; in showValudeADC() local
74 for (j = 0; j < 12; j++) { in showValudeADC()
75 rawSample = Chip_ADC_GetDataReg(pADC, j); in showValudeADC()
79 DEBUGOUT("ADC%d_%d: Sample value = 0x%x (Data sample %d)\r\n", index, j, in showValudeADC()
80 ADC_DR_RESULT(rawSample), j); in showValudeADC()
84 DEBUGOUT("ADC%d_%d: Threshold range = 0x%x\r\n", index, j, in showValudeADC()
86 DEBUGOUT("ADC%d_%d: Threshold cross = 0x%x\r\n", index, j, in showValudeADC()
/lk-master/target/qemu-m4/
A Dm4display.c171 for (int j = 0; j < M4DISPLAY_WIDTH; j += 2) { in s4lcd_flush() local
173 … *msb++ = ((framebuffer[i][j] & 0b01010100) | ((framebuffer[i][j+1] & 0b01010100) << 1)) >> 2; in s4lcd_flush()
174 … *lsb++ = ((framebuffer[i][j] & 0b10101000) | ((framebuffer[i][j+1] & 0b10101000) >> 1)) >> 2; in s4lcd_flush()
177 for (int j = 0; j < M4DISPLAY_WIDTH; j++) { in s4lcd_flush() local
178 SPI_I2S_SendData(SPI6, scramble_buf[j]); in s4lcd_flush()
/lk-master/external/lib/lwip/core/
A Dmemp.c283 u16_t i, j; in memp_overflow_check_all() local
289 for (j = 0; j < memp_num[i]; ++j) { in memp_overflow_check_all()
297 for (j = 0; j < memp_num[i]; ++j) { in memp_overflow_check_all()
310 u16_t i, j; in memp_overflow_init() local
317 for (j = 0; j < memp_num[i]; ++j) { in memp_overflow_init()
341 u16_t i, j; in memp_init() local
360 for (j = 0; j < memp_num[i]; ++j) { in memp_init()
/lk-master/lib/libc/string/
A Dstrlcat.c19 size_t j= strnlen(dst, s); in strlcat() local
22 return j+strlen(src); in strlcat()
25 dst+= j; in strlcat()
33 return j + i + strlen(src+i); in strlcat()
/lk-master/dev/gpio_i2c/
A Dgpio_i2c.c77 for (size_t j = 0; j < 8; ++j) { in send_byte() local
109 for (size_t j = 0; j < 7; ++j) { in recv_byte() local
146 for (size_t j = 0; j < cnt; ++j) in gpio_i2c_tx_common() local
147 if (!send_byte(i, ((const uint8_t *)buf)[j])) in gpio_i2c_tx_common()
186 for (size_t j = 0; j < (cnt - 1); ++j) { in gpio_i2c_rx_common() local
/lk-master/external/lib/lwip/netif/ppp/
A Dchpms.c248 int j, c; in Expand() local
253 for(j = 7; j >= 0; j--) { in Expand()
254 *out++ = (c >> j) & 01; in Expand()
265 int j; in Collapse() local
271 for (j = 7; j >= 0; j--, in++) { in Collapse()
272 c |= *in << j; in Collapse()
/lk-master/external/lib/lwip/core/snmp/
A Dmib_structs.c740 u8_t j; in snmp_expand_tree() local
746 j = (u8_t)i + 1; in snmp_expand_tree()
747 while ((j < an->maxlength) && (empty_table(an->nptr[j]))) in snmp_expand_tree()
749 j++; in snmp_expand_tree()
784 u8_t j; in snmp_expand_tree() local
786 j = 0; in snmp_expand_tree()
787 while ((j < an->maxlength) && empty_table(an->nptr[j])) in snmp_expand_tree()
789 j++; in snmp_expand_tree()
983 u8_t j; in snmp_expand_tree() local
989 j = (u8_t)i + 1; in snmp_expand_tree()
[all …]
/lk-master/target/dartuinoP0/
A Dmemory_lcd.c149 for (uint j = starty; j <= endy; ++j) { in display_present() local
150 *bufptr++ = (j + 1); in display_present()
152 bufptr += lcd_get_line(image, j, bufptr); in display_present()
156 if (j == endy) { in display_present()
/lk-master/arch/arm/arm/
A Ddebug.c159 for (uint j = 0; j < len; j++) { in cmd_dcc() local
160 buf[j] = argv[i].str[j]; in cmd_dcc()
/lk-master/arch/arm/arm-m/
A Darch.c63 for (uint j = 0; j < 32; j++) { in arch_early_init() local
64 NVIC_SetPriority(i*32 + j, arm_cm_medium_priority()); in arch_early_init()
/lk-master/platform/armemu/
A Dnet.c120 int j; in low_level_output() local
135 for (j = 0; j < q->len; j++) in low_level_output()
136 *REG8(NET_OUT_BUF + i + j) = ((unsigned char *)q->payload)[j]; in low_level_output()
/lk-master/arch/or1k/
A Dstart.S102 l.j return_from_exception
111 l.j return_from_exception
120 l.j return_from_exception
128 l.j return_from_exception
137 l.j return_from_exception
146 l.j return_from_exception
154 l.j return_from_exception
187 l.j 2f
269 l.j 2f
426 l.j 1b
[all …]
/lk-master/platform/pc/
A Dconsole.c139 register int i,j; in _clear() local
145 for (j = y1; j <= y2; j++) { in _clear()
146 *((unsigned short *)(uintptr_t)(FB + 2*i+160*j + 2 * active_page * VPAGE_SIZE)) = w; in _clear()

Completed in 29 milliseconds

12