Home
last modified time | relevance | path

Searched full:pstart (Results 1 - 25 of 65) sorted by relevance

123

/third_party/icu/icu4c/source/samples/layout/
H A Dpflow.c121 LEUnicode *pStart; in pf_create() local
158 pStart = &flow->fChars[0]; in pf_create()
160 while (*pStart != 0) { in pf_create()
161 LEUnicode *pEnd = u_strpbrk(pStart, separators); in pf_create()
169 if (pEnd != pStart) { in pf_create()
170 subsetFontRuns(fontRuns, pStart - flow->fChars, pEnd - flow->fChars, fr); in pf_create()
174 pl_addLocaleRun(locales, TEST_LOCALE, pEnd - pStart); in pf_create()
177 paragraphLayout = pl_create(pStart, pEnd - pStart, fr, NULL, NULL, locales, flow->fParagraphLevel, false, status); in pf_create()
215 pStart in pf_create()
[all...]
H A Dparagraph.cpp107 LEUnicode *pStart = &fChars[0]; in Paragraph() local
109 while (*pStart != 0) { in Paragraph()
110 LEUnicode *pEnd = u_strpbrk(pStart, separators); in Paragraph()
118 if (pEnd != pStart) { in Paragraph()
119 subsetFontRuns(fontRuns, pStart - fChars, pEnd - fChars, &fr); in Paragraph()
121 paragraphLayout = new ParagraphLayout(pStart, pEnd - pStart, &fr, NULL, NULL, locales, fParagraphLevel, false, status); in Paragraph()
160 pStart = skipLineEnd(pEnd); in Paragraph()
/third_party/skia/third_party/externals/icu/source/samples/layout/
H A Dpflow.c119 LEUnicode *pStart; in pf_create() local
156 pStart = &flow->fChars[0]; in pf_create()
158 while (*pStart != 0) { in pf_create()
159 LEUnicode *pEnd = u_strpbrk(pStart, separators); in pf_create()
167 if (pEnd != pStart) { in pf_create()
168 subsetFontRuns(fontRuns, pStart - flow->fChars, pEnd - flow->fChars, fr); in pf_create()
172 pl_addLocaleRun(locales, TEST_LOCALE, pEnd - pStart); in pf_create()
175 paragraphLayout = pl_create(pStart, pEnd - pStart, fr, NULL, NULL, locales, flow->fParagraphLevel, FALSE, status); in pf_create()
213 pStart in pf_create()
[all...]
H A Dparagraph.cpp107 LEUnicode *pStart = &fChars[0]; in Paragraph() local
109 while (*pStart != 0) { in Paragraph()
110 LEUnicode *pEnd = u_strpbrk(pStart, separators); in Paragraph()
118 if (pEnd != pStart) { in Paragraph()
119 subsetFontRuns(fontRuns, pStart - fChars, pEnd - fChars, &fr); in Paragraph()
121 paragraphLayout = new ParagraphLayout(pStart, pEnd - pStart, &fr, NULL, NULL, locales, fParagraphLevel, FALSE, status); in Paragraph()
160 pStart = skipLineEnd(pEnd); in Paragraph()
/third_party/ffmpeg/libavformat/
H A Doggdec.c166 os->pstart = 0; in ogg_reset()
473 os->pstart += seg; in ogg_read_page()
522 av_log(s, AV_LOG_TRACE, "ogg_packet: idx=%d pstart=%d psize=%d segp=%d nsegs=%d\n", in ogg_packet()
523 idx, os->pstart, os->psize, os->segp, os->nsegs); in ogg_packet()
599 os->pstart += os->psize; in ogg_packet()
614 *dstart = os->pstart; in ogg_packet()
619 os->pstart += os->psize; in ogg_packet()
621 if(os->pstart == os->bufpos) in ogg_packet()
622 os->bufpos = os->pstart = 0; in ogg_packet()
798 static void ogg_validate_keyframe(AVFormatContext *s, int idx, int pstart, in argument
824 int pstart, psize; ogg_read_packet() local
897 int pstart, psize; ogg_read_timestamp() local
[all...]
H A Doggparseflac.c39 if (os->buf[os->pstart] == 0xff) in flac_header()
42 init_get_bits(&gb, os->buf + os->pstart, os->psize*8); in flac_header()
47 uint8_t *streaminfo_start = os->buf + os->pstart + 5 + 4 + 4 + 4; in flac_header()
74 ff_vorbis_stream_comment(s, st, os->buf + os->pstart + 4, os->psize - 4); in flac_header()
109 &data, &size, os->buf + os->pstart, os->psize, in old_flac_header()
H A Doggparsetheora.c48 if (!(os->buf[os->pstart] & 0x80)) in theora_header()
58 switch (os->buf[os->pstart]) { in theora_header()
63 init_get_bits(&gb, os->buf + os->pstart, os->psize * 8); in theora_header()
119 ff_vorbis_stream_comment(s, st, os->buf + os->pstart + 7, os->psize - 7); in theora_header()
125 av_log(s, AV_LOG_ERROR, "Unknown header type %X\n", os->buf[os->pstart]); in theora_header()
139 memcpy(cdp, os->buf + os->pstart, os->psize); in theora_header()
H A Doggparsevorbis.c277 ret = ff_vorbis_stream_comment(s, st, os->buf + os->pstart + 7, in vorbis_update_metadata()
301 int pkt_type = os->buf[os->pstart]; in vorbis_header()
323 priv->packet[pkt_type >> 1] = av_memdup(os->buf + os->pstart, os->psize); in vorbis_header()
326 if (os->buf[os->pstart] == 1) { in vorbis_header()
327 const uint8_t *p = os->buf + os->pstart + 7; /* skip "\001vorbis" tag */ in vorbis_header()
369 } else if (os->buf[os->pstart] == 3) { in vorbis_header()
425 uint8_t *last_pkt = os->buf + os->pstart; in vorbis_packet()
473 duration = av_vorbis_parse_frame_flags(priv->vp, os->buf + os->pstart, 1, &flags); in vorbis_packet()
H A Doggparseogm.c49 bytestream2_init(&p, os->buf + os->pstart, os->psize); in ogm_header()
136 uint8_t *p = os->buf + os->pstart; in ogm_dshow_header()
176 uint8_t *p = os->buf + os->pstart; in ogm_packet()
186 os->pstart += lb + 1; in ogm_packet()
H A Doggparseopus.c44 uint8_t *packet = os->buf + os->pstart; in opus_header()
117 uint8_t *packet = os->buf + os->pstart; in opus_packet()
130 uint8_t *last_pkt = os->buf + os->pstart; in opus_packet()
H A Doggparsedirac.c40 ret = av_dirac_parse_sequence_header(&dsh, os->buf + os->pstart + 13, (os->psize - 13), s); in dirac_header()
91 uint8_t *buf = os->buf + os->pstart; in old_dirac_header()
/third_party/node/deps/icu-small/source/tools/toolutil/
H A Duparse.cpp299 uint32_t *pStart, uint32_t *pEnd, in u_parseCodePointRangeAnyTerminator()
308 if(s==nullptr || pStart==nullptr || pEnd==nullptr) { in u_parseCodePointRangeAnyTerminator()
320 *pStart=*pEnd=value; in u_parseCodePointRangeAnyTerminator()
339 if(value<*pStart) { in u_parseCodePointRangeAnyTerminator()
345 return value-*pStart+1; in u_parseCodePointRangeAnyTerminator()
350 uint32_t *pStart, uint32_t *pEnd, in u_parseCodePointRange()
354 u_parseCodePointRangeAnyTerminator(s, pStart, pEnd, &terminator, pErrorCode); in u_parseCodePointRange()
298 u_parseCodePointRangeAnyTerminator(const char *s, uint32_t *pStart, uint32_t *pEnd, const char **terminator, UErrorCode *pErrorCode) u_parseCodePointRangeAnyTerminator() argument
349 u_parseCodePointRange(const char *s, uint32_t *pStart, uint32_t *pEnd, UErrorCode *pErrorCode) u_parseCodePointRange() argument
H A Ducbuf.cpp61 const char* pStart; in ucbuf_autodetect_fs() local
84 pStart = start; in ucbuf_autodetect_fs()
85 ucnv_toUnicode(*conv, &pTarget, target+1, &pStart, start+*signatureLength, nullptr, false, error); in ucbuf_autodetect_fs()
86 *signatureLength = (int32_t)(pStart - start); in ucbuf_autodetect_fs()
591 const char* pStart; in ucbuf_rewind() local
599 pStart = start; in ucbuf_rewind()
600 ucnv_toUnicode(buf->conv, &pTarget, target+1, &pStart, start+numRead, nullptr, false, error); in ucbuf_rewind()
/third_party/icu/icu4c/source/tools/toolutil/
H A Duparse.cpp299 uint32_t *pStart, uint32_t *pEnd, in u_parseCodePointRangeAnyTerminator()
308 if(s==NULL || pStart==NULL || pEnd==NULL) { in u_parseCodePointRangeAnyTerminator()
320 *pStart=*pEnd=value; in u_parseCodePointRangeAnyTerminator()
339 if(value<*pStart) { in u_parseCodePointRangeAnyTerminator()
345 return value-*pStart+1; in u_parseCodePointRangeAnyTerminator()
350 uint32_t *pStart, uint32_t *pEnd, in u_parseCodePointRange()
354 u_parseCodePointRangeAnyTerminator(s, pStart, pEnd, &terminator, pErrorCode); in u_parseCodePointRange()
298 u_parseCodePointRangeAnyTerminator(const char *s, uint32_t *pStart, uint32_t *pEnd, const char **terminator, UErrorCode *pErrorCode) u_parseCodePointRangeAnyTerminator() argument
349 u_parseCodePointRange(const char *s, uint32_t *pStart, uint32_t *pEnd, UErrorCode *pErrorCode) u_parseCodePointRange() argument
H A Ducbuf.cpp61 const char* pStart; in ucbuf_autodetect_fs() local
84 pStart = start; in ucbuf_autodetect_fs()
85 ucnv_toUnicode(*conv, &pTarget, target+1, &pStart, start+*signatureLength, NULL, false, error); in ucbuf_autodetect_fs()
86 *signatureLength = (int32_t)(pStart - start); in ucbuf_autodetect_fs()
591 const char* pStart; in ucbuf_rewind() local
599 pStart = start; in ucbuf_rewind()
600 ucnv_toUnicode(buf->conv, &pTarget, target+1, &pStart, start+numRead, NULL, false, error); in ucbuf_rewind()
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
H A Duparse.cpp299 uint32_t *pStart, uint32_t *pEnd, in u_parseCodePointRangeAnyTerminator()
308 if(s==NULL || pStart==NULL || pEnd==NULL) { in u_parseCodePointRangeAnyTerminator()
320 *pStart=*pEnd=value; in u_parseCodePointRangeAnyTerminator()
339 if(value<*pStart) { in u_parseCodePointRangeAnyTerminator()
345 return value-*pStart+1; in u_parseCodePointRangeAnyTerminator()
350 uint32_t *pStart, uint32_t *pEnd, in u_parseCodePointRange()
354 u_parseCodePointRangeAnyTerminator(s, pStart, pEnd, &terminator, pErrorCode); in u_parseCodePointRange()
298 u_parseCodePointRangeAnyTerminator(const char *s, uint32_t *pStart, uint32_t *pEnd, const char **terminator, UErrorCode *pErrorCode) u_parseCodePointRangeAnyTerminator() argument
349 u_parseCodePointRange(const char *s, uint32_t *pStart, uint32_t *pEnd, UErrorCode *pErrorCode) u_parseCodePointRange() argument
H A Ducbuf.cpp61 const char* pStart; in ucbuf_autodetect_fs() local
84 pStart = start; in ucbuf_autodetect_fs()
85 ucnv_toUnicode(*conv, &pTarget, target+1, &pStart, start+*signatureLength, NULL, FALSE, error); in ucbuf_autodetect_fs()
86 *signatureLength = (int32_t)(pStart - start); in ucbuf_autodetect_fs()
591 const char* pStart; in ucbuf_rewind() local
599 pStart = start; in ucbuf_rewind()
600 ucnv_toUnicode(buf->conv, &pTarget, target+1, &pStart, start+numRead, NULL, FALSE, error); in ucbuf_rewind()
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/common/
H A Dloadbmp.c231 HI_U8 *pStart = HI_NULL; in LoadBMPEx() local
319 pStart = pOrigBMPBuf + ((h - 1) - i) * stride + j * Bpp; in LoadBMPEx()
321 r = *(pStart); /* [0] */ in LoadBMPEx()
322 g = *(pStart + 1); /* [1] */ in LoadBMPEx()
323 b = *(pStart + 2); /* [2] */ in LoadBMPEx()
387 HI_U8 *pStart = HI_NULL; in LoadBMPCanvas() local
492 pStart = pOrigBMPBuf + ((h - 1) - i) * stride + j * Bpp; in LoadBMPCanvas()
494 r = *(pStart); /* [0] */ in LoadBMPCanvas()
495 g = *(pStart + 1); /* [1] */ in LoadBMPCanvas()
496 b = *(pStart in LoadBMPCanvas()
[all...]
/third_party/node/deps/openssl/openssl/crypto/ct/
H A Dct_oct.c156 unsigned char *p = NULL, *pstart = NULL; in i2o_SCT_signature() local
180 pstart = p = OPENSSL_malloc(len); in i2o_SCT_signature()
196 OPENSSL_free(pstart); in i2o_SCT_signature()
203 unsigned char *p = NULL, *pstart = NULL; in i2o_SCT() local
227 pstart = p = OPENSSL_malloc(len); in i2o_SCT()
253 OPENSSL_free(pstart); in i2o_SCT()
/third_party/openssl/crypto/ct/
H A Dct_oct.c156 unsigned char *p = NULL, *pstart = NULL; in i2o_SCT_signature() local
180 pstart = p = OPENSSL_malloc(len); in i2o_SCT_signature()
196 OPENSSL_free(pstart); in i2o_SCT_signature()
203 unsigned char *p = NULL, *pstart = NULL; in i2o_SCT() local
227 pstart = p = OPENSSL_malloc(len); in i2o_SCT()
253 OPENSSL_free(pstart); in i2o_SCT()
/third_party/ffmpeg/libavcodec/
H A Dvb.c99 uint8_t *pstart = c->prev_frame; in vb_decode_framedata() local
120 if (check_line(prev + y*width, pstart, pend)) in vb_decode_framedata()
139 if (check_line(prev + t + y*width, pstart, pend)) in vb_decode_framedata()
168 if (pattern & 1 && check_pixel(prev + x + y*width, pstart, pend)) in vb_decode_framedata()
/third_party/icu/icu4c/source/common/
H A Duset.cpp345 // UChar32* pStart, UChar32* pEnd) {
350 // *pStart = us->getRangeStart(rangeIndex);
518 UChar32* pStart, UChar32* pEnd) { in uset_getSerializedRange()
522 if(set==NULL || rangeIndex<0 || pStart==NULL || pEnd==NULL) { in uset_getSerializedRange()
532 *pStart=array[rangeIndex++]; in uset_getSerializedRange()
547 *pStart=(((int32_t)array[rangeIndex])<<16)|array[rangeIndex+1]; in uset_getSerializedRange()
517 uset_getSerializedRange(const USerializedSet* set, int32_t rangeIndex, UChar32* pStart, UChar32* pEnd) uset_getSerializedRange() argument
/third_party/node/deps/icu-small/source/common/
H A Duset.cpp345 // UChar32* pStart, UChar32* pEnd) {
350 // *pStart = us->getRangeStart(rangeIndex);
518 UChar32* pStart, UChar32* pEnd) { in uset_getSerializedRange()
522 if(set==nullptr || rangeIndex<0 || pStart==nullptr || pEnd==nullptr) { in uset_getSerializedRange()
532 *pStart=array[rangeIndex++]; in uset_getSerializedRange()
547 *pStart=(((int32_t)array[rangeIndex])<<16)|array[rangeIndex+1]; in uset_getSerializedRange()
517 uset_getSerializedRange(const USerializedSet* set, int32_t rangeIndex, UChar32* pStart, UChar32* pEnd) uset_getSerializedRange() argument
/third_party/skia/third_party/externals/icu/source/common/
H A Duset.cpp340 // UChar32* pStart, UChar32* pEnd) {
345 // *pStart = us->getRangeStart(rangeIndex);
513 UChar32* pStart, UChar32* pEnd) { in uset_getSerializedRange()
517 if(set==NULL || rangeIndex<0 || pStart==NULL || pEnd==NULL) { in uset_getSerializedRange()
527 *pStart=array[rangeIndex++]; in uset_getSerializedRange()
542 *pStart=(((int32_t)array[rangeIndex])<<16)|array[rangeIndex+1]; in uset_getSerializedRange()
512 uset_getSerializedRange(const USerializedSet* set, int32_t rangeIndex, UChar32* pStart, UChar32* pEnd) uset_getSerializedRange() argument
/third_party/ltp/testcases/realtime/func/prio-preempt/
H A Dprio-preempt.c166 nsec_t pstart, pend; in worker_thread() local
203 pstart = pend = rt_gettime(); in worker_thread()
219 tid, mypri, pend - pstart); in worker_thread()

Completed in 18 milliseconds

123