/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/ |
ShaderLoader.java | 41 StringBuilder out = new StringBuilder();
local 42 load(out, vertex);
43 vertex = out.toString();
45 out.setLength(0);
46 load(out, fragment);
47 fragment = out.toString();
53 StringBuilder out = new StringBuilder();
local 54 load(out, name);
56 return out.toString();
59 protected void load (final StringBuilder out, final String name) { [all...] |
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/shadows/utils/ |
BoundingSphereDirectionalAnalyzer.java | 33 public Camera analyze (DirectionalLight light, Camera out, Camera mainCamera) { 51 // Position out camera 52 out.direction.set(light.direction); 53 out.position.set(tmpV.sub(tmpV2)); 56 out.near = 0.5f * radius; 57 out.far = 2.5f * radius; 62 out.up.set(-light.direction.y, light.direction.x, light.direction.z); 64 out.up.set(light.direction.x, -light.direction.z, light.direction.y); 67 out.viewportWidth = radius; 68 out.viewportHeight = radius [all...] |
/external/libopus/celt/ |
opus_custom_demo.c | 25 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 61 opus_int16 *in, *out; local 129 out = (opus_int16*)malloc(frame_size*channels*sizeof(opus_int16)); 168 ret = opus_custom_decode(dec, NULL, len, out, frame_size); 170 ret = opus_custom_decode(dec, data, len, out, frame_size); 175 out[i] = in[i]; 180 rmsd += (in[i]-out[i])*1.0*(in[i]-out[i]); 181 /*out[i] -= in[i];*/ 185 fwrite(out+skip*channels, sizeof(short), (ret-skip)*channels, fout) [all...] |
/external/libopus/celt/tests/ |
test_unit_dft.c | 24 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 54 void check(kiss_fft_cpx * in,kiss_fft_cpx * out,int nfft,int isinverse) 82 difr = ansr - out[bin].r; 83 difi = ansi - out[bin].i; 100 kiss_fft_cpx * out= (kiss_fft_cpx*)malloc(buflen); local 125 opus_ifft(cfg,in,out); 127 opus_fft(cfg,in,out); 129 /*for (k=0;k<nfft;++k) printf("%d %d ", out[k].r, out[k].i);printf("\n");*/ 131 check(in,out,nfft,isinverse) [all...] |
test_unit_mdct.c | 24 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 54 void check(kiss_fft_scalar * in,kiss_fft_scalar * out,int nfft,int isinverse) 71 /*printf ("%f %f\n", ansr, out[bin]);*/ 72 difr = ansr - out[bin]; 84 void check_inv(kiss_fft_scalar * in,kiss_fft_scalar * out,int nfft,int isinverse) 101 /*printf ("%f %f\n", ansr, out[bin]);*/ 102 difr = ansr - out[bin]; 122 kiss_fft_scalar * out= (kiss_fft_scalar*)malloc(buflen); local 152 out[k] = 0; 153 clt_mdct_backward(&cfg,in,out, window, nfft/2, 0, 1) [all...] |
/external/libopus/doc/ |
trivial_example.c | 23 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 55 opus_int16 out[MAX_FRAME_SIZE*CHANNELS]; local 138 frame_size = opus_decode(decoder, cbits, nbBytes, out, MAX_FRAME_SIZE, 0); 148 pcm_bytes[2*i]=out[i]&0xFF; 149 pcm_bytes[2*i+1]=(out[i]>>8)&0xFF;
|
/external/libpng/ |
pngwtran.c | 231 unsigned int v, out; local 234 out = 0; 239 out |= v << j; 242 out |= (v >> (-j)) & mask; 245 *bp = (png_byte)(out & 0xff); 260 unsigned int v, out; local 263 out = 0; 268 out |= v << j; 271 out |= v >> (-j); 274 *bp = (png_byte)(out & 0xff) [all...] |
/external/libvpx/libvpx/vpx_dsp/arm/ |
idct16x16_1_add_neon.c | 26 int16_t out = dct_const_round_shift(input[0] * cospi_16_64); local 27 out = dct_const_round_shift(out * cospi_16_64); 28 a1 = ROUND_POWER_OF_TWO(out, 6);
|
idct32x32_1_add_neon.c | 126 int16_t out = dct_const_round_shift(input[0] * cospi_16_64); local 128 out = dct_const_round_shift(out * cospi_16_64); 129 a1 = ROUND_POWER_OF_TWO(out, 6);
|
idct8x8_1_add_neon.c | 26 int16_t out = dct_const_round_shift(input[0] * cospi_16_64); local 27 out = dct_const_round_shift(out * cospi_16_64); 28 a1 = ROUND_POWER_OF_TWO(out, 5);
|
/external/libxml2/ |
testC14N.c | 199 xmlChar **out = NULL; local 221 out = buffer; 224 if (out - buffer > buffer_size - 10) { 225 int indx = out - buffer; 228 out = &buffer[indx]; 230 (*out++) = str; 234 (*out) = NULL;
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/index/ |
IndexEncoder.java | 33 public void encode(OutputStream out) throws IOException { 35 CheckedOutputStream outChecked = new CheckedOutputStream(out, crc32); 57 out.write((byte)(value >>> (i * 8)));
|
/external/lzma/xz-embedded/ |
xz.h | 131 * @out: Beginning of the output buffer. This may be NULL if and only 137 * Only the contents of the output buffer from out[out_pos] onward, and 145 uint8_t *out; member in struct:xz_buf 181 * risk that xz_dec_run() could run out of memory, since xz_dec_run() will 192 * system out of memory when decompressing streams from untrusted sources. 210 * contents of the output buffer from b->out[b->out_pos] onward are
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_cliptest_tmp.h | 23 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 33 struct vertex_header *out = info->verts; local 54 float *position = out->data[pos]; 57 initialize_vertex_header(out); 64 clipvertex = out->data[cv]; 67 out->clip[i] = clipvertex[i]; 68 out->pre_clip_pos[i] = position[i]; 113 out->have_clipdist = 1; 116 clipdist = out->data[cd[0]][i]; 118 clipdist = out->data[cd[1]][i-4] [all...] |
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/ |
FileEntry.java | 35 private ByteArrayOutputStream out;
field in class:FileEntry 125 if (append && out != null) {
126 return out;
129 out = new ByteArrayOutputStream();
132 out.write(initialContents);
137 return out;
164 return (out != null) ? out.toByteArray() : bytes;
176 this.out = null;
|
/external/mockito/cglib-and-asm/src/org/mockito/asm/ |
Attribute.java | 27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
236 * @param out where the attributes must be written.
244 final ByteVector out)
249 out.putShort(cw.newUTF8(attr.type)).putInt(b.length);
250 out.putByteArray(b.data, 0, b.length);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
SLConfigDescriptor.java | 81 ByteBuffer out = ByteBuffer.allocate(3);
local 82 IsoTypeWriter.writeUInt8(out, 6);
83 IsoTypeWriter.writeUInt8(out, 1);
84 IsoTypeWriter.writeUInt8(out, predefined);
85 return out;
|
/external/objenesis/tck/src/org/objenesis/tck/ |
CandidateLoader.java | 54 private final PrintStream out; field in class:CandidateLoader.LoggingErrorHandler 57 * @param out Stream in which to log 59 public LoggingErrorHandler(PrintStream out) { 60 this.out = out; 64 out.println("Class not found : " + name);
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
FormEncodingBuilderTest.java | 37 Buffer out = new Buffer(); local 38 formEncoding.writeTo(out); 39 assertEquals(expected, out.readUtf8()); 50 Buffer out = new Buffer(); local 51 formEncoding.writeTo(out); 52 assertEquals(expected, out.readUtf8());
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
Spdy3Test.java | 97 Buffer out = new Buffer(); local 98 new Spdy3.Writer(out, true).goAway(lastGoodStreamId, errorCode, debugData); 99 return out;
|
/external/opencv3/3rdparty/zlib/ |
inffast.c | 33 Decode literal, length, and distance codes and write out the resulting 50 LEN -- ran out of enough output space or enough available input 74 unsigned char FAR *out; /* local strm->next_out */ local 76 unsigned char FAR *end; /* while out < end, enough space available */ 101 out = strm->next_out - OFF; 102 beg = out - (start - strm->avail_out); 103 end = out + (strm->avail_out - 257); 137 PUP(out) = (unsigned char)(here.val); 186 op = (unsigned)(out - beg); /* max distance in output */ 199 PUP(out) = 0 [all...] |
/external/owasp/sanitizer/src/main/org/owasp/html/ |
PolicyFactory.java | 26 // ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 69 /** Produces a sanitizer that emits tokens to {@code out}. */ 70 public HtmlSanitizer.Policy apply(@Nonnull HtmlStreamEventReceiver out) { 72 out, policies, textContainers); 76 * Produces a sanitizer that emits tokens to {@code out} and that notifies 78 * @param out a renderer that receives approved tokens only. 87 HtmlStreamEventReceiver out, @Nullable HtmlChangeListener<CTX> listener, 90 return apply(out); 93 out, listener, context); 120 StringBuilder out = new StringBuilder(html.length()) local [all...] |
/external/pdfium/third_party/freetype/src/base/ |
ftgloadr.c | 376 FT_Outline* out = &target->base.outline; local 380 FT_ARRAY_COPY( out->points, in->points, 382 FT_ARRAY_COPY( out->tags, in->tags, 384 FT_ARRAY_COPY( out->contours, in->contours, 396 out->n_points = (short)num_points; 397 out->n_contours = (short)num_contours;
|
/external/pdfium/third_party/zlib_v128/ |
inffast.c | 33 Decode literal, length, and distance codes and write out the resulting 50 LEN -- ran out of enough output space or enough available input 74 unsigned char FAR *out; /* local strm->next_out */ local 76 unsigned char FAR *end; /* while out < end, enough space available */ 101 out = strm->next_out - OFF; 102 beg = out - (start - strm->avail_out); 103 end = out + (strm->avail_out - 257); 137 PUP(out) = (unsigned char)(here.val); 186 op = (unsigned)(out - beg); /* max distance in output */ 199 PUP(out) = 0 [all...] |
/external/proguard/src/proguard/optimize/evaluation/ |
LivenessAnalyzer.java | 197 System.out.println(); 198 System.out.println("Liveness analysis: "+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)); 315 // Print out the liveness of all variables before the instruction. 319 System.out.print((aliveBefore & variableMask) == 0L ? '.' : 324 // Print out the instruction itself. 325 System.out.println(" "+ InstructionFactory.create(codeAttribute.code, offset).toString(offset)); 327 // Print out the liveness of all variables after the instruction. 331 System.out.print((aliveAfter & variableMask) == 0L ? '.' : 336 System.out.println();
|