/external/chromium_org/tools/grit/grit/tool/ |
toolbar_preprocess.py | 46 line = '%s//' % mm.group(1) 55 line = '%s_%s_%s%s' % (mo.group(1), mo.group(2), mo.group(3), mo.group(4))
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
Hex.java | 35 public static String encodeHex(byte[] data, int group) { 37 char[] out = new char[(l << 1) + (group > 0 ? (l / group) : 0)]; 40 if ((group > 0) && ((i % group) == 0) && j > 0) {
|
/frameworks/opt/net/voip/src/java/android/net/rtp/ |
AudioStream.java | 79 * Joins an {@link AudioGroup}. Each stream can join only one group at a 80 * time. The group can be changed by passing a different one or removed 83 * @param group The AudioGroup to join or {@code null} to leave. 87 public void join(AudioGroup group) { 89 if (mGroup == group) { 96 if (group != null) { 97 group.add(this); 98 mGroup = group;
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/ |
ObexTime.java | 45 * (except group 8 which is either + or -) 49 cal.set(Integer.parseInt(m.group(1)), Integer.parseInt(m.group(2)) - 1, 50 Integer.parseInt(m.group(3)), Integer.parseInt(m.group(4)), 51 Integer.parseInt(m.group(5)), Integer.parseInt(m.group(6))); 54 * if 7th group is matched then we have UTC offset information 57 if (m.group(7) != null) { 58 int ohh = Integer.parseInt(m.group(9)) [all...] |
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/utils/ |
ObexTime.java | 45 * (except group 8 which is either + or -) 49 cal.set(Integer.parseInt(m.group(1)), Integer.parseInt(m.group(2)) - 1, 50 Integer.parseInt(m.group(3)), Integer.parseInt(m.group(4)), 51 Integer.parseInt(m.group(5)), Integer.parseInt(m.group(6))); 54 * if 7th group is matched then we have UTC offset information 57 if (m.group(7) != null) { 58 int ohh = Integer.parseInt(m.group(9)) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
TwoStatePreferenceHelper.java | 34 public static void replaceCheckBoxPreferencesBySwitchPreferences(final PreferenceGroup group) { 41 replaceAllCheckBoxPreferencesBySwitchPreferences(group); 45 final PreferenceGroup group) { 47 final int count = group.getPreferenceCount(); 49 preferences.add(group.getPreference(index)); 51 group.removeAll(); 55 addSwitchPreferenceBasedOnCheckBoxPreference((CheckBoxPreference)preference, group); 57 group.addPreference(preference); 66 final PreferenceGroup group) { 79 group.addPreference(switchPref) [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/ec/ |
ec2_oct.c | 91 int ec_GF2m_simple_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *point, 117 if (!BN_GF2m_mod_arr(x, x_, group->poly)) goto err; 120 if (!BN_GF2m_mod_sqrt_arr(y, &group->b, group->poly, ctx)) goto err; 124 if (!group->meth->field_sqr(group, tmp, x, ctx)) goto err; 125 if (!group->meth->field_div(group, tmp, &group->b, tmp, ctx)) goto err; 126 if (!BN_GF2m_add(tmp, &group->a, tmp)) goto err [all...] |
ectest.c | 116 static void timings(EC_GROUP *group, int type, BN_CTX *ctx) 127 fprintf(stdout, "Timings for %d-bit field, ", EC_GROUP_get_degree(group)); 128 if (!EC_GROUP_get_order(group, s, ctx)) ABORT; 132 P = EC_POINT_new(group); 134 EC_POINT_copy(P, EC_GROUP_get0_generator(group)); 152 if (!EC_POINT_mul(group, P, (type != TIMING_RAND_PT) ? r[i] : NULL, 195 /* test multiplication with group order, long and negative scalars */ 196 static void group_order_tests(EC_GROUP *group) 199 EC_POINT *P = EC_POINT_new(group); 200 EC_POINT *Q = EC_POINT_new(group); 242 EC_GROUP *group; local 786 EC_GROUP *group; local 1240 EC_GROUP *group = NULL; local [all...] |
ec_key.c | 84 ret->group = NULL; 99 ret->group = EC_GROUP_new_by_curve_name(nid); 100 if (ret->group == NULL) 127 if (r->group != NULL) 128 EC_GROUP_free(r->group); 151 if (src->group) 153 const EC_METHOD *meth = EC_GROUP_method_of(src->group); 154 /* clear the old group */ 155 if (dest->group) 156 EC_GROUP_free(dest->group); [all...] |
/external/openssl/crypto/ec/ |
ec2_oct.c | 91 int ec_GF2m_simple_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *point, 117 if (!BN_GF2m_mod_arr(x, x_, group->poly)) goto err; 120 if (!BN_GF2m_mod_sqrt_arr(y, &group->b, group->poly, ctx)) goto err; 124 if (!group->meth->field_sqr(group, tmp, x, ctx)) goto err; 125 if (!group->meth->field_div(group, tmp, &group->b, tmp, ctx)) goto err; 126 if (!BN_GF2m_add(tmp, &group->a, tmp)) goto err [all...] |
ectest.c | 116 static void timings(EC_GROUP *group, int type, BN_CTX *ctx) 127 fprintf(stdout, "Timings for %d-bit field, ", EC_GROUP_get_degree(group)); 128 if (!EC_GROUP_get_order(group, s, ctx)) ABORT; 132 P = EC_POINT_new(group); 134 EC_POINT_copy(P, EC_GROUP_get0_generator(group)); 152 if (!EC_POINT_mul(group, P, (type != TIMING_RAND_PT) ? r[i] : NULL, 195 /* test multiplication with group order, long and negative scalars */ 196 static void group_order_tests(EC_GROUP *group) 199 EC_POINT *P = EC_POINT_new(group); 200 EC_POINT *Q = EC_POINT_new(group); 242 EC_GROUP *group; local 786 EC_GROUP *group; local 1240 EC_GROUP *group = NULL; local [all...] |
ec_key.c | 84 ret->group = NULL; 100 ret->group = EC_GROUP_new_by_curve_name(nid); 101 if (ret->group == NULL) 128 if (r->group != NULL) 129 EC_GROUP_free(r->group); 152 if (src->group) 154 const EC_METHOD *meth = EC_GROUP_method_of(src->group); 155 /* clear the old group */ 156 if (dest->group) 157 EC_GROUP_free(dest->group); [all...] |
/external/e2fsprogs/lib/ext2fs/ |
blknum.c | 17 * Return the group # of a block 26 * Return the first block (inclusive) in a group 28 blk64_t ext2fs_group_first_block2(ext2_filsys fs, dgrp_t group) 31 ((blk64_t)group * fs->super->s_blocks_per_group); 35 * Return the last block (inclusive) in a group 37 blk64_t ext2fs_group_last_block2(ext2_filsys fs, dgrp_t group) 39 return (group == fs->group_desc_count - 1 ? 41 ext2fs_group_first_block2(fs, group) + 46 * Return the number of blocks in a group 48 int ext2fs_group_blocks_count(ext2_filsys fs, dgrp_t group) [all...] |
alloc_tables.c | 33 * group of bitmaps or inode tables for a flexbg group. Returns the 37 static blk64_t flexbg_offset(ext2_filsys fs, dgrp_t group, blk64_t start_blk, 46 flexbg = group / flexbg_size; 61 last_grp = group | (flexbg_size - 1); 82 errcode_t ext2fs_allocate_group_table(ext2_filsys fs, dgrp_t group, 91 group_blk = ext2fs_group_first_block2(fs, group); 92 last_blk = ext2fs_group_last_block2(fs, group); 101 last_grp = group | (flexbg_size - 1); 104 rem_grps = last_grp - group + 1 [all...] |
/packages/providers/CalendarProvider/ |
maketests.py | 58 if m.group(7) == "+":
62 hour = int(m.group(4)) + (sign * int(m.group(8)))
63 return m.group(1) + m.group(2) + m.group(3) + "T" + fmt(hour) \
64 + m.group(5) + m.group(6) + "Z"
67 return m.group(1) + m.group(2) + m.group(3) + "T" + m.group(4) \ [all...] |
/external/chromium_org/build/android/pylib/utils/ |
reraiser_thread_unittest.py | 51 group = reraiser_thread.ReraiserThreadGroup( 53 group.StartAll() 54 group.JoinAll() 63 group = reraiser_thread.ReraiserThreadGroup() 65 group.Add(reraiser_thread.ReraiserThread(f, args=[i])) 66 group.StartAll() 67 group.JoinAll() 74 group = reraiser_thread.ReraiserThreadGroup( 76 group.StartAll() 78 group.JoinAll( [all...] |
/external/chromium_org/content/browser/appcache/ |
mock_appcache_storage.cc | 78 AppCacheGroup* group = working_set_.GetGroup(manifest_url); local 79 if (ShouldGroupLoadAppearAsync(group)) { 91 AppCacheGroup* group, AppCache* newest_cache, Delegate* delegate) { 92 DCHECK(group && delegate && newest_cache); 97 weak_factory_.GetWeakPtr(), make_scoped_refptr(group), 149 void MockAppCacheStorage::MakeGroupObsolete(AppCacheGroup* group, 152 DCHECK(group && delegate); 158 make_scoped_refptr(group), 206 scoped_refptr<AppCacheGroup> group(working_set_.GetGroup(manifest_url)); 210 if (!group.get() 343 AppCacheGroup* group = it->second.get(); local [all...] |
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLECKeyPairGenerator.java | 46 private OpenSSLECGroupContext group; field in class:OpenSSLECKeyPairGenerator 54 if (group == null) { 56 group = OpenSSLECGroupContext.getCurveByName(curveName); 59 final OpenSSLKey key = new OpenSSLKey(NativeCrypto.EC_KEY_generate_key(group.getContext())); 60 return new KeyPair(new OpenSSLECPublicKey(group, key), new OpenSSLECPrivateKey(group, key)); 71 * Store the group in a temporary variable until we know this is a valid 72 * group. 79 group = possibleGroup; 88 group = OpenSSLECGroupContext.getInstance(ecParam) [all...] |
OpenSSLECPrivateKey.java | 39 protected transient OpenSSLECGroupContext group; field in class:OpenSSLECPrivateKey 41 public OpenSSLECPrivateKey(OpenSSLECGroupContext group, OpenSSLKey key) { 42 this.group = group; 48 this.group = new OpenSSLECGroupContext(NativeCrypto.EC_GROUP_dup(origGroup)); 54 group = OpenSSLECGroupContext.getInstance(ecKeySpec.getParams()); 56 key = new OpenSSLKey(NativeCrypto.EVP_PKEY_new_EC_KEY(group.getContext(), 0, 64 OpenSSLECGroupContext group; local 66 group = OpenSSLECGroupContext.getInstance(ecPrivateKey.getParams()); 68 throw new InvalidKeyException("Unknown group parameters", e) 80 OpenSSLECGroupContext group = OpenSSLECGroupContext.getInstance(ecPrivateKey local [all...] |
/bionic/libc/bionic/ |
initgroups.c | 35 initgroups (const char *user, gid_t group) 42 if (getgrouplist(user, group, groups, &numgroups) < 0) { 46 if (getgrouplist(user,group,groups,&numgroups) < 0) {
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/targetprep/ |
SettingsToggler.java | 29 public static void setString(ITestDevice device, String group, String name, String value) 31 deleteSetting(device, group, name); 34 + " --uri content://settings/" + group 52 public static void setInt(ITestDevice device, String group, String name, int value) 54 deleteSetting(device, group, name); 57 + " --uri content://settings/" + group 74 public static void updateString(ITestDevice device, String group, String name, String value) 78 + " --uri content://settings/" + group 93 public static void updateInt(ITestDevice device, String group, String name, int value) 97 + " --uri content://settings/" + group [all...] |
/external/chromium_org/chrome/browser/renderer_context_menu/ |
context_menu_content_type_platform_app.cc | 21 bool ContextMenuContentTypePlatformApp::SupportsGroup(int group) { 30 switch (group) { 34 return ContextMenuContentType::SupportsGroup(group);
|
/external/deqp/modules/gles3/functional/ |
es3fBuiltinPrecisionTests.cpp | 41 TestCaseGroup* group = new TestCaseGroup( local 53 *group); 54 return group;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/build/ |
BaseBuilderTest.java | 32 assertEquals("C:\\java\\workspace-android\\AndroidApp\\res\\values\\strings.xml", m.group(1)); 33 assertEquals("11", m.group(2)); 34 assertEquals("WARNING: empty 'some warning text", m.group(3));
|
/external/chromium_org/chrome/browser/guest_view/web_view/ |
context_menu_content_type_web_view.h | 19 virtual bool SupportsGroup(int group) OVERRIDE;
|