Searched refs:gap (Results 1 - 25 of 117) sorted by relevance

12345

/external/syslinux/com32/lib/
H A Dqsort.c12 static inline size_t newgap(size_t gap) argument
14 gap = (gap * 10) / 13;
15 if (gap == 9 || gap == 10)
16 gap = 11;
18 if (gap < 1)
19 gap = 1;
20 return gap;
26 size_t gap local
[all...]
/external/brotli/c/enc/
H A Dentropy_encode.h104 size_t gap = gaps[g];
106 for (i = gap; i < n; ++i) {
109 for (; j >= gap && comparator(&tmp, &items[j - gap]); j -= gap) {
110 items[j] = items[j - gap];
H A Dbackward_references_inc.h30 const size_t gap = 0; local
47 max_length, max_distance, gap, &sr);
63 max_length, max_distance, gap, &sr2);
84 ComputeDistanceCode(sr.distance, max_distance + gap, dist_cache);
85 if ((sr.distance <= (max_distance + gap)) && distance_code > 0) {
H A Dmemory.c84 size_t gap = gaps[g]; local
86 for (i = gap; i < n; ++i) {
89 for (; j >= gap && tmp < items[j - gap]; j -= gap) {
90 items[j] = items[j - gap];
H A Dbackward_references_hq.c303 const size_t gap,
315 } else if (dist + clen <= block_start + pos + gap &&
316 dist <= max_backward + gap &&
354 const size_t gap, const int* starting_dist_cache,
359 block_start, pos, max_backward_limit, gap, nodes);
389 size_t gap = 0; local
391 EvaluateNode(block_start, pos, max_backward_limit, gap, starting_dist_cache,
425 if (BROTLI_PREDICT_FALSE(backward > max_distance + gap)) {
476 TO_BROTLI_BOOL(dist > max_distance + gap);
544 size_t gap local
300 ComputeDistanceShortcut(const size_t block_start, const size_t pos, const size_t max_backward, const size_t gap, const ZopfliNode* nodes) argument
352 EvaluateNode( const size_t block_start, const size_t pos, const size_t max_backward_limit, const size_t gap, const int* starting_dist_cache, const ZopfliCostModel* model, StartPosQueue* queue, ZopfliNode* nodes) argument
581 ZopfliIterate(size_t num_bytes, size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask, const BrotliEncoderParams* params, const size_t max_backward_limit, const size_t gap, const int* dist_cache, const ZopfliCostModel* model, const uint32_t* num_matches, const BackwardMatch* matches, ZopfliNode* nodes) argument
645 size_t gap = 0; local
730 size_t gap = 0; local
[all...]
/external/archive-patcher/shared/src/main/java/com/google/archivepatcher/shared/
H A DDeltaFriendlyFile.java89 long gap = rangeToUncompress.getOffset() - lastReadOffset;
90 if (gap > 0) {
92 oldFileRafis.setRange(lastReadOffset, gap);
/external/webrtc/talk/app/webrtc/
H A Ddtmfsender_unittest.cc77 DtmfInfo(int code, int duration, int gap) argument
80 gap(gap) {}
83 int gap; member in struct:FakeDtmfProvider::DtmfInfo
100 int gap = 0; variable
104 gap = static_cast<int>(rtc::Time() - last_insert_dtmf_call_);
110 << " gap=" << gap << "."; variable
111 dtmf_info_queue_.push_back(DtmfInfo(code, duration, gap));
163 // DtmfInfo's gap fiel
[all...]
/external/skia/gm/
H A Darithmode.cpp104 SkScalar gap = SkIntToScalar(WW + 20); local
109 canvas->translate(gap, 0);
111 canvas->translate(gap, 0);
118 canvas->translate(gap, 0);
136 canvas->translate(gap, 0);
138 canvas->translate(gap, 0);
148 canvas->translate(gap, 0);
H A Dcomposeshader.cpp308 const SkScalar gap = 4; local
309 SkRect r = SkRect::MakeWH(2 * gCellSize + gap, 2 * gCellSize + gap);
310 r.outset(gap + 1.5f, gap + 1.5f);
319 canvas->translate(gCellSize + gap, 0);
323 canvas->translate(0, gCellSize + gap);
/external/skqp/gm/
H A Darithmode.cpp104 SkScalar gap = SkIntToScalar(WW + 20); local
109 canvas->translate(gap, 0);
111 canvas->translate(gap, 0);
118 canvas->translate(gap, 0);
136 canvas->translate(gap, 0);
138 canvas->translate(gap, 0);
148 canvas->translate(gap, 0);
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/
H A DHolidayBorderPanel.java69 /** Default gap between border and contained component (5). */
82 private int gap; field in class:HolidayBorderPanel
97 gap = DEFAULT_GAP;
192 int dist = thickness + gap;
244 * Sets the gap between the border and the contained Component.
246 * @param gap The new gap, in pixels.
248 public HolidayBorderPanel setGap(int gap) { argument
250 if (gap > -1) {
251 this.gap
[all...]
/external/ltp/testcases/cve/
H A Dstack_clash.c21 * that there is at least 256 PAGE_SIZE of stack guard gap which is considered
153 unsigned long gap = GAP_PAGES * page_size; local
168 mapped_addr = stack_addr - gap - MAPPED_LEN;
170 mapped_addr = stack_addr + gap;
/external/javassist/src/main/javassist/bytecode/
H A DStackMapTable.java796 private int where, gap; field in class:StackMapTable.Shifter
801 public Shifter(StackMapTable smt, int where, int gap, boolean exclusive) { argument
805 this.gap = gap;
835 int newDelta = offsetDelta + gap;
836 position += gap;
850 private static byte[] insertGap(byte[] info, int where, int gap) { argument
852 byte[] newinfo = new byte[len + gap];
854 newinfo[i + (i < where ? 0 : gap)] = info[i];
882 int newDelta = offsetDelta + gap;
[all...]
H A DCodeIterator.java24 * same <code>Code_attribute</code>, then inserting a gap by one
308 * <p>An extra gap may be inserted at the end of the inserted
331 * <p>An extra gap may be inserted at the end of the inserted
356 * <p>An extra gap may be inserted at the end of the inserted
381 * <p>An extra gap may be inserted at the end of the inserted
404 * <p>An extra gap may be inserted at the end of the inserted
429 * <p>An extra gap may be inserted at the end of the inserted
466 * Inserts a gap
471 * The inserted gap is filled with NOP. The gap lengt
1448 int gap, defaultByte; field in class:CodeIterator.Switcher
[all...]
H A DStackMap.java382 private int where, gap; field in class:StackMap.Shifter
385 public Shifter(StackMap smt, int where, int gap, boolean exclusive) { argument
388 this.gap = gap;
394 ByteArray.write16bit(offset + gap, info, pos - 4);
/external/v8/src/
H A Djson-stringifier.cc92 Handle<Object> gap) {
94 if (!gap->IsUndefined(isolate_) && !InitializeGap(gap)) {
156 bool JsonStringifier::InitializeGap(Handle<Object> gap) { argument
159 if (gap->IsJSValue()) {
160 Handle<Object> value(Handle<JSValue>::cast(gap)->value(), isolate_);
162 ASSIGN_RETURN_ON_EXCEPTION_VALUE(isolate_, gap,
163 Object::ToString(isolate_, gap), false);
165 ASSIGN_RETURN_ON_EXCEPTION_VALUE(isolate_, gap, Object::ToNumber(gap),
90 Stringify(Handle<Object> object, Handle<Object> replacer, Handle<Object> gap) argument
[all...]
H A Djson-stringifier.h22 Handle<Object> gap);
28 bool InitializeGap(Handle<Object> gap);
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
H A DBarRenderer.java66 * Sets the size of the gap between the bar (or bar groups) when using the VARIABLE_WIDTH render style
162 // The default gap between each bar section
163 int gap = (int) barGap;
167 float f_rough_width = ((plotArea.width() - ((axisMap.size() - 1) * gap)) / (axisMap.size() - 1));
170 if (gap > rough_width) {
171 gap = rough_width / 2;
177 //Log.d("PARAMTER","GAP=" + gap);
198 if (barGroup.intX - barGroup.prev.intX - gap - 1 > (int)(rough_width * 1.5)) {
204 // base left off prev right to get the gap correct.
205 barGroup.leftX = barGroup.prev.rightX + gap
[all...]
/external/autotest/server/site_tests/hardware_StorageStress/
H A Dhardware_StorageStress.py26 def run_once(self, client_ip, gap=_TEST_GAP, duration=_TEST_DURATION,
36 @param gap: gap between each test (second) default = 1 min
99 time.sleep(gap)
/external/puffin/src/
H A Dutils.cc375 // there is a few bits gap between them. In practice this may never happen,
376 // but it is a good idea to support it anyways. If there is a gap, the value
377 // of the gap will be saved as an integer byte to the puff stream. The parts
379 int gap = 0;
383 // If deflates are on byte boundary the gap will not be counted later,
386 gap = 1;
394 // If there was no gap bits between the current and previous deflates, there
395 // will be no extra gap byte, so the offset will be shifted one byte back.
396 auto puff_offset = start_byte - gap + total_size_difference;
401 static_cast<int64_t>(puff_size) - deflate_length_in_bytes - gap;
[all...]
/external/skia/tools/flags/
H A DSkCommandLineFlags.cpp171 int gap; local
175 gap = 0;
178 gap = 1;
181 currLine += spaceIndex + gap;
/external/skqp/tools/flags/
H A DSkCommandLineFlags.cpp171 int gap; local
175 gap = 0;
178 gap = 1;
181 currLine += spaceIndex + gap;
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/
H A DContinuousOutputModel.java153 final double gap = model.getInitialTime() - current;
154 if (FastMath.abs(gap) > 1.0e-3 * FastMath.abs(step)) {
156 LocalizedFormats.HOLE_BETWEEN_MODELS_TIME_RANGES, FastMath.abs(gap));
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
H A DSICBlockCipher.java221 int gap = (int)(byteCount + n + (blockSize * numBlocks));
223 if (gap >= 0)
230 byteCount = blockSize + gap;
/external/compiler-rt/lib/msan/
H A Dmsan_linux.cc62 uptr gap = 16 * GetPageSizeCached(); local
63 beg += gap;
64 size -= gap;

Completed in 2165 milliseconds

12345