Home
last modified time | relevance | path

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

123456

/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/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/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 …]
Dmodes.h43 #define OVERLAP(mode) ((mode)->overlap)
62 int overlap; member
Dmdct.h62 const opus_val16 *window, int overlap, int shift, int stride);
68 const opus_val16 * OPUS_RESTRICT window, int overlap, int shift, int stride);
/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()
338 ov_len = hSbrDec->LppTrans.pSettings->overlap; in sbr_dec()
530 hSbrDec->LppTrans.pSettings->overlap, in sbr_dec()
700 if (hSbrDec->LppTrans.pSettings->overlap > 0) in sbr_dec()
703 for ( i=0; i<hSbrDec->LppTrans.pSettings->overlap; i++ ) { in sbr_dec()
708 for ( i=0; i<hSbrDec->LppTrans.pSettings->overlap; i++ ) { in sbr_dec()
732 const int overlap, in createSbrDec() argument
[all …]
Denv_extr.cpp160 static int checkFrameInfo (FRAME_INFO *pFrameInfo, int numberOfTimeSlots, int overlap, int timeStep…
482 const int overlap in sbrGetSingleChannelElement() argument
510 …if ( !checkFrameInfo (&hFrameData->frameInfo, hHeaderData->numberTimeSlots, overlap, hHeaderData->… in sbrGetSingleChannelElement()
561 const int overlap ) in sbrGetChannelPairElement() argument
591 …if ( !checkFrameInfo (&hFrameDataLeft->frameInfo, hHeaderData->numberTimeSlots, overlap, hHeaderDa… in sbrGetChannelPairElement()
602 …if ( !checkFrameInfo (&hFrameDataRight->frameInfo, hHeaderData->numberTimeSlots, overlap, hHeaderD… in sbrGetChannelPairElement()
1315 int overlap, /*!< Amount of overlap QMF time slots */ in checkFrameInfo() argument
1339 if (overlap < 0 || overlap > (6)) { in checkFrameInfo()
1345 maxPos = numberOfTimeSlots + (overlap/timeStep); in checkFrameInfo()
/external/libvpx/libvpx/vp8/decoder/
Derror_concealment.c71 int overlap) in assign_overlap() argument
74 if (overlap <= 0) in assign_overlap()
83 overlaps[i].overlap = overlap; in assign_overlap()
160 const int overlap = block_overlap(new_row, new_col, in calculate_overlaps_mb() local
165 assign_overlap(b_ol_ul[row * 4 + col].overlaps, bmi, overlap); in calculate_overlaps_mb()
259 col_acc += overlaps[i].overlap * overlaps[i].bmi->mv.as_mv.col; in estimate_mv()
260 row_acc += overlaps[i].overlap * overlaps[i].bmi->mv.as_mv.row; in estimate_mv()
261 overlap_sum += overlaps[i].overlap; in estimate_mv()
/external/openfst/src/include/fst/
Dinterval-set.h300 bool overlap = false; // point in both intervals_ and intervals in StrictlyOverlaps() local
310 overlap = true; in StrictlyOverlaps()
315 overlap = true; in StrictlyOverlaps()
319 overlap = true; in StrictlyOverlaps()
324 overlap = true; in StrictlyOverlaps()
326 if (only1 == true && only2 == true && overlap == true) in StrictlyOverlaps()
334 return only1 == true && only2 == true && overlap == true; in StrictlyOverlaps()
/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()
/external/aac/libFDK/include/
Dmdct.h117 } overlap; /**< Pointer to overlap memory */ member
139 FIXP_DBL *overlap,
/external/skia/tests/
DPathOpsAngleIdeas.cpp441 int overlap = quadHullsOverlap(reporter, quad1, quad2); in testQuadAngles() local
442 bool realMatchesOverlap = realOverlap == overlap || SK_ScalarPI - fabs(a2s - a1s) < 0.002; in testQuadAngles()
443 if (realOverlap != overlap) { in testQuadAngles()
450 if (oldSchoolOverlap != (overlap < 0)) { in testQuadAngles()
451overlap = quadHullsOverlap(reporter, quad1, quad2); // set a breakpoint and debug if assert fires in testQuadAngles()
452 REPORTER_ASSERT(reporter, oldSchoolOverlap == (overlap < 0)); in testQuadAngles()
461 if (overlap >= 0) { in testQuadAngles()
470 bruteForce(reporter, quad1, quad2, overlap > 0); in testQuadAngles()
542 } else if (overlap >= 0) { in testQuadAngles()
547 if (overlap < 0) { in testQuadAngles()
[all …]

123456