Searched refs:offsets (Results 151 - 175 of 481) sorted by relevance

1234567891011>>

/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_state_so.c66 const unsigned *offsets)
63 softpipe_set_so_targets(struct pipe_context *pipe, unsigned num_targets, struct pipe_stream_output_target **targets, const unsigned *offsets) argument
/external/mesa3d/src/gallium/state_trackers/clover/llvm/
H A Dcodegen.hpp67 const std::map<std::string, unsigned> &offsets,
/external/flatbuffers/java/com/google/flatbuffers/
H A DFlatBufferBuilder.java49 int[] vtables = new int[16]; // List of offsets of all vtables.
321 * int[] offsets = new int[10];
324 * offsets[i] = fbb.createString(" " + i);
329 * builder.startVector(4, offsets.length, 4);
334 * for (int i = offsets.length - 1; i >= 0; i--) {
335 * builder.addOffset(offsets[i]);
395 * @param offsets Offsets of the tables.
398 public int createVectorOfTables(int[] offsets) { argument
400 startVector(Constants.SIZEOF_INT, offsets.length, Constants.SIZEOF_INT);
401 for(int i = offsets
412 createSortedVectorOfTables(T obj, int[] offsets) argument
[all...]
/external/icu/icu4c/source/common/
H A Dlistformatter.cpp324 int32_t offsets[2]; local
329 offsets,
330 UPRV_LENGTHOF(offsets),
335 if (offsets[0] == -1 || offsets[1] == -1) {
340 offset = offsets[1];
342 offset += offsets[0];
H A Ducnv_ext.h357 int32_t **offsets, int32_t srcIndex,
377 int32_t **offsets, int32_t srcIndex,
/external/mesa3d/src/gallium/drivers/swr/
H A Dswr_draw.cpp104 uint32_t offsets[MAX_SO_STREAMS] = {0}; local
110 if (so->output[i].dst_offset != offsets[output_buffer]) {
115 (1 << (so->output[i].dst_offset - offsets[output_buffer]))
118 offsets[output_buffer] = so->output[i].dst_offset;
129 offsets[output_buffer] += so->output[i].num_components;
/external/pdfium/core/fxge/ge/
H A Dcfx_folderfontinfo.cpp175 uint8_t* offsets = FX_Alloc(uint8_t, face_bytes); local
176 readCnt = FXSYS_fread(offsets, 1, face_bytes, pFile);
178 FX_Free(offsets);
183 uint8_t* p = offsets + i * 4;
186 FX_Free(offsets);
/external/skia/gm/
H A Dxfermodeimagefilter.cpp114 // Test offsets on SrcMode (uses fixed-function blend)
133 // Test offsets on Darken (uses shader blend)
149 int offsets[nbSamples][4] = {{ 10, 10, -16, -16}, variable
153 SkIRect cropRect = SkIRect::MakeXYWH(offsets[i][0],
154 offsets[i][1],
155 fBitmap.width() + offsets[i][2],
156 fBitmap.height() + offsets[i][3]);
/external/skia/src/gpu/glsl/
H A DGrGLSLFragmentShaderBuilder.cpp305 SkSTArray<16, SkPoint, true> offsets; local
306 offsets.push_back_n(specs.fEffectiveSampleCnt);
307 m.mapPoints(offsets.begin(), specs.fSampleLocations, specs.fEffectiveSampleCnt);
310 this->definitions().appendf("vec2(%f, %f)", offsets[i].x(), offsets[i].y());
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
H A DCharsetISCII.java829 protected CoderResult decodeLoop(ByteBuffer source, CharBuffer target, IntBuffer offsets, boolean flush) { argument
888 cr = WriteToTargetToU(offsets, (source.position() - 1), source, target, data.prevToUnicodeStatus, (short)0);
892 cr = WriteToTargetToU(offsets, (source.position() - 2), source, target, targetUniChar, data.currentDeltaToUnicode);
915 cr = WriteToTargetToU(offsets, (source.position() - 1), source, target, data.prevToUnicodeStatus, (short)0);
920 cr = WriteToTargetToU(offsets, (source.position() - 2), source, target, targetUniChar, data.currentDeltaToUnicode);
936 cr = WriteToTargetToU(offsets, (source.position() - 1), source, target, data.prevToUnicodeStatus, (short)0);
939 cr = WriteToTargetToU(offsets, (source.position() - 2), source, target, this.toUnicodeStatus, data.currentDeltaToUnicode);
1008 cr = WriteToTargetToU(offsets, (source.position() - 2), source, target, PNJ_RRA, (short)0);
1010 cr = WriteToTargetToU(offsets, (source.position() - 2), source, target, PNJ_SIGN_VIRAMA, (short)0);
1012 cr = WriteToTargetToU(offsets, (sourc
1150 WriteToTargetToU(IntBuffer offsets, int offset, ByteBuffer source, CharBuffer target, int targetUniChar, short delta) argument
1208 encodeLoop(CharBuffer source, ByteBuffer target, IntBuffer offsets, boolean flush) argument
1379 WriteToTargetFromU(IntBuffer offsets, CharBuffer source, ByteBuffer target, int targetByteUnit) argument
[all...]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
H A DTimeZoneRuleTest.java131 int[] offsets = new int[2];
151 rbtz1.getOffset(cal.getTimeInMillis(), true, offsets);
152 if (offsets[0] != -3600000) {
153 errln("FAIL: Invalid time zone raw offset: " + offsets[0] + " /expected: -3600000");
155 if (offsets[1] != 3600000) {
156 errln("FAIL: Invalid DST amount: " + offsets[1] + " /expected: 3600000");
172 rbtz1.getOffset(cal.getTimeInMillis(), true, offsets);
173 if (offsets[0] != -3600000) {
174 errln("FAIL: Invalid time zone raw offset: " + offsets[0] + " /expected: -3600000");
176 if (offsets[
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
H A DTimeZoneRuleTest.java130 int[] offsets = new int[2];
150 rbtz1.getOffset(cal.getTimeInMillis(), true, offsets);
151 if (offsets[0] != -3600000) {
152 errln("FAIL: Invalid time zone raw offset: " + offsets[0] + " /expected: -3600000");
154 if (offsets[1] != 3600000) {
155 errln("FAIL: Invalid DST amount: " + offsets[1] + " /expected: 3600000");
171 rbtz1.getOffset(cal.getTimeInMillis(), true, offsets);
172 if (offsets[0] != -3600000) {
173 errln("FAIL: Invalid time zone raw offset: " + offsets[0] + " /expected: -3600000");
175 if (offsets[
[all...]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
H A DCollationIteratorTest.java720 private int[] offsets;
723 offsets = offs;
726 public int[] getOffsets() { return offsets; }
744 int[] offsets = tsceItem.getOffsets();
745 int ioff, noff = offsets.length;
757 if ( offset != offsets[ioff] ) {
758 errln("Error: in locale " + localeString + ", expected CEIterator next()->getOffset " + offsets[ioff] + ", got " + offset);
782 if ( offset != offsets[ioff] ) {
783 errln("Error: in locale " + localeString + ", expected CEIterator previous()->getOffset " + offsets[ioff] + ", got " + offset);
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
H A DCollationIteratorTest.java719 private int[] offsets;
722 offsets = offs;
725 public int[] getOffsets() { return offsets; }
743 int[] offsets = tsceItem.getOffsets();
744 int ioff, noff = offsets.length;
756 if ( offset != offsets[ioff] ) {
757 errln("Error: in locale " + localeString + ", expected CEIterator next()->getOffset " + offsets[ioff] + ", got " + offset);
781 if ( offset != offsets[ioff] ) {
782 errln("Error: in locale " + localeString + ", expected CEIterator previous()->getOffset " + offsets[ioff] + ", got " + offset);
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
H A Dir3_shader.c533 uint32_t offsets[params]; local
542 offsets[i] = cb->buffer_offset;
545 offsets[i] = 0;
551 ctx->emit_const_bo(ring, v->type, false, offset * 4, params, prscs, offsets);
589 uint32_t offsets[params]; local
596 offsets[i] = (so->offsets[i] * info->stride[i] * 4) +
600 offsets[i] = 0;
606 ctx->emit_const_bo(ring, v->type, true, offset * 4, params, prscs, offsets);
628 * total_vtxcnt = vtxcnt + offsets[
[all...]
/external/tremolo/Tremolo/
H A Dvorbisfile.c246 vf->offsets=_ogg_malloc((vf->links+1)*sizeof(*vf->offsets));
248 vf->offsets[m+1]=searched;
256 vf->offsets[m]=begin;
351 _seek_helper(vf,vf->offsets[link]);
365 if(pos<vf->offsets[link] || pos>=vf->offsets[link+1])
397 _seek_helper(vf,vf->offsets[i]);
457 ogg_int64_t end=vf->offsets[i+1];
485 if(vf->offsets[
[all...]
/external/icu/icu4c/source/test/cintltst/
H A Dncnvtst.c165 int32_t offsets[] = {0x00, 0x00, 0x01, 0x01, 0x03, 0x03 }; local
172 expected, sizeof(expected), "ibm-1363", offsets , TRUE, U_ZERO_ERROR))
179 expected, sizeof(expected), "ibm-1363", offsets, TRUE, U_ZERO_ERROR))
191 int32_t offsets[] = {0,0,0,0,0,1,1,2,2,2,2,3,5 }; local
198 expected, sizeof(expected), "iso-2022-jp", offsets , TRUE, U_ZERO_ERROR))
220 static const int32_t offsets[] = {
232 expected, sizeof(expected), "iso-2022-cn", offsets , TRUE, U_ZERO_ERROR))
250 static const int32_t offsets[] = {-1, -1, -1, -1, local
264 expected, sizeof(expected), "iso-2022-kr", offsets , TRUE, U_ZERO_ERROR))
280 static const int32_t offsets[] local
301 static const int32_t offsets[]={0x00, 0x00, 0x00, 0x01, 0x01, 0x02, local
380 static const int32_t offsets[] = { 0x00, 0x00}; local
458 static const int32_t offsets[] = { 0x00, 1}; local
555 static const int32_t offsets[] = { -1, -1, -1, -1, 0x00, 1}; local
596 static const int32_t offsets[] = { 0x00, 0x00, 0x00, 1}; local
1539 static const int32_t offsets[] = {0x00, 0x00, 0x01, 0x01, 0x03, 0x03 }; local
1581 static const int32_t offsets[] = {0,0,0,0,0,1,1,2,2,2,2,3,5 }; local
1666 static const int32_t offsets[] = {-1, -1, -1, -1, local
1714 static const int32_t offsets[] = {0,0,0,0, local
1751 int32_t offsets[]={0x00, 0x00, 0x00, 0x01, 0x01, 0x02, local
[all...]
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
H A DCollationIterator.java308 public final long previousCE(UVector32 offsets) { argument
313 offsets.removeAllElements();
318 return previousCEUnsafe(c, offsets);
335 offsets.addElement(getOffset());
338 while(offsets.size() <= ceBuffer.length) {
339 offsets.addElement(limitOffset);
899 private final long previousCEUnsafe(int c, UVector32 offsets) { argument
942 // intermediate offsets from the unsafe-backwards segment.
943 assert(offsets.size() < ceBuffer.length);
944 offsets
[all...]
/external/icu/icu4c/source/i18n/
H A Dcollationiterator.cpp842 CollationIterator::previousCE(UVector32 &offsets, UErrorCode &errorCode) { argument
847 offsets.removeAllElements();
852 return previousCEUnsafe(c, offsets, errorCode);
870 offsets.addElement(getOffset(), errorCode);
873 while(offsets.size() <= ceBuffer.length) {
874 offsets.addElement(limitOffset, errorCode);
884 CollationIterator::previousCEUnsafe(UChar32 c, UVector32 &offsets, UErrorCode &errorCode) { argument
927 // intermediate offsets from the unsafe-backwards segment.
928 U_ASSERT(offsets.size() < ceBuffer.length);
929 offsets
[all...]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
H A DCollationIterator.java306 public final long previousCE(UVector32 offsets) { argument
311 offsets.removeAllElements();
316 return previousCEUnsafe(c, offsets);
333 offsets.addElement(getOffset());
336 while(offsets.size() <= ceBuffer.length) {
337 offsets.addElement(limitOffset);
897 private final long previousCEUnsafe(int c, UVector32 offsets) { argument
940 // intermediate offsets from the unsafe-backwards segment.
941 assert(offsets.size() < ceBuffer.length);
942 offsets
[all...]
/external/deqp/modules/gles2/stress/
H A Des2sDrawTests.cpp112 int offsets[3]; member in struct:deqp::gles2::Stress::__anon4479::IndexTest
143 for (int iterationNdx = 0; iterationNdx < DE_LENGTH_OF_ARRAY(indexTest.offsets) && indexTest.offsets[iterationNdx] != -1; ++iterationNdx)
145 const std::string iterationDesc = std::string("offset ") + de::toString(indexTest.offsets[iterationNdx]);
146 spec.indexPointerOffset = indexTest.offsets[iterationNdx];
230 const int offsets[] = { 0, 1, 5, 12 }; local
337 attribSpec.offset = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(offsets), DE_ARRAY_END(offsets), offsetWeights);
/external/mesa3d/docs/specs/
H A DMESA_agp_offset.spec36 region into byte offsets into the AGP aperture.
/external/deqp/framework/common/
H A DtcuTexture.hpp451 Vec4 gatherArray2DOffsets (const ConstPixelBufferAccess& src, const Sampler& sampler, float s, float t, int depth, int componentNdx, const IVec2 (&offsets)[4]);
452 Vec4 gatherArray2DOffsetsCompare (const ConstPixelBufferAccess& src, const Sampler& sampler, float ref, float s, float t, int depth, const IVec2 (&offsets)[4]);
557 Vec4 gatherOffsets (const Sampler& sampler, float s, float t, int componentNdx, const IVec2 (&offsets)[4]) const;
558 Vec4 gatherOffsetsCompare(const Sampler& sampler, float ref, float s, float t, const IVec2 (&offsets)[4]) const;
592 inline Vec4 Texture2DView::gatherOffsets (const Sampler& sampler, float s, float t, int componentNdx, const IVec2 (&offsets)[4]) const
594 return gatherArray2DOffsets(m_levels[0], sampler, s, t, 0, componentNdx, offsets);
597 inline Vec4 Texture2DView::gatherOffsetsCompare (const Sampler& sampler, float ref, float s, float t, const IVec2 (&offsets)[4]) const
599 return gatherArray2DOffsetsCompare(m_levels[0], sampler, ref, s, t, 0, offsets);
713 Vec4 gatherOffsets (const Sampler& sampler, float s, float t, int componentNdx, const IVec2 (&offsets)[4]) const;
714 Vec4 gatherOffsetsCompare(const Sampler& sampler, float ref, float s, float t, const IVec2 (&offsets)[
[all...]
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRenderTextureGatherTests.cpp541 // Whether offsets correspond to the sample offsets used with plain textureGather().
542 static inline bool isZeroOffsetOffsets (const IVec2 (&offsets)[4])
546 return std::equal(DE_ARRAY_BEGIN(offsets),
547 DE_ARRAY_END(offsets),
553 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::Texture2DView& texture, const tcu::Sampler& sampler, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4]) argument
555 return texture.gatherOffsets(sampler, coord.x(), coord.y(), componentNdx, offsets).cast<ColorScalarType>();
559 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::Texture2DArrayView& texture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4]) argument
561 return texture.gatherOffsets(sampler, coord.x(), coord.y(), coord.z(), componentNdx, offsets).cast<ColorScalarType>();
565 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::TextureCubeView& texture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[ argument
572 gatherOffsetsCompare(const tcu::Texture2DView& texture, const tcu::Sampler& sampler, float refZ, const Vec2& coord, const IVec2 (&offsets)[4]) argument
577 gatherOffsetsCompare(const tcu::Texture2DArrayView& texture, const tcu::Sampler& sampler, float refZ, const Vec3& coord, const IVec2 (&offsets)[4]) argument
582 gatherOffsetsCompare(const tcu::TextureCubeView& texture, const tcu::Sampler& sampler, float refZ, const Vec3& coord, const IVec2 (&offsets)[4]) argument
590 isGatherOffsetsResultValid(const tcu::TextureCubeView& texture, const tcu::Sampler& sampler, const PrecType& prec, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4], const tcu::Vector<ColorScalarT, 4>& result) argument
603 isGatherOffsetsCompareResultValid(const tcu::TextureCubeView& texture, const tcu::Sampler& sampler, const tcu::TexComparePrecision& prec, const Vec3& coord, const IVec2 (&offsets)[4], float cmpReference, const Vec4& result) argument
640 IVec2 offsets[4]; local
641 getPixelOffsets(IVec2(px, py), offsets); local
718 IVec2 offsets[4]; local
719 getPixelOffsets(IVec2(px, py), offsets); local
810 IVec2 offsets[4]; // \\note Unless GATHERTYPE_OFFSETS is used, only offsets[0] is relevant; also, for GATHERTYPE_OFFSET_DYNAMIC, none are relevant. member in struct:vkt::sr::__anon3991::GatherArgs
[all...]
/external/flatbuffers/net/FlatBuffers/
H A DFlatBufferBuilder.cs43 // List of offsets of all vtables.
302 /// <param name="offsets">Offsets of the tables.</param>
303 public VectorOffset CreateVectorOfTables<T>(Offset<T>[] offsets) where T : struct
306 StartVector(sizeof(int), offsets.Length, sizeof(int));
307 for (int i = offsets.Length - 1; i >= 0; i--) AddOffset(offsets[i].Value);

Completed in 989 milliseconds

1234567891011>>