Home
last modified time | relevance | path

Searched refs:out (Results 1 – 25 of 151) sorted by relevance

1234567

/development/perftests/panorama/feature_mos/src/mosaic/
DMatrixUtils.h63 static void convert9to33(double out[3][3], double in[9]) { in convert9to33()
64 out[0][0] = in[0]; in convert9to33()
65 out[0][1] = in[1]; in convert9to33()
66 out[0][2] = in[2]; in convert9to33()
68 out[1][0] = in[3]; in convert9to33()
69 out[1][1] = in[4]; in convert9to33()
70 out[1][2] = in[5]; in convert9to33()
72 out[2][0] = in[6]; in convert9to33()
73 out[2][1] = in[7]; in convert9to33()
74 out[2][2] = in[8]; in convert9to33()
[all …]
DtrsMatrix.cpp79 void inv33d(const double m[3][3], double out[3][3]) in inv33d()
83 out[0][0] = (m[1][1]*m[2][2] - m[1][2]*m[2][1]) / det; in inv33d()
84 out[1][0] = (m[1][2]*m[2][0] - m[1][0]*m[2][2]) / det; in inv33d()
85 out[2][0] = (m[1][0]*m[2][1] - m[1][1]*m[2][0]) / det; in inv33d()
87 out[0][1] = (m[0][2]*m[2][1] - m[0][1]*m[2][2]) / det; in inv33d()
88 out[1][1] = (m[0][0]*m[2][2] - m[0][2]*m[2][0]) / det; in inv33d()
89 out[2][1] = (m[0][1]*m[2][0] - m[0][0]*m[2][1]) / det; in inv33d()
91 out[0][2] = (m[0][1]*m[1][2] - m[0][2]*m[1][1]) / det; in inv33d()
92 out[1][2] = (m[0][2]*m[1][0] - m[0][0]*m[1][2]) / det; in inv33d()
93 out[2][2] = (m[0][0]*m[1][1] - m[0][1]*m[1][0]) / det; in inv33d()
DImageUtils.h62 static void rgb2yvu(ImageType out, ImageType in, int width, int height);
64 static void rgba2yvu(ImageType out, ImageType in, int width, int height);
76 static void yvu2rgb(ImageType out, ImageType in, int width, int height);
77 static void yvu2bgr(ImageType out, ImageType in, int width, int height);
92 static ImageType rgb2gray(ImageType out, ImageType in, int width, int height);
114 static ImageType *imageTypeToRowPointers(ImageType out, int width, int height);
DPyramid.cpp148 void PyramidShort::BorderExpandOdd(PyramidShort *in, PyramidShort *out, PyramidShort *scr, in BorderExpandOdd() argument
170 int limit = out->height + out->border; in BorderExpandOdd()
171 for (j = -out->border; j < limit; j++) { in BorderExpandOdd()
176 out->ptr[j][i2] = (short) (out->ptr[j][i2] + in BorderExpandOdd()
179 out->ptr[j][i2+1] = (short) (out->ptr[j][i2+1] + in BorderExpandOdd()
213 void PyramidShort::BorderReduceOdd(PyramidShort *in, PyramidShort *out, PyramidShort *scr) in BorderReduceOdd() argument
236 s = out->ptr[-(off >> 1)] - out->border; in BorderReduceOdd()
237 ns = s + out->pitch; in BorderReduceOdd()
238 ls = s + out->pitch * (out->height + off); in BorderReduceOdd()
239 p = scr->ptr[-off] - out->border; in BorderReduceOdd()
[all …]
DImageUtils.cpp28 void ImageUtils::rgba2yvu(ImageType out, ImageType in, int width, int height) in rgba2yvu() argument
31 ImageType yimg = out; in rgba2yvu()
73 void ImageUtils::rgb2yvu(ImageType out, ImageType in, int width, int height) in rgb2yvu() argument
76 ImageType yimg = out; in rgb2yvu()
121 ImageType out = ImageUtils::allocateImage(width, height, 1); in rgb2gray() local
122 ImageType outCopy = out; in rgb2gray()
143 return out; in rgb2gray()
146 ImageType ImageUtils::rgb2gray(ImageType out, ImageType in, int width, int height) in rgb2gray() argument
149 ImageType gray = out; in rgb2gray()
151 ImageType outCopy = out; in rgb2gray()
[all …]
/development/tools/checkstyle/
Dtests.py112 out = StringIO()
113 files = checkstyle._GetModifiedFiles(mock_last_commit(), out=out)
114 output = out.getvalue()
121 out = StringIO()
122 checkstyle._GetModifiedFiles(mock_last_commit(), out=out)
123 self.assertEqual(out.getvalue(), checkstyle.ERROR_UNCOMMITTED)
127 out = StringIO()
128 files = checkstyle._GetModifiedFiles(mock_last_commit(), out=out)
129 output = out.getvalue()
135 out = StringIO()
[all …]
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyNetworkMonitor.java47 if (LDEBUG) System.out.println("Network state changed: " in performReceive()
51 if (LDEBUG) System.out.println("Network connected"); in performReceive()
54 if (LDEBUG) System.out.println("Network not connected"); in performReceive()
65 if (LDEBUG) System.out.println("Adding to mobile: " + delta); in updateNetworkStats()
69 if (LDEBUG) System.out.println("Adding to wifi: " + delta); in updateNetworkStats()
73 if (LDEBUG) System.out.println("Unaccounted for: " + delta); in updateNetworkStats()
87 if (LDEBUG) System.out.println("registering Receiver"); in register()
92 if (LDEBUG) System.out.println("unregistering Receiver"); in unregister()
101 System.out.println("## Network stats: elapsed time=" + mElapsedTime + "ms (" in dump()
DMonkey.java267 System.out.println(" // " + (allow ? "Allowing" : "Rejecting") + " start of " in activityStarting()
278 System.out.println(" // activityResuming(" + pkg + ")"); in activityResuming()
283 System.out.println(" // " + (allow ? "Allowing" : "Rejecting") in activityResuming()
537 System.out.println(":Monkey: seed=" + mSeed + " count=" + mCount); in run()
542 System.out.println(":IncludeCategory: " + it.next()); in run()
585 System.out.println("Error binding to network socket."); in run()
592 System.out.println("// Seeded: " + mSeed); in run()
637 System.out.println("Print the anr report"); in run()
642 System.out.println("Print the watchdog report"); in run()
667 System.out.println("// Generated profiling reports in /data/misc"); in run()
[all …]
/development/ndk/platforms/android-9/arch-x86/include/asm/
Dio_32.h30 #define __BUILDIO(bwl,bw,type) static inline void out##bwl(unsigned type value, int port) { out#…
31out##bwl##_local(unsigned type value, int port) { __asm__ __volatile__("out" #bwl " %" #bw "0, %…
/development/samples/KeyChainDemo/src/com/example/android/keychain/
DSecureWebServer.java102 System.out.println("Error: " + e); in start()
117 PrintWriter out = new PrintWriter(socket in start()
127 out.println("HTTP/1.0 200 OK"); in start()
128 out.println("Content-Type: text/html"); in start()
129 out.println("Server: Android KeyChainiDemo SSL Server"); in start()
131 out.println(""); in start()
133 out.println("<H1>Welcome to Android!</H1>"); in start()
135 out.println("<img src='data:image/png;base64," + base64Image + "'/>"); in start()
136 out.flush(); in start()
/development/tools/rmtypedefs/src/com/android/tools/rmtypedefs/
DRmTypeDefs.java74 usage(System.out); in run()
101 System.out.println("Deleting @IntDef and @StringDef annotation class files"); in run()
159 static void usage(PrintStream out) { in usage() argument
160 out.println("Android TypeDef Remover 1.0"); in usage()
161 out.println("Copyright (C) 2013 The Android Open Source Project\n"); in usage()
162 out.println("Usage: rmtypedefs folder1 [folder2 [folder3...]]\n"); in usage()
163 out.println("Options:"); in usage()
164 out.println(" -h,--help show this message"); in usage()
165 out.println(" -q,--quiet quiet"); in usage()
166 out.println(" -v,--verbose verbose"); in usage()
[all …]
/development/samples/BackupRestore/src/com/example/android/backuprestore/
DMultiRecordExampleAgent.java107 DataOutputStream out = new DataOutputStream(bufStream); in onBackup() local
111 out.writeInt(mFilling); in onBackup()
117 out.writeBoolean(mAddMayo); in onBackup()
123 out.writeBoolean(mAddTomato); in onBackup()
137 DataOutputStream out = new DataOutputStream(outstream); in writeStateFile() local
139 out.writeInt(mFilling); in writeStateFile()
140 out.writeBoolean(mAddMayo); in writeStateFile()
141 out.writeBoolean(mAddTomato); in writeStateFile()
DExampleAgent.java183 DataOutputStream out = new DataOutputStream(outstream); in writeStateFile() local
185 out.writeInt(AGENT_VERSION); in writeStateFile()
186 out.writeInt(mFilling); in writeStateFile()
187 out.writeBoolean(mAddMayo); in writeStateFile()
188 out.writeBoolean(mAddTomato); in writeStateFile()
/development/ndk/platforms/android-21/include/media/
DNdkMediaFormat.h50 bool AMediaFormat_getInt32(AMediaFormat*, const char *name, int32_t *out);
51 bool AMediaFormat_getInt64(AMediaFormat*, const char *name, int64_t *out);
52 bool AMediaFormat_getFloat(AMediaFormat*, const char *name, float *out);
62 bool AMediaFormat_getString(AMediaFormat*, const char *name, const char **out);
/development/tools/idegen/src/
DFiles.java44 FileWriter out = new FileWriter(file); in toFile() local
45 out.write(contents); in toFile()
46 out.close(); in toFile()
/development/ndk/platforms/android-3/include/linux/
Dcoda.h254 struct coda_out_hdr out; member
264 struct coda_out_hdr out; member
274 struct coda_out_hdr out; member
309 struct coda_out_hdr out; member
319 struct coda_out_hdr out; member
360 struct coda_out_hdr out; member
371 struct coda_out_hdr out; member
383 struct coda_out_hdr out; member
406 struct coda_out_hdr out; member
418 struct coda_out_hdr out; member
[all …]
/development/ndk/platforms/android-21/include/linux/
Dcoda.h275 struct coda_out_hdr out; member
285 struct coda_out_hdr out; member
295 struct coda_out_hdr out; member
331 struct coda_out_hdr out; member
341 struct coda_out_hdr out; member
384 struct coda_out_hdr out; member
395 struct coda_out_hdr out; member
407 struct coda_out_hdr out; member
431 struct coda_out_hdr out; member
444 struct coda_out_hdr out; member
[all …]
/development/samples/RenderScript/Levels/src/com/android/rs/levels/
Dlevels.rs28 void root(const uchar4 *in, uchar4 *out, uint32_t x, uint32_t y) {
37 out->xyz = convert_uchar3(pixel);
38 out->w = 0xff;
/development/tools/yuv420sp2rgb/
Dyuv420sp2rgb.c136 unsigned char *out = ctx->buffer; in common_rgb_cb() local
165 out += offset; in common_rgb_cb()
167 if (alpha) out[i++] = 0xff; in common_rgb_cb()
168 out[i++] = r; in common_rgb_cb()
169 out[i++] = g; in common_rgb_cb()
170 out[i] = b; in common_rgb_cb()
199 void *in, *out; in convert() local
250 out = mmap(0, outsize, PROT_WRITE, MAP_SHARED, ofd, 0); in convert()
251 FAILIF(out == MAP_FAILED, "could not mmap output file: %s (%d)\n", in convert()
262 out + header_size, outsize - header_size, in convert()
/development/tools/mkstubs/src/com/android/mkstubs/
DMain.java109 System.out.println(String.format(msg, params)); in debug()
115 System.out.println(String.format(msg, params)); in info()
254 System.out.println("ERROR: " + error); in usage()
257 …System.out.println("Usage: mkstub [--h|--s|--v] input.jar output.jar [excluded-class @excluded-cla… in usage()
259 System.out.println("Options:\n" + in usage()
264 System.out.println("Include syntax:\n" + in usage()
269 System.out.println("Exclude syntax:\n" + in usage()
/development/samples/Vault/src/com/example/android/vault/
DUtils.java50 final OutputStream out = new FileOutputStream(file); in writeFully() local
52 out.write(data); in writeFully()
54 out.close(); in writeFully()
/development/tools/
Dmake_key63 openssl req -new -x509 ${hash} -key ${two} -out $1.x509.pem \
68 openssl pkcs8 -in ${one} -topk8 -outform DER -out $1.pk8 -nocrypt
72 openssl pkcs8 -in ${one} -topk8 -outform DER -out $1.pk8 \
/development/tools/axl/
Dchewperf.py31 out = []
39 out.append("%s %d" % (line, (tm - last)))
42 out.append(line)
43 print "\n".join(out)
/development/perftests/panorama/feature_stab/src/dbreg/
Dvp_motionmodel.c90 int inv4Mat(const VP_MOTION* in, VP_MOTION* out) in inv4Mat() argument
102 if (((VP_MOTION *) NULL == in) || ((VP_MOTION *) NULL == out)) { in inv4Mat()
138 out->par[k]=(VP_PAR)outmat[i][j]; /*lint !e771*/ in inv4Mat()
179 int vp_invert_motion(const VP_MOTION* in,VP_MOTION* out) in vp_invert_motion() argument
184 if (((VP_MOTION *) NULL == in) || ((VP_MOTION *) NULL == out)) { in vp_invert_motion()
192 if (inv4Mat(in,out)<0) in vp_invert_motion()
196 out->type = in->type; in vp_invert_motion()
198 out->refid=in->insid; in vp_invert_motion()
199 out->insid=refid; in vp_invert_motion()
338 int vp_zoom_motion2d(VP_MOTION* in, VP_MOTION* out, in vp_zoom_motion2d() argument
[all …]
/development/tools/hosttestlib/src/com/android/hosttest/
DDeviceConnector.java54 System.out.println("Waiting for device..."); in connectToDevice()
62 System.out.println(String.format("Connected to %s", device.getSerialNumber())); in connectToDevice()
103 System.out.println("Waiting for device interrupted"); in waitForDevice()

1234567