/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_sort.py | 9 def check(tag, expected, raw, compare=None): 15 orig = raw[:] # save input in case of error 17 raw.sort(compare) 19 raw.sort() 21 if len(expected) != len(raw): 23 print "length mismatch;", len(expected), len(raw) 26 print raw 31 maybe = raw[i] 37 print raw
|
test_binascii.py | 42 raw = self.rawdata[:MAX_ALL] 47 a = b2a(self.type2test(raw)) 54 self.assertEqual(res, raw, "{}/{} conversion: " 55 "{!r} != {!r}".format(fb, fa, res, raw)) 59 self.assertIsInstance(binascii.crc_hqx(raw, 0), int) 60 self.assertIsInstance(binascii.crc32(raw), int)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_sort.py | 9 def check(tag, expected, raw, compare=None): 15 orig = raw[:] # save input in case of error 17 raw.sort(compare) 19 raw.sort() 21 if len(expected) != len(raw): 23 print "length mismatch;", len(expected), len(raw) 26 print raw 31 maybe = raw[i] 37 print raw
|
test_binascii.py | 42 raw = self.rawdata[:MAX_ALL] 47 a = b2a(self.type2test(raw)) 54 self.assertEqual(res, raw, "{}/{} conversion: " 55 "{!r} != {!r}".format(fb, fa, res, raw)) 59 self.assertIsInstance(binascii.crc_hqx(raw, 0), int) 60 self.assertIsInstance(binascii.crc32(raw), int)
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
data_builder.c | 84 /** Gets last value of raw compass data. 85 * @param[out] raw Raw compass data in mounting frame in hardware units. Length 3. 87 void inv_get_raw_compass(short *raw) 89 memcpy(raw, sensors.compass.raw, sizeof(sensors.compass.raw)); 456 /** Takes raw data stored in the sensor, removes bias, and converts it to 457 * calibrated data in the body frame. Also store raw data for body frame. 466 // Convert raw to calibrate [all...] |
/packages/apps/Contacts/src/com/android/contacts/activities/ |
AttachPhotoActivity.java | 203 * If prerequisites have been met, attach the photo to a raw-contact and save. 210 // Obtain the raw-contact that we will save to. 212 RawContactDelta raw = deltaList.getFirstWritableRawContact(this); local 213 if (raw == null) { 214 Log.w(TAG, "no writable raw-contact found"); 242 AccountType account = raw.getRawContactAccountType(this); 244 RawContactModifier.ensureKindExists(raw, account, Photo.CONTENT_ITEM_TYPE); 259 raw.getRawContactId(),
|
/frameworks/base/services/java/com/android/server/ |
NsdService.java | 392 if (!handleNativeEvent(event.code, event.raw, 393 NativeDaemonEvent.unescapeArgs(event.raw))) { 404 private boolean handleNativeEvent(int code, String raw, String[] cooked) { 432 if (DBG) Slog.d(TAG, "SERVICE_FOUND Raw: " + raw); 439 if (DBG) Slog.d(TAG, "SERVICE_LOST Raw: " + raw); 446 if (DBG) Slog.d(TAG, "SERVICE_DISC_FAILED Raw: " + raw); 452 if (DBG) Slog.d(TAG, "SERVICE_REGISTERED Raw: " + raw) 622 final String raw; field in class:NsdService.NativeEvent [all...] |
/cts/suite/cts/hostTests/jank/src/com/android/cts/jank/ |
CtsHostJankTest.java | 84 byte[] raw = new byte[length]; 86 raw[i] = data[i + offset]; 88 sb.append(new String(raw));
|
/external/chromium/chrome/browser/extensions/ |
convert_user_script.cc | 75 char raw[crypto::SHA256_LENGTH] = {0}; local 77 crypto::SHA256HashString(script_name, raw, crypto::SHA256_LENGTH); 78 base::Base64Encode(std::string(raw, crypto::SHA256_LENGTH), &key);
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/packets/ |
TypesReader.java | 120 byte raw[] = readByteString(); 122 if (raw.length == 0) 125 b = new BigInteger(raw);
|
/external/oauth/core/src/main/java/net/oauth/http/ |
HttpMessage.java | 103 InputStream raw = openBody(); local 104 if (raw != null) { 105 body = new ExcerptInputStream(raw);
|
/external/smack/src/org/xbill/DNS/utils/ |
base32.java | 150 byte [] raw = str.getBytes(); 151 for (int i = 0; i < raw.length; i++) 153 char c = (char) raw[i];
|
/cts/tests/tests/os/src/android/os/storage/cts/ |
StorageManagerTest.java | 64 final String canonPath = mountObb(R.raw.test1, outFile, OnObbStateChangeListener.MOUNTED); 66 mountObb(R.raw.test1, outFile, OnObbStateChangeListener.ERROR_ALREADY_MOUNTED); 85 mountObb(R.raw.test1_nosig, outFile, OnObbStateChangeListener.ERROR_INTERNAL); 103 mountObb(R.raw.test1_wrongpackage, outFile, 123 ObbObserver oo1 = mountObbWithoutWait(R.raw.test1, file1); 124 ObbObserver oo2 = mountObbWithoutWait(R.raw.test1, file2);
|
/external/chromium_org/third_party/openssl/openssl/crypto/pem/ |
pem_info.c | 101 unsigned int i,raw,ptype; local 118 raw=0; 184 raw=1; 206 raw=1; 228 raw=1; 239 if (!raw)
|
/external/kernel-headers/original/linux/ |
dccp.h | 250 return (struct dccp_hdr *)skb->h.raw; 255 return (struct dccp_hdr_ext *)(skb->h.raw + sizeof(struct dccp_hdr)); 284 return (struct dccp_hdr_request *)(skb->h.raw + dccp_basic_hdr_len(skb)); 289 return (struct dccp_hdr_ack_bits *)(skb->h.raw + dccp_basic_hdr_len(skb)); 300 return (struct dccp_hdr_response *)(skb->h.raw + dccp_basic_hdr_len(skb)); 305 return (struct dccp_hdr_reset *)(skb->h.raw + dccp_basic_hdr_len(skb));
|
/external/openssl/crypto/pem/ |
pem_info.c | 101 unsigned int i,raw,ptype; local 118 raw=0; 184 raw=1; 206 raw=1; 228 raw=1; 239 if (!raw)
|
/external/tcpdump/ |
print-snmp.c | 331 caddr_t raw; member in union:be::__anon26888 530 elem->data.raw = (caddr_t)p; 535 elem->data.raw = NULL; 540 elem->data.raw = (caddr_t)p; 551 elem->data.raw = (caddr_t)p; 584 elem->data.raw = (caddr_t)p; 595 elem->data.raw = NULL; 600 elem->data.raw = NULL; 605 elem->data.raw = NULL; 615 elem->data.raw = (caddr_t)p [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
MountServiceTests.java | 217 mountObb(sm, R.raw.test1, outFile, OnObbStateChangeListener.MOUNTED); 219 mountObb(sm, R.raw.test1, outFile, OnObbStateChangeListener.ERROR_ALREADY_MOUNTED); 236 mountObb(sm, R.raw.test1_nosig, outFile, OnObbStateChangeListener.ERROR_INTERNAL); 251 mountObb(sm, R.raw.test1_wrongpackage, outFile, 268 ObbObserver oo1 = mountObbWithoutWait(sm, R.raw.test1, file1); 269 ObbObserver oo2 = mountObbWithoutWait(sm, R.raw.test1, file2);
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
TestAppRS.java | 159 mPaintF = createFromResource(R.raw.paintf, true, camParamType); 164 mAluminumF = createFromResource(R.raw.metal, true, camParamType); 168 mPlasticF = createFromResource(R.raw.plastic, false, camParamType); 169 mDiffuseF = createFromResource(R.raw.diffuse, false, camParamType); 174 fb.setShader(mRes, R.raw.plastic_lights); 179 fb.setShader(mRes, R.raw.diffuse_lights);
|
/packages/wallpapers/NoiseField/src/com/android/noisefield/ |
NoiseFieldRS.java | 69 mScript = new ScriptC_noisefield(mRS, mRes, R.raw.noisefield); 122 // first then translated to the csv file in raw. Points and colors are not random. 124 InputStream inputStream = mRes.openRawResource(R.raw.bgmesh); 177 backgroundBuilder.setShader(mRes, R.raw.bg_vs); 186 builder.setShader(mRes, R.raw.noisefield_vs); 198 backgroundBuilder.setShader(mRes, R.raw.bg_fs); 203 builder.setShader(mRes, R.raw.noisefield_fs);
|
/packages/wallpapers/PhaseBeam/src/com/android/phasebeam/ |
PhaseBeamRS.java | 79 mScript = new ScriptC_phasebeam(mRS, mRes, R.raw.phasebeam); 137 // first then translated to the csv file in raw. Points and colors are not random. 139 InputStream inputStream = mRes.openRawResource(R.raw.bgmesh); 194 backgroundBuilder.setShader(mRes, R.raw.bg_vs); 202 builder.setShader(mRes, R.raw.dot_vs); 214 backgroundBuilder.setShader(mRes, R.raw.bg_fs); 219 builder.setShader(mRes, R.raw.dot_fs);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
audiodev.py | 83 for (raw, cooked) in self.frameratelist: 84 if rate == raw: 92 for (raw, cooked) in self.sampwidthlist: 93 if width == raw: 107 for (raw, cooked) in self.nchannelslist: 108 if nchannels == raw:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
audiodev.py | 83 for (raw, cooked) in self.frameratelist: 84 if rate == raw: 92 for (raw, cooked) in self.sampwidthlist: 93 if width == raw: 107 for (raw, cooked) in self.nchannelslist: 108 if nchannels == raw:
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
GetElementAt.java | 59 script_x = new ScriptC_get_element_at_x(mRS, mRes, R.raw.get_element_at_x); 76 script_xy = new ScriptC_get_element_at_x_y(mRS, mRes, R.raw.get_element_at_x_y);
|
/external/chromium/chrome/browser/resources/shared/js/ |
media_common.js | 10 return /\.(aac|aiff|atrac|cda|flac|m4a|mp3|pcm|oga|ogg|raw|wav)$/i.test(path);
|