/device/google/cuttlefish/host/frontend/gcastv2/webrtc/ |
D | SCTPHandler.cpp | 161 uint8_t out[12 + 24 + sizeof(kCookie)]; in processChunk() local 162 SET_U16(&out[0], 5000); in processChunk() 163 SET_U16(&out[2], srcPort); in processChunk() 164 SET_U32(&out[4], mInitiateTag); in processChunk() 165 SET_U32(&out[8], 0x00000000); // Checksum: to be filled in below. in processChunk() 168 out[offset++] = INIT_ACK; in processChunk() 169 out[offset++] = 0x00; in processChunk() 171 SET_U16(&out[offset], sizeof(out) - 12); in processChunk() 174 SET_U32(&out[offset], 0xb0b0cafe); // initiate tag in processChunk() 177 SET_U32(&out[offset], 0x00020000); // a_rwnd in processChunk() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/ |
D | partition.h | 16 PyObject* out; in stringlib_partition() local 24 out = PyTuple_New(3); in stringlib_partition() 25 if (!out) in stringlib_partition() 32 PyTuple_SET_ITEM(out, 0, STRINGLIB_NEW(str, str_len)); in stringlib_partition() 33 PyTuple_SET_ITEM(out, 1, STRINGLIB_NEW(NULL, 0)); in stringlib_partition() 34 PyTuple_SET_ITEM(out, 2, STRINGLIB_NEW(NULL, 0)); in stringlib_partition() 37 PyTuple_SET_ITEM(out, 0, (PyObject*) str_obj); in stringlib_partition() 39 PyTuple_SET_ITEM(out, 1, (PyObject*) STRINGLIB_EMPTY); in stringlib_partition() 41 PyTuple_SET_ITEM(out, 2, (PyObject*) STRINGLIB_EMPTY); in stringlib_partition() 43 return out; in stringlib_partition() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/ |
D | partition.h | 16 PyObject* out; in stringlib_partition() local 24 out = PyTuple_New(3); in stringlib_partition() 25 if (!out) in stringlib_partition() 32 PyTuple_SET_ITEM(out, 0, STRINGLIB_NEW(str, str_len)); in stringlib_partition() 33 PyTuple_SET_ITEM(out, 1, STRINGLIB_NEW(NULL, 0)); in stringlib_partition() 34 PyTuple_SET_ITEM(out, 2, STRINGLIB_NEW(NULL, 0)); in stringlib_partition() 37 PyTuple_SET_ITEM(out, 0, (PyObject*) str_obj); in stringlib_partition() 39 PyTuple_SET_ITEM(out, 1, (PyObject*) STRINGLIB_EMPTY); in stringlib_partition() 41 PyTuple_SET_ITEM(out, 2, (PyObject*) STRINGLIB_EMPTY); in stringlib_partition() 43 return out; in stringlib_partition() [all …]
|
/device/linaro/poplar/audio/ |
D | audio_hw.c | 89 static int start_output_stream(struct alsa_stream_out *out) in start_output_stream() argument 91 struct alsa_audio_device *adev = out->dev; in start_output_stream() 93 if (out->unavailable) in start_output_stream() 99 out->write_threshold = PLAYBACK_PERIOD_COUNT * PERIOD_SIZE; in start_output_stream() 100 out->config.start_threshold = PLAYBACK_PERIOD_START_THRESHOLD * PERIOD_SIZE; in start_output_stream() 101 out->config.avail_min = PERIOD_SIZE; in start_output_stream() 103 …out->pcm = pcm_open(CARD_OUT, PORT_CODEC, PCM_OUT | PCM_MMAP | PCM_NOIRQ | PCM_MONOTONIC, &out->co… in start_output_stream() 105 if (!pcm_is_ready(out->pcm)) { in start_output_stream() 106 ALOGE("cannot open pcm_out driver: %s", pcm_get_error(out->pcm)); in start_output_stream() 107 pcm_close(out->pcm); in start_output_stream() [all …]
|
/device/linaro/dragonboard/audio/ |
D | audio_hw.c | 90 static int start_output_stream(struct alsa_stream_out *out) in start_output_stream() argument 92 struct alsa_audio_device *adev = out->dev; in start_output_stream() 94 if (out->unavailable) in start_output_stream() 100 out->write_threshold = PLAYBACK_PERIOD_COUNT * PERIOD_SIZE; in start_output_stream() 101 out->config.start_threshold = PLAYBACK_PERIOD_START_THRESHOLD * PERIOD_SIZE; in start_output_stream() 102 out->config.avail_min = PERIOD_SIZE; in start_output_stream() 104 …out->pcm = pcm_open(CARD_OUT, PORT_CODEC, PCM_OUT | PCM_MMAP | PCM_NOIRQ | PCM_MONOTONIC, &out->co… in start_output_stream() 106 if (!pcm_is_ready(out->pcm)) { in start_output_stream() 107 ALOGE("cannot open pcm_out driver: %s", pcm_get_error(out->pcm)); in start_output_stream() 108 pcm_close(out->pcm); in start_output_stream() [all …]
|
/device/generic/car/emulator/audio/driver/ |
D | audio_hw.c | 131 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_get_sample_rate() local 132 return out->req_config.sample_rate; in out_get_sample_rate() 140 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_get_buffer_size() local 141 int size = out->pcm_config.period_size * in out_get_buffer_size() 142 audio_stream_out_frame_size(&out->stream); in out_get_buffer_size() 148 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_get_channels() local 149 return out->req_config.channel_mask; in out_get_channels() 153 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_get_format() local 154 return out->req_config.format; in out_get_format() 162 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_dump() local [all …]
|
/device/google/trout/hal/audio/6.0/ |
D | audio_hw.c | 171 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_get_sample_rate() local 172 return out->req_config.sample_rate; in out_get_sample_rate() 180 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_get_buffer_size() local 181 int size = out->pcm_config.period_size * in out_get_buffer_size() 182 audio_stream_out_frame_size(&out->stream); in out_get_buffer_size() 188 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_get_channels() local 189 return out->req_config.channel_mask; in out_get_channels() 193 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_get_format() local 194 return out->req_config.format; in out_get_format() 202 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_dump() local [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_locale.py | 145 def _test_formatfunc(self, format, value, out, func, **format_opts): argument 147 func(format, value, **format_opts), out) 149 def _test_format(self, format, value, out, **format_opts): argument 150 self._test_formatfunc(format, value, out, 153 def _test_format_string(self, format, value, out, **format_opts): argument 154 self._test_formatfunc(format, value, out, 157 def _test_currency(self, value, out, **format_opts): argument 158 self.assertEqual(locale.currency(value, **format_opts), out) 169 self._test_format("%f", 1024, grouping=1, out='1%s024.000000' % self.sep) 170 self._test_format("%f", 102, grouping=1, out='102.000000') [all …]
|
/device/linaro/hikey/audio/ |
D | audio_hw.c | 181 struct alsa_stream_out *out = (struct alsa_stream_out *)stream; in xa_device_run() local 182 struct alsa_audio_device *adev = out->dev; in xa_device_run() 195 out->written += out_frames; in xa_device_run() 210 ret = pcm_mmap_write(out->pcm, p_buf, size); in xa_device_run() 212 out->written += out_frames; in xa_device_run() 251 static int start_output_stream(struct alsa_stream_out *out) in start_output_stream() argument 253 struct alsa_audio_device *adev = out->dev; in start_output_stream() 255 if (out->unavailable) in start_output_stream() 261 out->write_threshold = PLAYBACK_PERIOD_COUNT * PERIOD_SIZE; in start_output_stream() 262 out->config.start_threshold = PLAYBACK_PERIOD_START_THRESHOLD * PERIOD_SIZE; in start_output_stream() [all …]
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/ZLib/ |
D | inffast.c | 57 unsigned char FAR *out; /* local strm->next_out */ local 84 out = strm->next_out; 85 beg = out - (start - strm->avail_out); 86 end = out + (strm->avail_out - 257); 120 *out++ = (unsigned char)(here.val); 169 op = (unsigned)(out - beg); /* max distance in output */ 182 *out++ = 0; 188 *out++ = 0; 191 from = out - dist; 193 *out++ = *from++; [all …]
|
/device/google/cuttlefish/guest/hals/audio/ |
D | audio_hw.c | 263 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_get_sample_rate() local 264 return out->req_config.sample_rate; in out_get_sample_rate() 274 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_get_buffer_size() local 275 int size = out->pcm_config.period_size * in out_get_buffer_size() 276 audio_stream_out_frame_size(&out->stream); in out_get_buffer_size() 283 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_get_channels() local 284 return out->req_config.channel_mask; in out_get_channels() 289 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_get_format() local 291 return out->req_config.format; in out_get_format() 301 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_dump() local [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/ |
D | inffast.c | 74 unsigned char FAR *out; /* local strm->next_out */ local 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; 205 PUP(out) = 0; 208 from = out - dist; 210 PUP(out) = PUP(from); [all …]
|
/device/generic/opengl-transport/host/libs/virglrenderer/GLESv1_dec/ |
D | gles1.attrib | 9 dir params out 12 dir params out 15 dir params out 18 dir params out 21 dir params out 66 dir params out 70 dir params out 74 dir buffers out 79 dir textures out 83 dir params out [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/ |
D | minigzip.c | 75 void gz_compress OF((FILE *in, gzFile out)); 77 int gz_compress_mmap OF((FILE *in, gzFile out)); 79 void gz_uncompress OF((gzFile in, FILE *out)); 98 void gz_compress(in, out) in gz_compress() argument 100 gzFile out; 110 if (gz_compress_mmap(in, out) == Z_OK) return; 120 if (gzwrite(out, buf, (unsigned)len) != len) error(gzerror(out, &err)); 123 if (gzclose(out) != Z_OK) error("failed gzclose"); 131 int gz_compress_mmap(in, out) in gz_compress_mmap() argument 133 gzFile out; [all …]
|
D | inffast.c | 74 unsigned char FAR *out; /* local strm->next_out */ local 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)(this.val); 186 op = (unsigned)(out - beg); /* max distance in output */ 200 PUP(out) = PUP(from); 202 from = out - dist; /* rest from output */ 211 PUP(out) = PUP(from); 218 PUP(out) = PUP(from); [all …]
|
/device/google/contexthub/util/common/ |
D | JSONObject.cpp | 31 static ssize_t parseInt32(const char *data, size_t numDigits, int32_t *out) { in parseInt32() argument 46 *out = x; in parseInt32() 51 ssize_t JSONValue::Parse(const char *data, size_t size, JSONValue *out) { in Parse() argument 105 out->setArray(array); in Parse() 178 out->setObject(obj); in Parse() 232 out->setString(s); in Parse() 310 out->setInt32(negate ? -x : x); in Parse() 334 out->setFloat(negate ? -x : x); in Parse() 339 out->unset(); in Parse() 342 out->setBoolean(true); in Parse() [all …]
|
/device/amlogic/yukawa/audio/ |
D | audio_hw.c | 105 static int start_output_stream(struct alsa_stream_out *out) in start_output_stream() argument 107 struct alsa_audio_device *adev = out->dev; in start_output_stream() 112 out->write_threshold = PLAYBACK_PERIOD_COUNT * PLAYBACK_PERIOD_SIZE; in start_output_stream() 113 out->config.start_threshold = PLAYBACK_PERIOD_START_THRESHOLD * PLAYBACK_PERIOD_SIZE; in start_output_stream() 114 out->config.avail_min = PLAYBACK_PERIOD_SIZE; in start_output_stream() 115 out->unavailable = true; in start_output_stream() 117 int out_port = get_audio_output_port(out->devices); in start_output_stream() 120 out->pcm = pcm_open(CARD_OUT, out_port, PCM_OUT | PCM_MONOTONIC, &out->config); in start_output_stream() 121 if ((out->pcm != NULL) && pcm_is_ready(out->pcm)) { in start_output_stream() 124 ALOGE("cannot open pcm_out driver: %s", pcm_get_error(out->pcm)); in start_output_stream() [all …]
|
/device/google/contexthub/firmware/os/algos/common/math/ |
D | mat.h | 78 void mat33Apply(struct Vec3 *out, const struct Mat33 *A, const struct Vec3 *v); 82 void mat33Multiply(struct Mat33 *out, const struct Mat33 *A, 91 void mat33Add(struct Mat33 *out, const struct Mat33 *A); 95 void mat33Sub(struct Mat33 *out, const struct Mat33 *A); 106 void mat33Invert(struct Mat33 *out, const struct Mat33 *A); 110 void mat33MultiplyTransposed(struct Mat33 *out, const struct Mat33 *A, 116 void mat33MultiplyTransposed2(struct Mat33 *out, const struct Mat33 *A, 121 void mat33Transpose(struct Mat33 *out, const struct Mat33 *A); 136 void mat44Apply(struct Vec4 *out, const struct Mat44 *A, const struct Vec4 *v); 195 void matTransposeMultiplyMat(float *out, const float *A, [all …]
|
/device/google/cuttlefish/host/frontend/gcastv2/https/ |
D | Support.cpp | 74 void encodeBase64(const void *_data, size_t size, std::string *out) { in encodeBase64() argument 75 out->clear(); in encodeBase64() 76 out->reserve(((size+2)/3)*4); in encodeBase64() 86 out->append(1, encode6Bit(x1 >> 2)); in encodeBase64() 87 out->append(1, encode6Bit((x1 << 4 | x2 >> 4) & 0x3f)); in encodeBase64() 88 out->append(1, encode6Bit((x2 << 2 | x3 >> 6) & 0x3f)); in encodeBase64() 89 out->append(1, encode6Bit(x3 & 0x3f)); in encodeBase64() 98 out->append(1, encode6Bit(x1 >> 2)); in encodeBase64() 99 out->append(1, encode6Bit((x1 << 4 | x2 >> 4) & 0x3f)); in encodeBase64() 100 out->append(1, encode6Bit((x2 << 2) & 0x3f)); in encodeBase64() [all …]
|
/device/generic/goldfish-opengl/system/renderControl_enc/ |
D | renderControl.attrib | 6 dir major out 8 dir minor out 12 dir buffer out 16 dir buffer out 20 dir numAttribs out 24 dir buffer out 30 dir configs out 35 dir pixels out 52 dir glsync_out out 54 dir syncthread_out out
|
/device/generic/opengl-transport/host/libs/virglrenderer/GLESv3_dec/ |
D | gles3.attrib | 48 dir buffers out 53 dir framebuffers out 58 dir renderbuffers out 63 dir textures out 69 dir name out 71 dir length out 74 dir size out 77 dir type out 84 dir name out 86 dir length out [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
D | md5sum.py | 28 out, files = files[-1], files[:-1] 30 out = sys.stdout 36 sts = printsumfp(sys.stdin, '<stdin>', out) or sts 38 sts = printsum(f, out) or sts 40 sts = sum(f, out) or sts 43 def printsum(filename, out=sys.stdout): argument 51 sts = printsumfp(fp, filename, out) 55 def printsumfp(fp, filename, out=sys.stdout): argument 66 out.write('%s %s\n' % (m.hexdigest(), filename)) 69 def main(args = sys.argv[1:], out=sys.stdout): argument [all …]
|
/device/google/contexthub/lib/nanohub/ |
D | nanoapp.c | 55 goto out; in readFile() 58 goto out; in readFile() 62 out: in readFile() 101 static void doPrintHash(FILE *out, const char *pfx, const uint32_t *hash, size_t size, int incremen… in doPrintHash() argument 105 fprintf(out, "%s: ", pfx); in doPrintHash() 107 fprintf(out, "%08" PRIx32, hash[pos]); in doPrintHash() 108 fprintf(out, "\n"); in doPrintHash() 111 void printHash(FILE *out, const char *pfx, const uint32_t *hash, size_t size) in printHash() argument 113 doPrintHash(out, pfx, hash, size, 1); in printHash() 116 void printHashRev(FILE *out, const char *pfx, const uint32_t *hash, size_t size) in printHashRev() argument [all …]
|
/device/generic/goldfish-opengl/system/vulkan_enc/ |
D | HostVisibleMemoryVirtualization.cpp | 216 HostMemAlloc* out) { in finishHostMemAllocInit() argument 218 out->device = device; in finishHostMemAllocInit() 219 out->memoryTypeIndex = memoryTypeIndex; in finishHostMemAllocInit() 220 out->nonCoherentAtomSize = nonCoherentAtomSize; in finishHostMemAllocInit() 221 out->allocSize = allocSize; in finishHostMemAllocInit() 222 out->mappedSize = mappedSize; in finishHostMemAllocInit() 223 out->mappedPtr = mappedPtr; in finishHostMemAllocInit() 235 uint64_t neededPageSize = out->nonCoherentAtomSize; in finishHostMemAllocInit() 241 out->subAlloc = new in finishHostMemAllocInit() 243 out->mappedPtr, in finishHostMemAllocInit() [all …]
|
/device/amlogic/yukawa/gralloc/ |
D | gralloc_buffer_priv.h | 71 goto out; in gralloc_buffer_attr_map() 77 goto out; in gralloc_buffer_attr_map() 90 goto out; in gralloc_buffer_attr_map() 95 out: in gralloc_buffer_attr_map() 110 goto out; in gralloc_buffer_attr_unmap() 122 out: in gralloc_buffer_attr_unmap() 137 goto out; in gralloc_buffer_attr_write() 163 out: in gralloc_buffer_attr_write() 173 goto out; in gralloc_buffer_attr_read() 199 out: in gralloc_buffer_attr_read()
|