Home
last modified time | relevance | path

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

123456789

/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 …]
Dutrie2_builder.cpp987 int32_t blockLength, overlap; in compactData() local
1041 for(overlap=blockLength-UTRIE2_DATA_GRANULARITY; in compactData()
1042 overlap>0 && !equal_uint32(trie->data+(newStart-overlap), trie->data+start, overlap); in compactData()
1043 overlap-=UTRIE2_DATA_GRANULARITY) {} in compactData()
1045 if(overlap>0 || newStart<start) { in compactData()
1047 movedStart=newStart-overlap; in compactData()
1054 start+=overlap; in compactData()
1055 for(i=blockLength-overlap; i>0; --i) { in compactData()
1093 int32_t i, start, newStart, movedStart, overlap; in compactIndex2() local
1127 for(overlap=UTRIE2_INDEX_2_BLOCK_LENGTH-1; in compactIndex2()
[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/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/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/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/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
112 + (channels*(DECODE_BUFFER_SIZE+mode->overlap)-1)*sizeof(celt_sig) in opus_custom_decoder_get_size()
159 st->overlap = mode->overlap; in opus_custom_decoder_init()
291 int overlap; in celt_synthesis() local
295 overlap = mode->overlap; in celt_synthesis()
319 freq2 = out_syn[1]+overlap/2; in celt_synthesis()
322 … clt_mdct_backward(&mode->mdct, &freq2[b], out_syn[0]+NB*b, mode->window, overlap, shift, B, arch); in celt_synthesis()
324 … clt_mdct_backward(&mode->mdct, &freq[b], out_syn[1]+NB*b, mode->window, overlap, shift, B, arch); in celt_synthesis()
329 freq2 = out_syn[0]+overlap/2; in celt_synthesis()
338 … clt_mdct_backward(&mode->mdct, &freq[b], out_syn[0]+NB*b, mode->window, overlap, shift, B, arch); in celt_synthesis()
[all …]
Dmdct.h67 const opus_val16 *window, int overlap,
75 int overlap, int shift, int stride, int arch);
84 int overlap, int shift, int stride, int arch);
94 int overlap, int shift, int stride, int arch);
Dmodes.c364 mode->overlap = ((mode->shortMdctSize>>2)<<2); in opus_custom_mode_create()
370 window = (opus_val16*)opus_alloc(mode->overlap*sizeof(opus_val16)); in opus_custom_mode_create()
375 for (i=0;i<mode->overlap;i++) in opus_custom_mode_create()
376 …ndow[i] = Q15ONE*sin(.5*M_PI* sin(.5*M_PI*(i+.5)/mode->overlap) * sin(.5*M_PI*(i+.5)/mode->overlap in opus_custom_mode_create()
378 for (i=0;i<mode->overlap;i++) in opus_custom_mode_create()
379 …,floor(.5+32768.*sin(.5*M_PI* sin(.5*M_PI*(i+.5)/mode->overlap) * sin(.5*M_PI*(i+.5)/mode->overlap in opus_custom_mode_create()
/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/aac/libFDK/src/
Dmdct.cpp100 FIXP_DBL *overlap, in mdct_init() argument
103 hMdct->overlap.freq = overlap; in mdct_init()
166 FDKmemcpy(output, hMdct->overlap.time, buffered_samples*sizeof(FIXP_DBL)); in imdct_drain()
186 FDKmemcpy(pTimeData, hMdct->overlap.time, nt*sizeof(FIXP_DBL)); in imdct_copy_ov_and_nr()
189 pOvl = hMdct->overlap.freq + hMdct->ov_size - 1; in imdct_copy_ov_and_nr()
280 pOvl = hMdct->overlap.freq + hMdct->ov_size - 1; in imdct_block()
285 *pOut0 = hMdct->overlap.time[i]; in imdct_block()
318 pOut0 = hMdct->overlap.time + hMdct->ov_offset; in imdct_block()
334 pOut1 = hMdct->overlap.time + hMdct->ov_offset + fl/2 - 1; in imdct_block()
376 pOvl = hMdct->overlap.freq + hMdct->ov_size - tl/2; in imdct_block()
[all …]
/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/aac/libSBRdec/src/
Dlpp_tran.cpp274 autoCorrLength = pSettings->nCols + pSettings->overlap; in lppTransposer()
341 for(i=0;i<pSettings->nCols+pSettings->overlap;i++){ in lppTransposer()
348 FDK_ASSERT((pSettings->overlap & 1) == 0); in lppTransposer()
350 for(i=0;i<((pSettings->overlap+pSettings->nCols)>>1);i++) { in lppTransposer()
362 …dynamicScale = fixMin(dynamicScale, getScalefactor(lowBandReal, LPC_ORDER+pSettings->overlap) + ov… in lppTransposer()
363 …dynamicScale = fixMin(dynamicScale, getScalefactor(&lowBandReal[LPC_ORDER+pSettings->overlap], pSe… in lppTransposer()
365 …dynamicScale = fixMin(dynamicScale, getScalefactor(lowBandImag, LPC_ORDER+pSettings->overlap) + ov… in lppTransposer()
366 …dynamicScale = fixMin(dynamicScale, getScalefactor(&lowBandImag[LPC_ORDER+pSettings->overlap], pSe… in lppTransposer()
373 scaleValues(&lowBandReal[0], LPC_ORDER+pSettings->overlap, dynamicScale-ovLowBandShift); in lppTransposer()
374 …scaleValues(&lowBandReal[LPC_ORDER+pSettings->overlap], pSettings->nCols, dynamicScale-lowBandShif… in lppTransposer()
[all …]

123456789