| /external/mesa3d/src/gallium/drivers/softpipe/ |
| sp_quad_blend.c | 272 float source[4][TGSI_QUAD_SIZE] = { { 0 } }; local 280 VEC4_COPY(source[0], quadColor[0]); /* R */ 281 VEC4_COPY(source[1], quadColor[1]); /* G */ 282 VEC4_COPY(source[2], quadColor[2]); /* B */ 285 VEC4_MUL(source[0], quadColor[0], quadColor[0]); /* R */ 286 VEC4_MUL(source[1], quadColor[1], quadColor[1]); /* G */ 287 VEC4_MUL(source[2], quadColor[2], quadColor[2]); /* B */ 292 VEC4_MUL(source[0], quadColor[0], alpha); /* R */ 293 VEC4_MUL(source[1], quadColor[1], alpha); /* G */ 294 VEC4_MUL(source[2], quadColor[2], alpha); /* B * 1034 float source[4][TGSI_QUAD_SIZE]; local [all...] |
| /external/mesa3d/src/mesa/program/ |
| prog_execute.c | 101 * source register. 104 get_src_register_pointer(const struct prog_src_register *source, 108 GLint reg = source->Index; 110 if (source->RelAddr) { 118 switch (source->File) { 169 source->File); 219 * Fetch a 4-element float vector from the given source register. 223 fetch_vector4(const struct prog_src_register *source, 226 const GLfloat *src = get_src_register_pointer(source, machine); 229 if (source->Swizzle == SWIZZLE_NOOP) 1627 const struct prog_src_register *source = &inst->SrcReg[0]; local [all...] |
| /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/ |
| FlatManifestWriterImpl.java | 176 Source source = new DOMSource(document); local 184 transformer.transform(source, result);
|
| /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
| Hpack.java | 29 import okio.Source; 117 private final BufferedSource source; field in class:Hpack.Reader 128 Reader(int headerTableSizeSetting, Source source) { 131 this.source = Okio.buffer(source); 188 * Read {@code byteCount} bytes of headers from the source stream. This 192 while (!source.exhausted()) { 193 int b = source.readByte() & 0xff; 318 return source.readByte() & 0xff [all...] |
| /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
| Http2xStream.java | 2 * Copyright (C) 2012 The Android Open Source Project 41 import okio.Source; 278 Source source = new StreamFinishingSource(stream.getSource()); local 279 return new RealResponseBody(response.headers(), Okio.buffer(source)); 287 public StreamFinishingSource(Source delegate) {
|
| /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/ |
| RealConnection.java | 60 import okio.Source; 82 public BufferedSource source; field in class:RealConnection 118 source = null; 145 source = Okio.buffer(Okio.source(rawSocket)); 159 .socket(socket, route.getAddress().url().host(), source, sink) 217 source = Okio.buffer(Okio.source(socket)); 265 Http1xStream tunnelConnection = new Http1xStream(null, source, sink); 266 source.timeout().timeout(readTimeout, MILLISECONDS) [all...] |
| /external/pdfium/core/fpdfapi/page/ |
| cpdf_image.cpp | 2 // Use of this source code is governed by a BSD-style license that can be 328 auto source = pdfium::MakeUnique<CPDF_DIBSource>(); local 329 if (!source->Load(m_pDocument, m_pStream.Get())) 332 return std::move(source); 352 auto source = pdfium::MakeUnique<CPDF_DIBSource>(); local 353 int ret = source->StartLoadDIBSource(m_pDocument, m_pStream.Get(), true, 357 m_pDIBSource = source.release(); 364 m_pMask = source->DetachMask(); 365 m_MatteColor = source->GetMatteColor(); 366 m_pDIBSource = source.release() [all...] |
| /external/protobuf/java/core/src/test/java/com/google/protobuf/ |
| MapForProto2LiteTest.java | 5 // Redistribution and use in source and binary forms, with or without 9 // * Redistributions of source code must retain the above copyright 77 private void copyMapValues(TestMap source, TestMap.Builder destination) { 79 .putAllInt32ToInt32Field(source.getInt32ToInt32Field()) 80 .putAllInt32ToStringField(source.getInt32ToStringField()) 81 .putAllInt32ToBytesField(source.getInt32ToBytesField()) 82 .putAllInt32ToEnumField(source.getInt32ToEnumField()) 83 .putAllInt32ToMessageField(source.getInt32ToMessageField()) 84 .putAllStringToInt32Field(source.getStringToInt32Field()); 346 TestMap source = sourceBuilder.build() local [all...] |
| /external/protobuf/src/google/protobuf/ |
| extension_set_unittest.cc | 5 // Redistribution and use in source and binary forms, with or without 9 // * Redistributions of source code must retain the above copyright 454 unittest::TestAllExtensions source; local 456 TestUtil::SetAllExtensions(&source); 457 int size = source.ByteSize(); 461 uint8* end = source.SerializeWithCachedSizesToArray(target); 475 unittest::TestAllExtensions source; local 477 TestUtil::SetAllExtensions(&source); 478 int size = source.ByteSize(); 484 source.SerializeWithCachedSizes(&output_stream) 498 unittest::TestPackedExtensions source; local 519 unittest::TestPackedExtensions source; local 537 unittest::TestAllTypes source; local 550 unittest::TestPackedTypes source; local 561 unittest::TestPackedTypes source; local 582 unittest::TestUnpackedTypes source; local [all...] |
| wire_format_unittest.cc | 5 // Redistribution and use in source and binary forms, with or without 9 // * Redistributions of source code must retain the above copyright 83 unittest::TestAllTypes source, dest; local 87 TestUtil::SetAllFields(&source); 88 source.SerializeToString(&data); 100 unittest::TestAllExtensions source, dest; local 104 TestUtil::SetAllExtensions(&source); 105 source.SerializeToString(&data); 117 unittest::TestPackedTypes source, dest; local 121 TestUtil::SetPackedFields(&source); 135 unittest::TestUnpackedTypes source; local 151 unittest::TestPackedTypes source; local 166 unittest::TestPackedExtensions source, dest; local 183 unittest::TestOneof2 source, dest; local 200 unittest::TestOneofBackwardsCompatible source; local 399 unittest::TestFieldOrderings source; local [all...] |
| /external/swiftshader/src/Renderer/ |
| Blitter.cpp | 43 void Blitter::blit(Surface *source, const SliceRect &sRect, Surface *dest, const SliceRect &dRect, bool filter) 46 blit(source, sRect, dest, dRect, options); 49 void Blitter::blit(Surface *source, const SliceRect &sourceRect, Surface *dest, const SliceRect &destRect, const Blitter::Options& options) 56 if(blitReactor(source, sourceRect, dest, destRect, options)) 78 source->lockInternal(sRect.x0, sRect.y0, sRect.slice, sw::LOCK_READONLY, sw::PUBLIC); 94 dest->copyInternal(source, i, j, x, y, (options & FILTER_LINEAR) == FILTER_LINEAR); 102 source->unlockInternal(); 106 void Blitter::blit3D(Surface *source, Surface *dest) 108 source->lockInternal(0, 0, 0, sw::LOCK_READONLY, sw::PUBLIC); 111 float w = static_cast<float>(source->getWidth()) / static_cast<float>(dest->getWidth()) 1063 Pointer<Byte> source = *Pointer<Pointer<Byte>>(blit + OFFSET(BlitData,source)); local [all...] |
| /external/syslinux/com32/gplinclude/acpi/ |
| madt.h | 78 uint8_t source; member in struct:__anon31821
|
| /external/syslinux/gpxe/src/drivers/net/ |
| ipoib.c | 191 * @v ll_source Source link-layer address 223 * @ret ll_source Source link-layer address 233 struct ipoib_peer *source; local 245 /* Identify source and destination addresses, and clear 249 source = ipoib_lookup_peer_by_key ( ipoib_hdr->u.peer.src ); 254 *ll_source = ( source ? &source->mac : &ipoib->broadcast ); 501 /* Parse source address */
|
| /external/toybox/toys/pending/ |
| traceroute.c | 36 -s IP address to use as the source address 39 -g Loose source route gateway (8 max) (supports IPV4 only) 547 optlist[1] = IPOPT_LSRR;// loose source route option 582 struct sockaddr_in source; local 584 memset(&source, 0, sizeof(source)); 585 if (!inet_aton(TT.src_ip, &(source.sin_addr))) 588 (struct sockaddr*)&source, sizeof(struct sockaddr_in))) 589 perror_exit("can't set multicast source interface"); 590 if (bind(TT.snd_sock,(struct sockaddr*)&source, 604 struct sockaddr_in6 source; local [all...] |
| /frameworks/av/media/libstagefright/ |
| NuCachedSource2.cpp | 2 * Copyright (C) 2010 The Android Open Source Project 183 const sp<DataSource> &source, 186 : mSource(source), 241 const sp<DataSource> &source, 245 source, cacheConfig, disconnectAtHighwatermark); 253 HTTPBase* source = static_cast<HTTPBase *>(mSource.get()); local 254 return source->getEstimatedBandwidthKbps(kbps); 266 // this, the source will be marked as EOS. 274 // explicitly disconnect from the source, to allow any 282 HTTPBase *source = static_cast<HTTPBase *>(mSource.get()) local [all...] |
| /frameworks/av/media/libstagefright/id3/ |
| ID3.cpp | 2 * Copyright (C) 2010 The Android Open Source Project 59 ID3::ID3(const sp<DataSource> &source, bool ignoreV1, off64_t offset) 66 mIsValid = parseV2(source, offset); 69 mIsValid = parseV1(source); 80 sp<MemorySource> source = new (std::nothrow) MemorySource(data, size); local 82 if (source == NULL) 85 mIsValid = parseV2(source, 0); 88 mIsValid = parseV1(source); 121 bool ID3::parseV2(const sp<DataSource> &source, off64_t offset) { 131 if (source->readAt [all...] |
| /frameworks/av/media/libstagefright/rtsp/ |
| ARTPConnection.cpp | 2 * Copyright (C) 2010 The Android Open Source Project 331 sp<ARTPSource> source = s->mSources.valueAt(i); local 333 source->addReceiverReport(buffer); 336 source->addFIR(buffer); 481 sp<ARTPSource> source = findSource(s, srcId); local 494 source->processRTPPacket(buffer); 590 sp<ARTPSource> source = findSource(s, id); local 592 source->byeReceived(); 617 sp<ARTPSource> source = findSource(s, id); local 619 source->timeUpdate(rtpTime, ntpTime) 625 sp<ARTPSource> source; local [all...] |
| /frameworks/base/core/java/android/app/backup/ |
| BlobBackupHelper.java | 2 * Copyright (C) 2015 The Android Open Source Project 189 ByteArrayInputStream source = new ByteArrayInputStream(compressedData); local 190 DataInputStream headerIn = new DataInputStream(source); 197 InflaterInputStream in = new InflaterInputStream(source);
|
| /frameworks/base/core/java/android/security/net/config/ |
| XmlConfigSource.java | 199 CertificateSource source = null; local 205 source = new ResourceCertificateSource(sourceId, mContext); 207 source = SystemCertificateSource.getInstance(); 209 source = UserCertificateSource.getInstance(); 215 return new CertificatesEntryRef(source, overridePins);
|
| /frameworks/base/graphics/java/android/graphics/ |
| Color.java | 2 * Copyright (C) 2006 The Android Open Source Project 80 * constant in source. For instance, opaque blue is <code>0xff0000ff</code> 266 * convert a color from a source color space to a destination color space</li> 1091 ColorSpace source = ColorSpace.get(ColorSpace.Named.SRGB); local 1115 ColorSpace source = colorSpace(color); local [all...] |
| /frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
| DisplaySourceService.java | 2 * Copyright (C) 2013 The Android Open Source Project 17 package com.android.accessorydisplay.source;
|
| SourceActivity.java | 2 * Copyright (C) 2013 The Android Open Source Project 17 package com.android.accessorydisplay.source; 20 import com.android.accessorydisplay.source.presentation.DemoPresentation; 41 "com.android.accessorydisplay.source.ACTION_USB_ACCESSORY_PERMISSION";
|
| /frameworks/base/tools/aapt2/ |
| Resource.h | 2 * Copyright (C) 2015 The Android Open Source Project 31 #include "Source.h" 165 // Source 166 Source source; member in struct:aapt::ResourceFile
|
| /frameworks/base/tools/aapt2/cmd/ |
| Compile.cpp | 2 * Copyright (C) 2015 The Android Open Source Project 55 Source source; member in struct:aapt::ResourcePathData 109 return ResourcePathData{Source(path), dir_str.to_string(), name.to_string(), 198 std::ifstream fin(path_data.source.path, std::ifstream::binary); 200 context->GetDiagnostics()->Error(DiagMessage(path_data.source) 215 ResourceParser res_parser(context->GetDiagnostics(), &table, path_data.source, path_data.config, 390 context->GetDiagnostics()->Note(DiagMessage(path_data.source) << "compiling XML"); 395 std::ifstream fin(path_data.source.path, std::ifstream::binary); 397 context->GetDiagnostics()->Error(DiagMessage(path_data.source) [all...] |
| /frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
| AndroidCamera2Settings.java | 2 * Copyright (C) 2014 The Android Open Source Project 298 android.hardware.Camera.Area source = reference.get(index); local 299 Rect rectangle = source.rect; 316 source.weight);
|