Home
last modified time | relevance | path

Searched refs:overlap (Results 1 – 25 of 272) sorted by relevance

1234567891011

/external/icu/icu4c/source/common/
Dunisetspan.cpp654 int32_t overlap=spanLengths[i]; in span() local
655 if(overlap==ALL_CP_CONTAINED) { in span()
663 if(overlap>=LONG_SPAN) { in span()
664 overlap=length16; in span()
666 U16_BACK_1(s16, 0, overlap); // Length of the string minus the last code point. in span()
668 if(overlap>spanLength) { in span()
669 overlap=spanLength; in span()
671 int32_t inc=length16-overlap; // Keep overlap+inc==length16. in span()
677 … if(!offsets.containsOffset(inc) && matches16CPB(s, pos-overlap, length, s16, length16)) { in span()
683 if(overlap==0) { in span()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUnicodeSetStringSpan.java404 int overlap = spanLengths[i]; in spanWithStrings() local
405 if (overlap == ALL_CP_CONTAINED) { in spanWithStrings()
413 if (overlap >= LONG_SPAN) { in spanWithStrings()
414 overlap = length16; in spanWithStrings()
416overlap = string.offsetByCodePoints(overlap, -1); // Length of the string minus the last code in spanWithStrings()
419 if (overlap > spanLength) { in spanWithStrings()
420 overlap = spanLength; in spanWithStrings()
422 int inc = length16 - overlap; // Keep overlap+inc==length16. in spanWithStrings()
428 … if (!offsets.containsOffset(inc) && matches16CPB(s, pos - overlap, length, string, length16)) { in spanWithStrings()
434 if (overlap == 0) { in spanWithStrings()
[all …]
DTrie2Writable.java743 int blockLength, overlap; in compactData() local
796 for(overlap=blockLength-UTRIE2_DATA_GRANULARITY; in compactData()
797 overlap>0 && !equal_int(data, (newStart-overlap), start, overlap); in compactData()
798 overlap-=UTRIE2_DATA_GRANULARITY) {} in compactData()
800 if(overlap>0 || newStart<start) { in compactData()
802 movedStart=newStart-overlap; in compactData()
809 start+=overlap; in compactData()
810 for(i=blockLength-overlap; i>0; --i) { in compactData()
847 int i, start, newStart, movedStart, overlap; in compactIndex2() local
881 for(overlap=UTRIE2_INDEX_2_BLOCK_LENGTH-1; in compactIndex2()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface_named_pipe.c62 OVERLAPPED overlap; member
90 LPOVERLAPPED overlap);
97 LPOVERLAPPED overlap);
147 dst->overlap.hEvent = CreateEvent(NULL, TRUE, TRUE, NULL); in ctrl_open_pipe()
148 if (dst->overlap.hEvent == NULL) { in ctrl_open_pipe()
154 eloop_register_event(dst->overlap.hEvent, in ctrl_open_pipe()
155 sizeof(dst->overlap.hEvent), in ctrl_open_pipe()
181 if (ConnectNamedPipe(dst->pipe, &dst->overlap)) { in ctrl_open_pipe()
198 if (SetEvent(dst->overlap.hEvent)) in ctrl_open_pipe()
226 if (dst->overlap.hEvent) { in ctrl_close_pipe()
[all …]
/external/libese/libese/tests/
Dbitspec_unittests.cpp37 } overlap; member
58 .overlap = {
144 EXPECT_EQ(0, bs_get(kTestSpec.overlap.upper6, byte)); in TEST_F()
145 EXPECT_EQ(0, bs_get(kTestSpec.overlap.lower6, byte)); in TEST_F()
146 EXPECT_EQ(0, bs_get(kTestSpec.overlap.all8, byte)); in TEST_F()
148 EXPECT_EQ(0x3f, bs_get(kTestSpec.overlap.upper6, byte)); in TEST_F()
149 EXPECT_EQ(0x3f, bs_get(kTestSpec.overlap.lower6, byte)); in TEST_F()
150 EXPECT_EQ(0xff, bs_get(kTestSpec.overlap.all8, byte)); in TEST_F()
154 bs_assign(&byte, kTestSpec.overlap.lower6, i); in TEST_F()
155 EXPECT_EQ((i & (0x3f << 2)) >> 2, bs_get(kTestSpec.overlap.upper6, byte)); in TEST_F()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUnicodeSetStringSpan.java400 int overlap = spanLengths[i]; in spanWithStrings() local
401 if (overlap == ALL_CP_CONTAINED) { in spanWithStrings()
409 if (overlap >= LONG_SPAN) { in spanWithStrings()
410 overlap = length16; in spanWithStrings()
412overlap = string.offsetByCodePoints(overlap, -1); // Length of the string minus the last code in spanWithStrings()
415 if (overlap > spanLength) { in spanWithStrings()
416 overlap = spanLength; in spanWithStrings()
418 int inc = length16 - overlap; // Keep overlap+inc==length16. in spanWithStrings()
424 … if (!offsets.containsOffset(inc) && matches16CPB(s, pos - overlap, length, string, length16)) { in spanWithStrings()
430 if (overlap == 0) { in spanWithStrings()
[all …]
DTrie2Writable.java741 int blockLength, overlap; in compactData() local
794 for(overlap=blockLength-UTRIE2_DATA_GRANULARITY; in compactData()
795 overlap>0 && !equal_int(data, (newStart-overlap), start, overlap); in compactData()
796 overlap-=UTRIE2_DATA_GRANULARITY) {} in compactData()
798 if(overlap>0 || newStart<start) { in compactData()
800 movedStart=newStart-overlap; in compactData()
807 start+=overlap; in compactData()
808 for(i=blockLength-overlap; i>0; --i) { in compactData()
845 int i, start, newStart, movedStart, overlap; in compactIndex2() local
879 for(overlap=UTRIE2_INDEX_2_BLOCK_LENGTH-1; in compactIndex2()
[all …]
/external/dng_sdk/source/
Ddng_misc_opcodes.cpp215 dng_rect overlap = fArea & tile; in Overlap() local
217 if (overlap.NotEmpty ()) in Overlap()
220 overlap.t = fArea.t + ConvertUint32ToInt32( in Overlap()
221 RoundUpUint32ToMultiple(static_cast<uint32>(overlap.t - fArea.t), in Overlap()
223 overlap.l = fArea.l + ConvertUint32ToInt32( in Overlap()
224 RoundUpUint32ToMultiple(static_cast<uint32>(overlap.l - fArea.l), in Overlap()
227 if (overlap.NotEmpty ()) in Overlap()
230 overlap.b = overlap.t + ((overlap.H () - 1) / fRowPitch) * fRowPitch + 1; in Overlap()
231 overlap.r = overlap.l + ((overlap.W () - 1) / fColPitch) * fColPitch + 1; in Overlap()
233 return overlap; in Overlap()
[all …]
Ddng_image.cpp502 dng_rect overlap = buffer.fArea & fBounds; in Get() local
506 if (overlap.NotEmpty ()) in Get()
511 temp.fArea = overlap; in Get()
513 temp.fData = buffer.DirtyPixel (overlap.t, in Get()
514 overlap.l, in Get()
523 if ((edgeOption != edge_none) && (overlap != buffer.fArea)) in Get()
692 dng_rect overlap = buffer.fArea & fBounds; in Put() local
694 if (overlap.NotEmpty ()) in Put()
699 temp.fArea = overlap; in Put()
701 temp.fData = (void *) buffer.ConstPixel (overlap.t, in Put()
[all …]
/external/llvm/test/CodeGen/ARM/
Dlsr-unfolded-offset.ll24 %overlap.081 = phi i32 [ %overlap.4, %for.inc69 ], [ 0, %entry ]
34 %overlap.178 = phi i32 [ %overlap.081, %outer.loop ], [ %overlap.4, %for.inc ]
48 %overlap.2 = select i1 %or.cond, i32 1, i32 %overlap.178
52 %overlap.3 = select i1 %or.cond74, i32 1, i32 %overlap.2
62 %overlap.4 = phi i32 [ %overlap.178, %inner.loop ], [ 1, %if.then66 ], [ %overlap.3, %if.end ]
73 %overlap.0.lcssa = phi i32 [ 0, %entry ], [ %overlap.4, %for.inc69 ]
74 ret i32 %overlap.0.lcssa
/external/swiftshader/third_party/LLVM/test/CodeGen/ARM/
Dlsr-unfolded-offset.ll25 %overlap.081 = phi i32 [ %overlap.4, %for.inc69 ], [ 0, %entry ]
35 %overlap.178 = phi i32 [ %overlap.081, %outer.loop ], [ %overlap.4, %for.inc ]
49 %overlap.2 = select i1 %or.cond, i32 1, i32 %overlap.178
53 %overlap.3 = select i1 %or.cond74, i32 1, i32 %overlap.2
63 %overlap.4 = phi i32 [ %overlap.178, %inner.loop ], [ 1, %if.then66 ], [ %overlap.3, %if.end ]
74 %overlap.0.lcssa = phi i32 [ 0, %entry ], [ %overlap.4, %for.inc69 ]
75 ret i32 %overlap.0.lcssa
/external/libopus/celt/mips/
Dmdct_mipsr1.h61 const opus_val16 *window, int overlap, int shift, int stride, int arch) in clt_mdct_forward() argument
98 const kiss_fft_scalar * OPUS_RESTRICT xp1 = in+(overlap>>1); in clt_mdct_forward()
99 const kiss_fft_scalar * OPUS_RESTRICT xp2 = in+N2-1+(overlap>>1); in clt_mdct_forward()
101 const opus_val16 * OPUS_RESTRICT wp1 = window+(overlap>>1); in clt_mdct_forward()
102 const opus_val16 * OPUS_RESTRICT wp2 = window+(overlap>>1)-1; in clt_mdct_forward()
103 for(i=0;i<((overlap+3)>>2);i++) in clt_mdct_forward()
114 wp2 = window+overlap-1; in clt_mdct_forward()
115 for(;i<N4-((overlap+3)>>2);i++) in clt_mdct_forward()
187 const opus_val16 * OPUS_RESTRICT window, int overlap, int shift, int stride, int arch) in clt_mdct_backward() argument
210 kiss_fft_scalar * OPUS_RESTRICT yp = out+(overlap>>1); in clt_mdct_backward()
[all …]
Dcelt_mipsr1.h59 const opus_val16 *window, int overlap, int arch) in comb_filter() argument
93 overlap=0; in comb_filter()
95 for (i=0;i<overlap;i++) in comb_filter()
129 OPUS_MOVE(y+overlap, x+overlap, N-overlap); in comb_filter()
133 for (i=overlap;i<N;i++) in comb_filter()
/external/libopus/celt/arm/
Dcelt_ne10_mdct.c48 int overlap, int shift, int stride, int arch) in clt_mdct_forward_neon() argument
76 const kiss_fft_scalar * OPUS_RESTRICT xp1 = in+(overlap>>1); in clt_mdct_forward_neon()
77 const kiss_fft_scalar * OPUS_RESTRICT xp2 = in+N2-1+(overlap>>1); in clt_mdct_forward_neon()
79 const opus_val16 * OPUS_RESTRICT wp1 = window+(overlap>>1); in clt_mdct_forward_neon()
80 const opus_val16 * OPUS_RESTRICT wp2 = window+(overlap>>1)-1; in clt_mdct_forward_neon()
81 for(i=0;i<((overlap+3)>>2);i++) in clt_mdct_forward_neon()
92 wp2 = window+overlap-1; in clt_mdct_forward_neon()
93 for(;i<N4-((overlap+3)>>2);i++) in clt_mdct_forward_neon()
162 int overlap, int shift, int stride, int arch) in clt_mdct_backward_neon() argument
201 opus_ifft(st, (kiss_fft_cpx *)f, (kiss_fft_cpx*)(out+(overlap>>1)), arch); in clt_mdct_backward_neon()
[all …]
/external/libopus/celt/dump_modes/
Ddump_modes.c95 fprintf(file, "#ifndef DEF_WINDOW%d\n", mode->overlap); in dump_modes()
96 fprintf(file, "#define DEF_WINDOW%d\n", mode->overlap); in dump_modes()
97 fprintf (file, "static const opus_val16 window%d[%d] = {\n", mode->overlap, mode->overlap); in dump_modes()
98 for (j=0;j<mode->overlap;j++) in dump_modes()
225 fprintf(file, "static const CELTMode mode%d_%d_%d = {\n", mode->Fs, mdctSize, mode->overlap); in dump_modes()
227 fprintf(file, "%d, /* overlap */\n", mode->overlap); in dump_modes()
250 fprintf(file, "window%d, /* window */\n", mode->overlap); in dump_modes()
269 fprintf(file, "&mode%d_%d_%d,\n", mode->Fs, mdctSize, mode->overlap); in dump_modes()
279 int overlap = 0; in dump_header() local
288 if (overlap==0) in dump_header()
[all …]
/external/libopus/celt/
Dmdct.c120 const opus_val16 *window, int overlap, int shift, int stride, int arch) in clt_mdct_forward_c() argument
155 const kiss_fft_scalar * OPUS_RESTRICT xp1 = in+(overlap>>1); in clt_mdct_forward_c()
156 const kiss_fft_scalar * OPUS_RESTRICT xp2 = in+N2-1+(overlap>>1); in clt_mdct_forward_c()
158 const opus_val16 * OPUS_RESTRICT wp1 = window+(overlap>>1); in clt_mdct_forward_c()
159 const opus_val16 * OPUS_RESTRICT wp2 = window+(overlap>>1)-1; in clt_mdct_forward_c()
160 for(i=0;i<((overlap+3)>>2);i++) in clt_mdct_forward_c()
171 wp2 = window+overlap-1; in clt_mdct_forward_c()
172 for(;i<N4-((overlap+3)>>2);i++) in clt_mdct_forward_c()
243 const opus_val16 * OPUS_RESTRICT window, int overlap, int shift, int stride, int arch) in clt_mdct_backward_c() argument
265 kiss_fft_scalar * OPUS_RESTRICT yp = out+(overlap>>1); in clt_mdct_backward_c()
[all …]
Dcelt_decoder.c69 int overlap; member
113 + (channels*(DECODE_BUFFER_SIZE+mode->overlap)-1)*sizeof(celt_sig) in opus_custom_decoder_get_size()
160 st->overlap = mode->overlap; in opus_custom_decoder_init()
335 int overlap; in celt_synthesis() local
339 overlap = mode->overlap; in celt_synthesis()
363 freq2 = out_syn[1]+overlap/2; in celt_synthesis()
366 … clt_mdct_backward(&mode->mdct, &freq2[b], out_syn[0]+NB*b, mode->window, overlap, shift, B, arch); in celt_synthesis()
368 … clt_mdct_backward(&mode->mdct, &freq[b], out_syn[1]+NB*b, mode->window, overlap, shift, B, arch); in celt_synthesis()
373 freq2 = out_syn[0]+overlap/2; in celt_synthesis()
382 … clt_mdct_backward(&mode->mdct, &freq[b], out_syn[0]+NB*b, mode->window, overlap, shift, B, arch); in celt_synthesis()
[all …]
/external/aac/libSBRdec/src/
Dsbr_dec.cpp133 FIXP_DBL **qmfImag, int noCols, int overlap, in copyHarmonicSpectrum() argument
140 FIXP_DBL **ppqmfReal = qmfReal + overlap; in copyHarmonicSpectrum()
141 FIXP_DBL **ppqmfImag = qmfImag + overlap; in copyHarmonicSpectrum()
144 slotOffset = noCols - overlap - LPC_ORDER; in copyHarmonicSpectrum()
179 for (col = slotOffset; col < overlap + LPC_ORDER; col++) { in copyHarmonicSpectrum()
284 int ov_len = hSbrDec->LppTrans.pSettings->overlap; in sbr_dec()
507 for (i = 0; i < LPC_ORDER + hSbrDec->LppTrans.pSettings->overlap; i++) { in sbr_dec()
699 hSbrDec->LppTrans.pSettings->overlap, timeOut, strideOut, in sbr_dec()
812 (i < hSbrDec->LppTrans.pSettings->overlap) in sbr_dec()
890 const UINT flags, const int overlap, in createSbrDec() argument
[all …]
Dlpp_tran.cpp305 FDK_ASSERT((lastSlotOffs * timeStep) <= pSettings->overlap); in lppTransposer()
312 autoCorrLength = pSettings->nCols + pSettings->overlap; in lppTransposer()
354 pSettings->overlap, preWhiteningGains, preWhiteningGains_exp, in lppTransposer()
394 i < pSettings->nCols + pSettings->overlap - firstSlotOffs * timeStep; in lppTransposer()
401 FDK_ASSERT((pSettings->overlap & 1) == 0); in lppTransposer()
402 for (i = 0; i < ((pSettings->nCols + pSettings->overlap - in lppTransposer()
419 getScalefactor(lowBandReal, LPC_ORDER + pSettings->overlap) + in lppTransposer()
423 getScalefactor(&lowBandReal[LPC_ORDER + pSettings->overlap], in lppTransposer()
429 getScalefactor(lowBandImag, LPC_ORDER + pSettings->overlap) + in lppTransposer()
433 getScalefactor(&lowBandImag[LPC_ORDER + pSettings->overlap], in lppTransposer()
[all …]
/external/valgrind/memcheck/tests/
Doverlap.stderr.exp1 Source and destination overlap in memcpy(0x........, 0x........, 21)
5 Source and destination overlap in memcpy(0x........, 0x........, 21)
9 Source and destination overlap in strncpy(0x........, 0x........, 21)
13 Source and destination overlap in strncpy(0x........, 0x........, 21)
17 Source and destination overlap in strcpy(0x........, 0x........)
21 Source and destination overlap in strncat(0x........, 0x........, 21)
25 Source and destination overlap in strncat(0x........, 0x........, 21)
/external/valgrind/none/tests/s390x/
Dmvc.c7 char overlap[]= "012345678901234567890"; variable
26 printf("before: |%s|\n", overlap); in main()
28 ::"a" (overlap),"a" (overlap): "memory"); in main()
29 printf("after: |%s|\n", overlap); in main()
Dmvc.stdout.exp7 ------- Destructive overlap #1
10 ------- Destructive overlap #2
13 ------- Destructive overlap #3 (max length)
15 ------- Non-destructive overlap buf[0:4] = buf[10:14]
/external/libxaac/decoder/
Dixheaacd_lt_predict.c400 WORD32 *overlap, WORD32 frame_len, in ixheaacd_lt_update_state() argument
438 (WORD16)-ixheaacd_sat16(overlap[255 - i]), 1), in ixheaacd_lt_update_state()
443 (WORD16)ixheaacd_shl16((WORD16)-ixheaacd_sat16(overlap[i]), 1), in ixheaacd_lt_update_state()
453 (WORD16)-ixheaacd_sat16(overlap[239 - i]), 1), in ixheaacd_lt_update_state()
458 (WORD16)ixheaacd_shl16((WORD16)-ixheaacd_sat16(overlap[i]), 1), in ixheaacd_lt_update_state()
465 (WORD16)-ixheaacd_sat16(overlap[511 - i]), in ixheaacd_lt_update_state()
471 ixheaacd_mult16x16in32_shl((WORD16)-ixheaacd_sat16(overlap[i]), in ixheaacd_lt_update_state()
480 ixheaacd_shl16((WORD16)-ixheaacd_sat16(overlap[511 - i]), 1); in ixheaacd_lt_update_state()
486 (WORD16)-ixheaacd_sat16(overlap[511 - 448 - i]), in ixheaacd_lt_update_state()
493 ixheaacd_mult16x16in32_shl((WORD16)-ixheaacd_sat16(overlap[i]), in ixheaacd_lt_update_state()
[all …]
/external/aac/libAACdec/src/
Dusacdec_fac.cpp300 FDKmemcpy(pOut0, hMdct->overlap.time, hMdct->ov_offset * sizeof(pOut0[0])); in CLpd_FAC_Mdct2Acelp()
304 pOvl = hMdct->overlap.freq + hMdct->ov_size - 1; in CLpd_FAC_Mdct2Acelp()
307 pOut0 = hMdct->overlap.time + hMdct->ov_offset; in CLpd_FAC_Mdct2Acelp()
442 FDKmemcpy(pOut0, hMdct->overlap.time, hMdct->ov_offset * sizeof(pOut0[0])); in CLpd_FAC_Acelp2Mdct()
448 pOut1 = hMdct->overlap.time + hMdct->ov_offset; in CLpd_FAC_Acelp2Mdct()
552 FDK_ASSERT((pOut1 >= hMdct->overlap.time && in CLpd_FAC_Acelp2Mdct()
553 pOut1 < hMdct->overlap.time + hMdct->ov_size) || in CLpd_FAC_Acelp2Mdct()
584 FDK_ASSERT((pOut1 >= hMdct->overlap.time && in CLpd_FAC_Acelp2Mdct()
585 pOut1 < hMdct->overlap.time + hMdct->ov_size) || in CLpd_FAC_Acelp2Mdct()
636 pOut0 = hMdct->overlap.time + hMdct->ov_offset; in CLpd_FAC_Acelp2Mdct()
[all …]
/external/bsdiff/
Dbsdiff.cc73 ssize_t overlap,Ss,lens; in bsdiff() local
159 overlap=(lastscan+lenf)-(scan-lenb); in bsdiff()
161 for(i=0;i<overlap;i++) { in bsdiff()
162 if(new_buf[lastscan+lenf-overlap+i]== in bsdiff()
163 old_buf[lastpos+lenf-overlap+i]) s++; in bsdiff()
169 lenf+=lens-overlap; in bsdiff()

1234567891011