Home
last modified time | relevance | path

Searched refs:last (Results 1 – 25 of 220) sorted by relevance

123456789

/AliOS-Things-master/components/SDL2/src/stdlib/
A DSDL_qsort.c198 last=llast=stack[stacktop].last;\
291 if (compare(mid,last)>0) swapper(first,last)\
294 if (compare(mid,last)>0) swapper(mid,last);\
308 while (compare(pivot,last)<0) last-=sz; \
312 else if (first==last) { first+=sz; last-=sz; break; }\
331 if (compare(first,last)>0) first=last; \
332 last-=sz; } \
392 { char *a=last-2*d, *b=last-d, *c=last; in pivot_big()
415 char *first,*last; in qsort_nonaligned() local
446 char *first,*last; in qsort_aligned() local
[all …]
/AliOS-Things-master/components/py_engine/engine/shared/runtime/
A Dstdout_helpers.c42 const char *last = str; in mp_hal_stdout_tx_strn_cooked() local
45 if (str > last) { in mp_hal_stdout_tx_strn_cooked()
46 mp_hal_stdout_tx_strn(last, str - last); in mp_hal_stdout_tx_strn_cooked()
50 last = str; in mp_hal_stdout_tx_strn_cooked()
55 if (str > last) { in mp_hal_stdout_tx_strn_cooked()
56 mp_hal_stdout_tx_strn(last, str - last); in mp_hal_stdout_tx_strn_cooked()
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/examples/
A Dgun.c227 if (last == -1) in lunpipe()
385 int ret, first, last; in gunpipe() local
406 if (last != 31 || (NEXT() != 139 && last != 157)) { in gunpipe()
414 if (last == 157) { in gunpipe()
422 if (last == -1) break; in gunpipe()
434 if (last == -1) break; in gunpipe()
443 if (last == -1) break; in gunpipe()
450 if (last == -1) break; in gunpipe()
464 if (last == -1) break; in gunpipe()
488 if (last != -1) { in gunpipe()
[all …]
A Dgzjoin.c313 last = start[0] & 1; in gzcopy()
314 if (last && clr) in gzcopy()
343 if (last) in gzcopy()
354 if (last && clr) in gzcopy()
367 if (last && clr) in gzcopy()
380 last = in->next[-1]; in gzcopy()
383 putc(last, out); in gzcopy()
389 putc(last, out); in gzcopy()
398 putc(last | 8, out); in gzcopy()
399 last = 0; in gzcopy()
[all …]
A Dgzlog.c297 off_t last; /* offset of last stored block first length byte */ member
421 log->last = PULL8(buf + HEAD + 8); in log_head()
443 PUT8(ext + 8, log->last); in log_mark()
462 local int log_last(struct log *log, int last) in log_last() argument
468 back = log->last == log->first ? log->back : 8; in log_last()
476 if (back != 8 && (lseek(log->fd, log->last - len, SEEK_SET) < 0 || in log_last()
485 buf[2 - len] = (*buf & (mask - 1)) + (last ? mask : 0); in log_last()
491 return lseek(log->fd, log->last - len, SEEK_SET) < 0 || in log_last()
538 log->last += 4 + log->stored + 1; in log_append()
700 log->last = log->first; in log_compress()
[all …]
/AliOS-Things-master/components/linkkit/external/nghttp2/
A Dnghttp2_buf.h48 uint8_t *last; member
53 #define nghttp2_buf_len(BUF) ((size_t)((BUF)->last - (BUF)->pos))
54 #define nghttp2_buf_avail(BUF) ((size_t)((BUF)->end - (BUF)->last))
55 #define nghttp2_buf_mark_avail(BUF) ((size_t)((BUF)->mark - (BUF)->last))
59 #define nghttp2_buf_last_offset(BUF) ((size_t)((BUF)->last - (BUF)->begin))
64 (BUF)->last += AMT; \
70 (BUF)->last -= AMT; \
296 *(BUFS)->cur->buf.last++ = B; \
301 *(BUFS)->cur->buf.last = B; \
326 uint8_t **p = &(BUFS)->cur->buf.last; \
[all …]
A Dnghttp2_buf.c37 buf->last = NULL; in nghttp2_buf_init()
76 buf->last = ptr + (buf->last - buf->begin); in nghttp2_buf_reserve()
86 buf->pos = buf->last = buf->mark = buf->begin; in nghttp2_buf_reset()
91 buf->begin = buf->pos = buf->last = buf->mark = begin; in nghttp2_buf_wrap_init()
373 buf->last = nghttp2_cpymem(buf->last, p, nwrite); in nghttp2_bufs_add()
409 *bufs->cur->buf.last++ = b; in nghttp2_bufs_addb()
423 *bufs->cur->buf.last = b; in nghttp2_bufs_addb_hold()
437 *bufs->cur->buf.last++ |= b; in nghttp2_bufs_orb()
451 *bufs->cur->buf.last |= b; in nghttp2_bufs_orb_hold()
484 resbuf.last = in nghttp2_bufs_remove()
[all …]
A Dnghttp2_helper.c422 const uint8_t *last; in nghttp2_check_header_name() local
433 for (last = name + len; name != last; ++name) { in nghttp2_check_header_name()
511 const uint8_t *last; in nghttp2_check_header_value() local
512 for (last = value + len; value != last; ++value) { in nghttp2_check_header_value()
A Dnghttp2_frame.c358 buf->last = buf->pos; in nghttp2_frame_pack_headers()
464 buf->last += 4; in nghttp2_frame_pack_rst_stream()
491 buf->last += in nghttp2_frame_pack_settings()
567 buf->last = buf->pos; in nghttp2_frame_pack_push_promise()
614 buf->last = nghttp2_cpymem(buf->last, frame->opaque_data, in nghttp2_frame_pack_ping()
640 buf->last += 4; in nghttp2_frame_pack_goaway()
643 buf->last += 4; in nghttp2_frame_pack_goaway()
720 buf->last += 4; in nghttp2_frame_pack_window_update()
753 buf->last += 2; in nghttp2_frame_pack_altsvc()
1023 memset(buf->last, 0, trail_padlen); in frame_set_pad()
[all …]
/AliOS-Things-master/components/ble_host/bt_host/port/core/
A Dmbox.c45 mbox->first = mbox->last = 0; in k_mbox_new()
99 while ((mbox->last + 1) >= (mbox->first + K_MBOX_SIZE)) { in k_mbox_post()
107 mbox->msgs[mbox->last % K_MBOX_SIZE] = msg; in k_mbox_post()
109 if (mbox->last == mbox->first) { in k_mbox_post()
115 mbox->last++; in k_mbox_post()
145 if ((mbox->last + 1) >= (mbox->first + K_MBOX_SIZE)) { in k_mbox_trypost()
150 mbox->msgs[mbox->last % K_MBOX_SIZE] = msg; in k_mbox_trypost()
152 if (mbox->last == mbox->first) { in k_mbox_trypost()
158 mbox->last++; in k_mbox_trypost()
203 while (mbox->first == mbox->last) { in k_mbox_fetch()
[all …]
/AliOS-Things-master/components/freetype/src/base/
A Dftoutln.c91 if ( last < 0 ) in FT_Outline_Decompose()
279 first = last + 1; in FT_Outline_Decompose()
546 FT_Int first, last; in FT_Outline_Reverse() local
594 first = last + 1; in FT_Outline_Reverse()
746 FT_Vector* last;
794 FT_Vector* last;
828 FT_Vector* last;
956 if ( n < last ) in FT_Outline_EmboldenXY()
1018 first = last + 1; in FT_Outline_EmboldenXY()
1062 v_prev = points[last]; in FT_Outline_Get_Orientation()
[all …]
A Dftbbox.c39 FT_Vector last; member
69 user->last = *to; in BBox_Move_To()
162 BBox_Conic_Check( user->last.x, in BBox_Conic_To()
169 BBox_Conic_Check( user->last.y, in BBox_Conic_To()
175 user->last = *to; in BBox_Conic_To()
367 BBox_Cubic_Check( user->last.x, in BBox_Cubic_To()
376 BBox_Cubic_Check( user->last.y, in BBox_Cubic_To()
383 user->last = *to; in BBox_Cubic_To()
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/
A Dinfback.c280 state->last = 0;
294 if (state->last) {
300 state->last = BITS(1);
499 last = here;
501 here = state->lencode[last.val +
502 (BITS(last.bits + last.op) >> last.bits)];
506 DROPBITS(last.bits);
553 last = here;
555 here = state->distcode[last.val +
556 (BITS(last.bits + last.op) >> last.bits)];
[all …]
A Dinffast.c56 z_const unsigned char FAR *last; /* have enough input while in < last */ local
83 last = in + (strm->avail_in - 5);
290 } while (in < last && out < end);
301 strm->avail_in = (unsigned)(in < last ? 5 + (last - in) : 5 - (in - last));
/AliOS-Things-master/components/py_engine/external/unzip/src/
A Dinfback.c271 state->last = 0;
285 if (state->last) {
291 state->last = BITS(1);
491 last = here;
493 here = state->lencode[last.val +
494 (BITS(last.bits + last.op) >> last.bits)];
498 DROPBITS(last.bits);
545 last = here;
547 here = state->distcode[last.val +
548 (BITS(last.bits + last.op) >> last.bits)];
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/libtests/
A Dpngimage.c386 buffer->last = NULL; in buffer_init()
480 last = buffer_extend(last); in buffer_from_file()
486 last = last->next; in buffer_from_file()
494 buffer->last = last; in buffer_from_file()
819 if (last == NULL || in buffer_read()
820 (last == bp->last && read_count >= bp->end_count)) in buffer_read()
831 last = last->next; in buffer_read()
1276 struct buffer_list *last = buffer->last; in buffer_write() local
1287 last = buffer_extend(last); in buffer_write()
1294 last = last->next; in buffer_write()
[all …]
/AliOS-Things-master/components/SDL2/src/video/
A DSDL_stretch.c78 } last; in generate_rowbytes() local
86 if ((src_w == last.src_w) && (dst_w == last.dst_w) && (bpp == last.bpp)) { in generate_rowbytes()
87 return (last.status); in generate_rowbytes()
89 last.bpp = bpp; in generate_rowbytes()
90 last.src_w = src_w; in generate_rowbytes()
91 last.dst_w = dst_w; in generate_rowbytes()
92 last.status = -1; in generate_rowbytes()
145 last.status = 0; in generate_rowbytes()
/AliOS-Things-master/components/lwip/lwip2.0.0/port/
A Dsys_arch.c169 mbox->first = mbox->last = 0; in sys_mbox_new()
217 while ((mbox->last + 1) >= (mbox->first + SYS_MBOX_SIZE)) { in sys_mbox_post()
225 mbox->msgs[mbox->last % SYS_MBOX_SIZE] = msg; in sys_mbox_post()
227 if (mbox->last == mbox->first) { in sys_mbox_post()
233 mbox->last++; in sys_mbox_post()
259 if ((mbox->last + 1) >= (mbox->first + SYS_MBOX_SIZE)) { in sys_mbox_trypost()
264 mbox->msgs[mbox->last % SYS_MBOX_SIZE] = msg; in sys_mbox_trypost()
266 if (mbox->last == mbox->first) { in sys_mbox_trypost()
272 mbox->last++; in sys_mbox_trypost()
309 while (mbox->first == mbox->last) { in sys_arch_mbox_fetch()
[all …]
/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmphalport.c105 const char *last = str; in mp_hal_stdout_tx_strn_cooked() local
108 if (str > last) { in mp_hal_stdout_tx_strn_cooked()
109 mp_hal_stdout_tx_strn(last, str - last); in mp_hal_stdout_tx_strn_cooked()
113 last = str; in mp_hal_stdout_tx_strn_cooked()
118 if (str > last) { in mp_hal_stdout_tx_strn_cooked()
119 mp_hal_stdout_tx_strn(last, str - last); in mp_hal_stdout_tx_strn_cooked()
/AliOS-Things-master/components/freetype/src/autofit/
A Daflatin.c365 FT_Int last = -1; in af_latin_metrics_init_blues() local
520 FT_Int last; in af_latin_metrics_init_blues() local
548 last = first; in af_latin_metrics_init_blues()
580 last++; in af_latin_metrics_init_blues()
1189 last = point; in af_latin_hints_compute_segments()
1204 last = point; in af_latin_hints_compute_segments()
1253 if ( point == last ) in af_latin_hints_compute_segments()
1294 AF_Point last = segment->last; in af_latin_hints_compute_segments() local
1299 if ( first == last ) in af_latin_hints_compute_segments()
1312 p = last->next; in af_latin_hints_compute_segments()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/infback9/
A Dinfback9.c245 code last; /* parent table entry */ local
475 last = here;
477 here = lencode[last.val +
478 (BITS(last.bits + last.op) >> last.bits)];
479 if ((unsigned)(last.bits + here.bits) <= bits) break;
482 DROPBITS(last.bits);
529 last = here;
531 here = distcode[last.val +
532 (BITS(last.bits + last.op) >> last.bits)];
533 if ((unsigned)(last.bits + here.bits) <= bits) break;
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/
A Dcost.c333 if (res->last < 0) { in GetResidualCost_C()
336 for (; n < res->last; ++n) { in GetResidualCost_C()
360 res->last = -1; in SetResidualCoeffs_C()
364 res->last = n; in SetResidualCoeffs_C()
A Dcost_neon.c33 res->last = vmaxvq_u8(masked) - 1; in SetResidualCoeffs_NEON()
44 vst1_lane_s32(&res->last, vreinterpret_s32_u32(eob_32x2), 0); in SetResidualCoeffs_NEON()
45 --res->last; in SetResidualCoeffs_NEON()
64 if (res->last < 0) { in GetResidualCost_NEON()
85 for (; n < res->last; ++n) { in GetResidualCost_NEON()
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/masmx64/
A Dinffas8664.c87 /* 24 12 */ unsigned char FAR *last; /* r9 while in < last */ member
128 ar.last = ar.in + (strm->avail_in - PAD_AVAIL_IN);
175 strm->avail_in = (unsigned)(ar.in < ar.last ?
176 PAD_AVAIL_IN + (ar.last - ar.in) :
177 PAD_AVAIL_IN - (ar.in - ar.last));
/AliOS-Things-master/components/freetype/src/cache/
A Dftcmru.c37 FTC_MruNode last = first->prev; in FTC_MruNode_Prepend() local
59 last->next = node; in FTC_MruNode_Prepend()
61 node->prev = last; in FTC_MruNode_Prepend()
83 FTC_MruNode prev, next, last; in FTC_MruNode_Up() local
108 last = first->prev; in FTC_MruNode_Up()
110 last->next = node; in FTC_MruNode_Up()
114 node->prev = last; in FTC_MruNode_Up()

Completed in 43 milliseconds

123456789