Home
last modified time | relevance | path

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

12345678

/external/icu/icu4c/source/common/
Dunisetspan.cpp652 int32_t overlap=spanLengths[i]; in span() local
653 if(overlap==ALL_CP_CONTAINED) { in span()
661 if(overlap>=LONG_SPAN) { in span()
662 overlap=length16; in span()
664 U16_BACK_1(s16, 0, overlap); // Length of the string minus the last code point. in span()
666 if(overlap>spanLength) { in span()
667 overlap=spanLength; in span()
669 int32_t inc=length16-overlap; // Keep overlap+inc==length16. in span()
675 … if(!offsets.containsOffset(inc) && matches16CPB(s, pos-overlap, length, s16, length16)) { in span()
681 if(overlap==0) { in span()
[all …]
Dutrie2_builder.cpp985 int32_t blockLength, overlap; in compactData() local
1039 for(overlap=blockLength-UTRIE2_DATA_GRANULARITY; in compactData()
1040 overlap>0 && !equal_uint32(trie->data+(newStart-overlap), trie->data+start, overlap); in compactData()
1041 overlap-=UTRIE2_DATA_GRANULARITY) {} in compactData()
1043 if(overlap>0 || newStart<start) { in compactData()
1045 movedStart=newStart-overlap; in compactData()
1052 start+=overlap; in compactData()
1053 for(i=blockLength-overlap; i>0; --i) { in compactData()
1091 int32_t i, start, newStart, movedStart, overlap; in compactIndex2() local
1125 for(overlap=UTRIE2_INDEX_2_BLOCK_LENGTH-1; in compactIndex2()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUnicodeSetStringSpan.java396 int overlap = spanLengths[i]; in spanWithStrings() local
397 if (overlap == ALL_CP_CONTAINED) { in spanWithStrings()
405 if (overlap >= LONG_SPAN) { in spanWithStrings()
406 overlap = length16; in spanWithStrings()
408overlap = string.offsetByCodePoints(overlap, -1); // Length of the string minus the last code in spanWithStrings()
411 if (overlap > spanLength) { in spanWithStrings()
412 overlap = spanLength; in spanWithStrings()
414 int inc = length16 - overlap; // Keep overlap+inc==length16. in spanWithStrings()
420 … if (!offsets.containsOffset(inc) && matches16CPB(s, pos - overlap, length, string, length16)) { in spanWithStrings()
426 if (overlap == 0) { in spanWithStrings()
[all …]
DTrie2Writable.java739 int blockLength, overlap; in compactData() local
792 for(overlap=blockLength-UTRIE2_DATA_GRANULARITY; in compactData()
793 overlap>0 && !equal_int(data, (newStart-overlap), start, overlap); in compactData()
794 overlap-=UTRIE2_DATA_GRANULARITY) {} in compactData()
796 if(overlap>0 || newStart<start) { in compactData()
798 movedStart=newStart-overlap; in compactData()
805 start+=overlap; in compactData()
806 for(i=blockLength-overlap; i>0; --i) { in compactData()
843 int i, start, newStart, movedStart, overlap; in compactIndex2() local
877 for(overlap=UTRIE2_INDEX_2_BLOCK_LENGTH-1; in compactIndex2()
[all …]
/external/icu/android_icu4j/src/main/java/android/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/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/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 …]
Ddng_gain_map.cpp550 dng_rect overlap = fAreaSpec.Overlap (dstArea); in ProcessArea() local
552 if (overlap.NotEmpty ()) in ProcessArea()
555 uint32 cols = overlap.W (); in ProcessArea()
567 for (int32 row = overlap.t; row < overlap.b; row += fAreaSpec.RowPitch ()) in ProcessArea()
570 real32 *dPtr = buffer.DirtyPixel_real32 (row, overlap.l, plane); in ProcessArea()
575 overlap.l, in ProcessArea()
/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/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.c106 const opus_val16 *window, int overlap, int shift, int stride) in clt_mdct_forward() argument
131 const kiss_fft_scalar * OPUS_RESTRICT xp1 = in+(overlap>>1); in clt_mdct_forward()
132 const kiss_fft_scalar * OPUS_RESTRICT xp2 = in+N2-1+(overlap>>1); in clt_mdct_forward()
134 const opus_val16 * OPUS_RESTRICT wp1 = window+(overlap>>1); in clt_mdct_forward()
135 const opus_val16 * OPUS_RESTRICT wp2 = window+(overlap>>1)-1; in clt_mdct_forward()
136 for(i=0;i<((overlap+3)>>2);i++) in clt_mdct_forward()
147 wp2 = window+overlap-1; in clt_mdct_forward()
148 for(;i<N4-((overlap+3)>>2);i++) in clt_mdct_forward()
212 const opus_val16 * OPUS_RESTRICT window, int overlap, int shift, int stride) in clt_mdct_backward() argument
252 opus_ifft(l->kfft[shift], (kiss_fft_cpx *)f2, (kiss_fft_cpx *)(out+(overlap>>1))); in clt_mdct_backward()
[all …]
Dcelt_decoder.c66 int overlap; member
108 + (channels*(DECODE_BUFFER_SIZE+mode->overlap)-1)*sizeof(celt_sig) in opus_custom_decoder_get_size()
155 st->overlap = mode->overlap; in opus_custom_decoder_init()
267 const int overlap = OVERLAP(mode); in compute_inv_mdcts() local
282 … clt_mdct_backward(&mode->mdct, &X[b+c*N*B], out_mem[c]+N*b, mode->window, overlap, shift, B); in compute_inv_mdcts()
344 int overlap; in celt_decode_lost() local
355 overlap = mode->overlap; in celt_decode_lost()
359 decode_mem[c] = st->_decode_mem + c*(DECODE_BUFFER_SIZE+overlap); in celt_decode_lost()
362 lpc = (opus_val16*)(st->_decode_mem+(DECODE_BUFFER_SIZE+overlap)*C); in celt_decode_lost()
435 DECODE_BUFFER_SIZE-N+(overlap>>1)); in celt_decode_lost()
[all …]
Dcelt.c116 const opus_val16 *window, int overlap) in comb_filter() argument
144 for (i=0;i<overlap;i++) in comb_filter()
166 OPUS_MOVE(y+overlap, x+overlap, N-overlap); in comb_filter()
Dmodes.c362 mode->overlap = ((mode->shortMdctSize>>2)<<2); in opus_custom_mode_create()
368 window = (opus_val16*)opus_alloc(mode->overlap*sizeof(opus_val16)); in opus_custom_mode_create()
373 for (i=0;i<mode->overlap;i++) in opus_custom_mode_create()
374 …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()
376 for (i=0;i<mode->overlap;i++) in opus_custom_mode_create()
377 …,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()
Dcelt_encoder.c60 int overlap; member
138 … + (channels*mode->overlap-1)*sizeof(celt_sig) /* celt_sig in_mem[channels*mode->overlap]; */ in opus_custom_encoder_get_size()
176 st->overlap = mode->overlap; in opus_custom_encoder_init_arch()
422 const int overlap = OVERLAP(mode); in compute_mdcts() local
441 …clt_mdct_forward(&mode->mdct, in+c*(B*N+overlap)+b*N, &out[b+c*N*B], mode->window, overlap, shift,… in compute_mdcts()
1030 OPUS_COPY(pre[c]+COMBFILTER_MAXPERIOD, in+c*(N+st->overlap)+st->overlap, N); in run_prefilter()
1103 int offset = mode->shortMdctSize-st->overlap; in run_prefilter()
1105 OPUS_COPY(in+c*(N+st->overlap), st->in_mem+c*(st->overlap), st->overlap); in run_prefilter()
1107 comb_filter(in+c*(N+st->overlap)+st->overlap, pre[c]+COMBFILTER_MAXPERIOD, in run_prefilter()
1111 comb_filter(in+c*(N+st->overlap)+st->overlap+offset, pre[c]+COMBFILTER_MAXPERIOD+offset, in run_prefilter()
[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 …]
Dsbr_dec.cpp121 for(slot=0; slot<hSbrDec->LppTrans.pSettings->overlap; slot++) { in assignLcTimeSlots()
143 int halflen = (noCols >> 1) + hSbrDec->LppTrans.pSettings->overlap; in assignHqTimeSlots()
144 int totCols = noCols + hSbrDec->LppTrans.pSettings->overlap; in assignHqTimeSlots()
148 for(slot=0; slot<hSbrDec->LppTrans.pSettings->overlap; slot++) { in assignHqTimeSlots()
356 ov_len = hSbrDec->LppTrans.pSettings->overlap; in sbr_dec()
575 hSbrDec->LppTrans.pSettings->overlap, in sbr_dec()
745 if (hSbrDec->LppTrans.pSettings->overlap > 0) in sbr_dec()
748 for ( i=0; i<hSbrDec->LppTrans.pSettings->overlap; i++ ) { in sbr_dec()
753 for ( i=0; i<hSbrDec->LppTrans.pSettings->overlap; i++ ) { in sbr_dec()
777 const int overlap, in createSbrDec() argument
[all …]
/external/libvpx/libvpx/vp8/decoder/
Derror_concealment.c72 int overlap) in assign_overlap() argument
75 if (overlap <= 0) in assign_overlap()
84 overlaps[i].overlap = overlap; in assign_overlap()
161 const int overlap = block_overlap(new_row, new_col, in calculate_overlaps_mb() local
166 assign_overlap(b_ol_ul[row * 4 + col].overlaps, bmi, overlap); in calculate_overlaps_mb()
260 col_acc += overlaps[i].overlap * overlaps[i].bmi->mv.as_mv.col; in estimate_mv()
261 row_acc += overlaps[i].overlap * overlaps[i].bmi->mv.as_mv.row; in estimate_mv()
262 overlap_sum += overlaps[i].overlap; in estimate_mv()
/external/tpm2/
DSession.c598 INT16 overlap; in SessionComputeBoundEntity() local
609 overlap = bind->t.size + auth.t.size - sizeof(bind->t.name); in SessionComputeBoundEntity()
611 if(overlap > 0) in SessionComputeBoundEntity()
614 BYTE *result = &bind->t.name[bind->t.size - overlap]; in SessionComputeBoundEntity()
617 for(i = 0; i < overlap; i++) in SessionComputeBoundEntity()
623 overlap = 0; in SessionComputeBoundEntity()
626 MemoryCopy(&bind->t.name[bind->t.size], &auth.t.buffer[overlap], in SessionComputeBoundEntity()
627 auth.t.size - overlap, sizeof(bind->t.name) - bind->t.size); in SessionComputeBoundEntity()
629 bind->t.size += auth.t.size-overlap; in SessionComputeBoundEntity()
/external/fio/lib/
Daxmap.c220 unsigned long mask, overlap; in axmap_set_fn() local
230 overlap = al->map[offset] & mask; in axmap_set_fn()
231 if (overlap == mask) in axmap_set_fn()
234 while (overlap) { in axmap_set_fn()
235 unsigned long clear_mask = ~(1UL << ffz(~overlap)); in axmap_set_fn()
238 overlap &= clear_mask; in axmap_set_fn()

12345678