/device/google/contexthub/firmware/os/algos/calibration/magnetometer/ |
mag_cal.c | 87 // A * out = b 113 struct Vec4 out; local 114 mat44Solve(&A, &out, &b, &pivot); 118 // xc = -out[0] / 2, yc = -out[1] / 2, zc = -out[2] / 2 119 // r = sqrt(xc^2 + yc^2 + zc^2 - out[3]) 122 initVec3(&v, out.x, out.y, out.z) [all...] |
/device/google/contexthub/util/nanoapp_encr/ |
nanoapp_encr.c | 56 static int handleEncrypt(uint8_t **pbuf, uint32_t bufUsed, FILE *out, uint64_t keyId, uint32_t *key) 120 fwrite(image, sizeof(*image), 1, out); 125 fwrite(&encr, sizeof(encr), 1, out); 137 fwrite(outBuf, AES_BLOCK_SIZE, 1, out); 146 fwrite(outBuf, AES_BLOCK_SIZE, 1, out); 148 err = fwrite(outBuf, AES_BLOCK_SIZE, 1, out) != 1; 153 static int handleDecrypt(uint8_t **pbuf, uint32_t bufUsed, FILE *out, uint32_t *key) 199 fwrite(image, sizeof(*image), 1, out); 211 err = fwrite(outBuf, size, 1, out) != 1; 263 FILE *out = NULL local [all...] |
/device/google/contexthub/util/nanoapp_sign/ |
nanoapp_sign.c | 32 uint32_t out = 0; local 34 out = (out << 8) | (x & 0xFF); 35 return out; 191 static int handleConvertKey(uint8_t **pbuf, uint32_t bufUsed, FILE *out, struct RsaData *rsa) 220 ret = fwrite(rsa->num, 1, RSA_BYTES, out) == RSA_BYTES ? 0 : 2; 316 static int handleSign(uint8_t **pbuf, uint32_t bufUsed, FILE *out, struct RsaData *rsa, bool verbose, bool bareData) 393 fwrite(buf, 1, bufUsed, out); 394 fwrite(rsaResult, 1, sizeof(uint32_t[RSA_LIMBS]), out); 395 ret = (fwrite(rsa->modulus, 1, RSA_BYTES, out) == RSA_BYTES) ? 0 : 2 430 FILE *out = NULL; local [all...] |
/device/google/dragon/crash_collector/ |
coredump_writer.cc | 159 // Filter out segments backed by mapped files as they are useless when 342 Phdr& out = (*program_headers_filtered)[i]; local 343 out = program_headers[i]; 348 const FileRange range(out.p_vaddr, out.p_vaddr + out.p_memsz); 349 if (out.p_type == PT_LOAD && file_mappings.count(range)) { 350 out.p_filesz = 0; 354 out.p_offset = prev_program_header.p_offset + prev_program_header.p_filesz; 356 if (out.p_align != 0 && out.p_offset % out.p_align != 0) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/ |
gzguts.h | 174 unsigned char *out; /* output buffer (double-sized when reading) */
member in struct:__anon5556
|
inflate.c | 48 * - Pull out common wnext == 0 case for speed in inflate_fast()
75 * for the in() and out() functions
308 Write out the inffixed.h that is #include'd above. Defining MAKEFIXED also
323 a.out > inffixed.h
615 unsigned in, out; /* save starting available input and output */
local 636 out = left;
[all...] |
minigzip.c | 242 unsigned char out[BUFLEN];
local 250 strm->next_out = out;
253 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file);
301 unsigned char out[BUFLEN];
local 310 strm->next_out = out;
313 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file);
339 void gz_compress OF((FILE *in, gzFile out));
341 int gz_compress_mmap OF((FILE *in, gzFile out));
343 void gz_uncompress OF((gzFile in, FILE *out));
362 void gz_compress(in, out)
463 gzFile out; local 501 FILE *out; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/zlib/ |
gzguts.h | 180 unsigned char *out; /* output buffer (double-sized when reading) */
member in struct:__anon5611
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/ |
inflate.c | 48 * - Pull out common write == 0 case for speed in inflate_fast()
75 * for the in() and out() functions
96 local int updatewindow OF((z_streamp strm, unsigned out));
252 Write out the inffixed.h that is #include'd above. Defining MAKEFIXED also
267 a.out > inffixed.h
323 local int updatewindow(strm, out)
325 unsigned out;
348 copy = out - strm->avail_out;
564 unsigned in, out; /* save starting available input and output */
local 585 out = left; [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/iobench/ |
iobench.py | 13 out = sys.stdout
variable 267 out.write(
271 out.flush()
276 out.write(bw.rjust(12) + "\n")
278 out.write(" warning: test above used only %d%% CPU, "
293 out.write("\n")
|
/external/android-clat/ |
translate.c | 220 * out - output packet 227 int icmp_to_icmp6(clat_packet out, clat_packet_index pos, const struct icmphdr *icmp, 229 struct icmp6_hdr *icmp6_targ = out[pos].iov_base; 239 out[pos].iov_len = sizeof(struct icmp6_hdr); 246 clat_packet_len = ipv4_packet(out, pos + 1, payload, payload_size); 259 out[CLAT_POS_PAYLOAD].iov_base = (uint8_t *) payload; 260 out[CLAT_POS_PAYLOAD].iov_len = payload_size; 268 icmp6_targ->icmp6_cksum = packet_checksum(checksum, out, pos); 275 * out - output packet 281 int icmp6_to_icmp(clat_packet out, clat_packet_index pos, const struct icmp6_hdr *icmp6 508 clat_packet out = { local [all...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/ |
Configurator.java | 230 Object[] out = new Object[params.length]; local 234 out[i] = param.getMethod("valueOf", String.class).invoke(null, vals[i].toUpperCase()); 236 out[i] = parseFloatAttr(ctx, vals[i]); 238 out[i] = parseIntAttr(ctx, vals[i]); 240 out[i] = Boolean.valueOf(vals[i]); 242 out[i] = parseStringAttr(ctx, vals[i]); 249 return out; 338 String out = ""; local 340 out += (obj == null ? (out += "[null] ") [all...] |
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3debughandlers.c | 33 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 790 unsigned char * out; local 798 out = buffer + sprintf((char *)buffer, "semanticPredicate\t%s\t", result == ANTLR3_TRUE ? "true" : "false"); 806 *out++ = '%'; 807 *out++ = '0'; 808 *out++ = 'A'; 813 *out++ = '%'; 814 *out++ = '0'; 815 *out++ = 'D'; 820 *out++ = '%' [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
Array2DRowFieldMatrix.java | 413 final T[] out = buildArray(getField(), nRows); local 420 out[row] = sum; 422 return out; 437 final T[] out = buildArray(getField(), nCols); local 443 out[col] = sum; 446 return out; 591 final T[][] out = buildArray(getField(), nRows, getColumnDimension()); local 594 System.arraycopy(data[i], 0, out[i], 0, data[i].length); 596 return out;
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/ |
ValueServer.java | 153 double[] out = new double[length]; local 155 out[i] = getNext(); 157 return out;
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/ranking/ |
NaturalRanking.java | 222 double[] out = new double[ranks.length]; local 224 out[ranks[0].getPosition()] = pos; 232 resolveTie(out, tiesTrace); 240 out[ranks[i].getPosition()] = pos; 243 resolveTie(out, tiesTrace); 246 restoreNaNs(out, nanPositions); 248 return out; 318 * The same array and trace with tiesStrategy AVERAGE will come out 404 ArrayList<Integer> out = new ArrayList<Integer>(); local 407 out.add(Integer.valueOf(i)) [all...] |
/external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/serialization/ |
SerializationTest.java | 659 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 660 putObjectToStream(initial, out); 661 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray());
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
AVT.java | 297 lookahead = null; // breaks out of inner while loop 313 lookahead = null; // breaks out of inner while loop 453 String out = null; local 461 out = buf.toString(); 469 return out; 494 String out = null; local 501 out = buf.toString(); 509 return out;
|
/external/apache-xml/src/main/java/org/apache/xpath/patterns/ |
NodeTest.java | 462 System.out.print(" | "); 464 System.out.print(v.elementAt(i)); 468 System.out.print("empty whatToShow: " + whatToShow); 470 System.out.println(); 487 // System.out.println("subPartMatch - p: "+p+", t: "+t+", result: "+b);
|
/external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/bsdiff/ |
BsPatch.java | 274 * @param out the stream to write bytes to. 280 final InputStream in, final OutputStream out, final byte[] buffer, int copyLength) 285 out.write(buffer, 0, maxCopy);
|
/external/bison/src/ |
output.c | 112 | Print to OUT a representation of CP quoted and escaped for M4. | 116 quoted_output (FILE *out, char const *cp) 118 fprintf (out, "[["); 123 case '$': fputs ("$][", out); break; 124 case '@': fputs ("@@", out); break; 125 case '[': fputs ("@{", out); break; 126 case ']': fputs ("@}", out); break; 127 default: fputc (*cp, out); break; 130 fprintf (out, "]]"); 134 | Print to OUT a representation of STRING quoted and escaped both 592 FILE *out = fdopen (filter_fd[1], "w"); local [all...] |
print-xml.c | 56 print_core (FILE *out, int level, state *s) 68 xml_puts (out, level, "<itemset/>"); 72 xml_puts (out, level, "<itemset>"); 97 xml_printf (out, level + 1, 101 out, level + 2); 102 xml_puts (out, level + 1, "</item>"); 109 xml_printf (out, level + 1, 115 xml_puts (out, level, "</itemset>"); 121 | OUT. | 125 print_transitions (state *s, FILE *out, int level 502 FILE *out = xfopen (spec_xml_file, "w"); local [all...] |
/external/boringssl/src/crypto/cipher_extra/ |
aead_test.cc | 12 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 141 std::vector<uint8_t> out(in.size() + EVP_AEAD_max_overhead(aead())); 144 ASSERT_TRUE(EVP_AEAD_CTX_seal(ctx.get(), out.data(), &out_len, out.size(), 147 out.resize(out_len); 149 ASSERT_EQ(out.size(), ct.size() + tag.size()); 150 EXPECT_EQ(Bytes(ct), Bytes(out.data(), ct.size())); 151 EXPECT_EQ(Bytes(tag), Bytes(out.data() + ct.size(), tag.size())); 153 out.resize(ct.size() + tag.size()); 154 OPENSSL_memcpy(out.data(), ct.data(), ct.size()) 571 alignas(64) uint8_t out[sizeof(ciphertext)]; local [all...] |
/external/boringssl/src/crypto/dh/ |
dh_test.cc | 34 * The word 'cryptographic' can be left out if the rouines from the library 49 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 105 FILE *out = reinterpret_cast<FILE*>(arg->arg); local 106 fputc(c, out); 107 fflush(out); 462 /* Work out shared secrets using both sides and compare
|
/external/boringssl/src/crypto/fipsmodule/des/ |
des.c | 34 * The word 'cryptographic' can be left out if the rouines from the library 49 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 392 * <71755.204@CompuServe.COM> for pointing this out. */ 455 * pointing this out. */ 545 uint8_t *out = out_block->bytes; local 553 l2c(l, out); 555 l2c(l, out); 559 void DES_ncbc_encrypt(const uint8_t *in, uint8_t *out, size_t len, 581 l2c(tout0, out); 583 l2c(tout1, out); 641 uint8_t *out = output->bytes; local [all...] |