Home
last modified time | relevance | path

Searched refs:s (Results 1 – 25 of 564) sorted by relevance

12345678910>>...23

/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities_indexing.h88 inline int db_MaxIndex2(double s[2]) in db_MaxIndex2()
90 if(s[0]>=s[1]) return(0); in db_MaxIndex2()
94 inline int db_MaxIndex3(const double s[3]) in db_MaxIndex3()
99 best=s[0];pos=0; in db_MaxIndex3()
100 if(s[1]>best){best=s[1];pos=1;} in db_MaxIndex3()
101 if(s[2]>best){best=s[2];pos=2;} in db_MaxIndex3()
105 inline int db_MaxIndex4(const double s[4]) in db_MaxIndex4()
110 best=s[0];pos=0; in db_MaxIndex4()
111 if(s[1]>best){best=s[1];pos=1;} in db_MaxIndex4()
112 if(s[2]>best){best=s[2];pos=2;} in db_MaxIndex4()
[all …]
Ddb_utilities_linalg.cpp33 double s,temp; in db_CholeskyDecomp6x6() local
37 s=A[0]; in db_CholeskyDecomp6x6()
38 d[0]=((s>0.0)?sqrt(s):1.0); in db_CholeskyDecomp6x6()
46 s=A[7]-A[6]*A[6]; in db_CholeskyDecomp6x6()
47 d[1]=((s>0.0)?sqrt(s):1.0); in db_CholeskyDecomp6x6()
54 s=A[14]-A[12]*A[12]-A[13]*A[13]; in db_CholeskyDecomp6x6()
55 d[2]=((s>0.0)?sqrt(s):1.0); in db_CholeskyDecomp6x6()
61 s=A[21]-A[18]*A[18]-A[19]*A[19]-A[20]*A[20]; in db_CholeskyDecomp6x6()
62 d[3]=((s>0.0)?sqrt(s):1.0); in db_CholeskyDecomp6x6()
67 s=A[28]-A[24]*A[24]-A[25]*A[25]-A[26]*A[26]-A[27]*A[27]; in db_CholeskyDecomp6x6()
[all …]
Ddb_utilities_camera.h126 double s,mult; in db_OrthonormalizeRotation() local
128 s=db_sqr(R[0])+db_sqr(R[1])+db_sqr(R[2]); in db_OrthonormalizeRotation()
129 mult=sqrt(1.0/(s?s:1)); in db_OrthonormalizeRotation()
132 s=R[0]*R[3]+R[1]*R[4]+R[2]*R[5]; in db_OrthonormalizeRotation()
133 R[3]-=s*R[0]; R[4]-=s*R[1]; R[5]-=s*R[2]; in db_OrthonormalizeRotation()
135 s=db_sqr(R[3])+db_sqr(R[4])+db_sqr(R[5]); in db_OrthonormalizeRotation()
136 mult=sqrt(1.0/(s?s:1)); in db_OrthonormalizeRotation()
263 inline void db_MultiplyScaleOntoImageHomography(double H[9],double s) in db_MultiplyScaleOntoImageHomography() argument
266 H[0]*=s; in db_MultiplyScaleOntoImageHomography()
267 H[1]*=s; in db_MultiplyScaleOntoImageHomography()
[all …]
Ddb_feature_detection.cpp365 inline void db_HarrisStrength_row_f(float **s,float *gxx,float *gxy,float *gyy,int i,int j,int chun… in db_HarrisStrength_row_f() argument
378 s[i][j+c]=det-0.06f*trc*trc; in db_HarrisStrength_row_f()
494 inline void db_HarrisStrength_row_s(float *s,int *gxx,int *gxy,int *gyy,int nc) in db_HarrisStrength_row_s() argument
513 mov edx,s in db_HarrisStrength_row_s()
608 s[c]=det-k*trc*trc; in db_HarrisStrength_row_s()
616 inline void db_HarrisStrengthChunk_f(float **s,const float * const *img,int left,int top,int right,… in db_HarrisStrengthChunk_f() argument
651 db_HarrisStrength_row_f(s,gxx,gxy,gyy,i,left,chunk_width); in db_HarrisStrengthChunk_f()
659 inline void db_HarrisStrengthChunk_u(float **s,const unsigned char * const *img,int left,int top,in… in db_HarrisStrengthChunk_u() argument
691 db_HarrisStrength_row_s(s[i]+left,gxx,gxy,gyy,nc); in db_HarrisStrengthChunk_u()
700 void db_HarrisStrength_f(float **s,const float * const *img,int w,int h, in db_HarrisStrength_f() argument
[all …]
Ddb_rob_image_homography.cpp682 int s[4]; in db_RobImageHomography() local
862 db_RandomSample(s,3,point_count,r_seed); in db_RobImageHomography()
863 X[0]= &x_i[s[0]<<1]; in db_RobImageHomography()
864 X[1]= &x_i[s[1]<<1]; in db_RobImageHomography()
865 X[2]= &x_i[s[2]<<1]; in db_RobImageHomography()
866 Xp[0]= &xp_i[s[0]<<1]; in db_RobImageHomography()
867 Xp[1]= &xp_i[s[1]<<1]; in db_RobImageHomography()
868 Xp[2]= &xp_i[s[2]<<1]; in db_RobImageHomography()
878 db_RandomSample(s,2,point_count,r_seed); in db_RobImageHomography()
880 &x_h[3*s[0]],&x_h[3*s[1]], in db_RobImageHomography()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/analytics/
DAnalyticsUtils.java26 final String s; in getMenuItemString() local
28 s = "archive"; in getMenuItemString()
30 s = "remove_folder"; in getMenuItemString()
32 s = "delete"; in getMenuItemString()
34 s = "discard_drafts"; in getMenuItemString()
36 s = "discard_outbox"; in getMenuItemString()
38 s = "mark important"; in getMenuItemString()
40 s = "mark not important"; in getMenuItemString()
42 s = "mute"; in getMenuItemString()
44 s = "report_phishing"; in getMenuItemString()
[all …]
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_wordlist.combined.gz
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dreader.h214 explicit StreamLocalCopy(Stream& original) : s(original), original_(original) {} in StreamLocalCopy()
215 ~StreamLocalCopy() { original_ = s; } in ~StreamLocalCopy()
217 Stream s; variable
229 explicit StreamLocalCopy(Stream& original) : s(original) {} in StreamLocalCopy()
231 Stream& s; variable
249 InputStream& s(copy.s); in SkipWhitespace()
251 while (s.Peek() == ' ' || s.Peek() == '\n' || s.Peek() == '\r' || s.Peek() == '\t') in SkipWhitespace()
252 s.Take(); in SkipWhitespace()
277 const __m128i s = _mm_load_si128((const __m128i *)p); in SkipWhitespace_SIMD() local
278 …const unsigned r = _mm_cvtsi128_si32(_mm_cmpistrm(w, s, _SIDD_UBYTE_OPS | _SIDD_CMP_EQUAL_ANY | _S… in SkipWhitespace_SIMD()
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DCapsModeUtilsTests.java51 final int s = TextUtils.CAP_MODE_SENTENCES; in allPathsForCaps() local
52 onePathForCaps(cs, expectedResult, c | w | s, sp, hasSpaceBefore); in allPathsForCaps()
53 onePathForCaps(cs, expectedResult, w | s, sp, hasSpaceBefore); in allPathsForCaps()
54 onePathForCaps(cs, expectedResult, c | s, sp, hasSpaceBefore); in allPathsForCaps()
58 onePathForCaps(cs, expectedResult, s, sp, hasSpaceBefore); in allPathsForCaps()
65 final int s = TextUtils.CAP_MODE_SENTENCES; in testGetCapsMode() local
74 allPathsForCaps("", c | w | s, sp, false); in testGetCapsMode()
78 allPathsForCaps("Word. ", c | w | s, sp, false); in testGetCapsMode()
80 allPathsForCaps("Word.. ", c | w | s, sp, false); in testGetCapsMode()
81 allPathsForCaps("Word... ", c | w | s, sp, false); in testGetCapsMode()
[all …]
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DStringUtil.java264 public static String trimStart(String s) { in trimStart() argument
265 return trimStart(s, null); in trimStart()
280 public static String trimStart(String s, String extraChars) { in trimStart() argument
282 while (trimCount < s.length()) { in trimStart()
283 char ch = s.charAt(trimCount); in trimStart()
293 return s; in trimStart()
295 return s.substring(trimCount); in trimStart()
305 public static String trimEnd(String s) { in trimEnd() argument
306 return trimEnd(s, null); in trimEnd()
321 public static String trimEnd(String s, String extraChars) { in trimEnd() argument
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/
Drapidjsontest.cpp68 InsituStringStream s(temp_); in TEST_F() local
71 EXPECT_TRUE(reader.Parse<kParseInsituFlag>(s, h)); in TEST_F()
78 InsituStringStream s(temp_); in TEST_F() local
81 EXPECT_TRUE(reader.Parse<kParseInsituFlag | kParseValidateEncodingFlag>(s, h)); in TEST_F()
87 StringStream s(json_); in TEST_F() local
90 EXPECT_TRUE(reader.Parse(s, h)); in TEST_F()
96 StringStream s(json_); in TEST_F() local
99 EXPECT_TRUE(reader.Parse<kParseFullPrecisionFlag>(s, h)); in TEST_F()
105 StringStream s(json_); in TEST_F() local
108 EXPECT_TRUE(reader.Parse<kParseIterativeFlag>(s, h)); in TEST_F()
[all …]
/packages/apps/DocumentsUI/tests/res/raw/
Dimages_tar8 …���ɫBH�����ߝ�o���Q���'$�I`�6�� KV��+�#�'u,��\��%&1\��r}�''��)���SrѨ�'s~�`{�0��.o��� E��k3…
9 d�q�s����7���w@>��/��.�&�����Zxe�O�?�&�T7�������%�Ą�&� G�
10 :s��z^G�-��8��+�?�4��V��FIً�NR���?`3/e*x?V,iy��&��Q�����^I1��C�,|�}$ ��M+�х����,�.�|<C�s…
11 s�?��H�����f�
17 g!d���+ߏ �������h�̌�f��Q����z+�Ȫk O�q����:$B�_�;��䶢���o�s�e}�J�)��h)ΞD[�&Z�/��gY�MN…
19s�DmD�D��|/#�Y�T��J\�r4�= ��������˜�\IP�.���5��`�S-�#��S�컇J��EEq9���h�\�M~��x(��J<�…
26 �R�u�fo�?��J⁴���-{��87o(��d]aRK�� ]��� K纫�|T�s�->^v���������D�6�B�j���;���YN��7��J�ͥ�y…
27 …�oE����cK�67�Z?��F�D�=�t��>N��?�"�D6���P6f�u7/ac�(��������S::�n��'j's��;X�r��>����y�ڱ�6J…
28 0�d�M�B�=h��@��uu�@��%ə&�ĭ�cyo�J%\'/+7�,�����b��&��FKf8��~9��0�>'<u��s]��}��+�LK&�(�…
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/
DImapStringTest.java62 final ImapSimpleString s = new ImapSimpleString("AbcD"); in testBasics() local
63 assertFalse(s.isEmpty()); in testBasics()
64 assertEquals("AbcD", s.getString()); in testBasics()
65 assertEquals("AbcD", Utility.fromAscii(IOUtils.toByteArray(s.getAsStream()))); in testBasics()
67 assertFalse(s.isNumber()); in testBasics()
68 assertFalse(s.isDate()); in testBasics()
70 assertFalse(s.is(null)); in testBasics()
71 assertFalse(s.is("")); in testBasics()
72 assertTrue(s.is("abcd")); in testBasics()
73 assertFalse(s.is("abc")); in testBasics()
[all …]
/packages/apps/Camera2/src/com/android/camera/ui/
DMarginDrawable.java58 RectF s = mScreen; in draw() local
59 if (s.top < s.bottom && s.left < s.right) { in draw()
61 if (s.top > 0) { in draw()
62 canvas.drawRect(0, 0, cb.right, s.top + 1, mPaint); in draw()
64 if (s.left > 0) { in draw()
65 canvas.drawRect(0, s.top, s.left + 1, s.bottom, mPaint); in draw()
67 if (s.right < cb.right) { in draw()
68 canvas.drawRect(s.right - 1, s.top, cb.right, s.bottom, mPaint); in draw()
70 if (s.bottom < cb.bottom) { in draw()
71 canvas.drawRect(0, s.bottom - 1, cb.right, cb.bottom, mPaint); in draw()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dencodedstreamtest.cpp88 StringStream s(json_); in TestEncodedInputStream() local
92 EXPECT_TRUE(UTF8<>::Decode(s, &expected)); in TestEncodedInputStream()
96 EXPECT_EQ('\0', s.Peek()); in TestEncodedInputStream()
106 StringStream s(json_); in TestEncodedInputStream() local
110 EXPECT_TRUE(UTF8<>::Decode(s, &expected)); in TestEncodedInputStream()
114 EXPECT_EQ('\0', s.Peek()); in TestEncodedInputStream()
129 StringStream s(json_); in TestAutoUTFInputStream() local
132 EXPECT_TRUE(UTF8<>::Decode(s, &expected)); in TestAutoUTFInputStream()
136 EXPECT_EQ('\0', s.Peek()); in TestAutoUTFInputStream()
147 StringStream s(json_); in TestAutoUTFInputStream() local
[all …]
Dreadertest.cpp42 StringStream s("true"); in TEST() local
45 reader.Parse(s, h); in TEST()
50 StringStream s("false"); in TEST() local
53 reader.Parse(s, h); in TEST()
105 StringStream s(str); \ in TEST()
108 reader.Parse(s, h); \ in TEST()
180 StringStream s(str); \ in TestParseDouble()
183 …ASSERT_EQ(kParseErrorNone, reader.Parse<fullPrecision ? kParseFullPrecisionFlag : 0>(s, h).Code())… in TestParseDouble()
322 StringStream s(buffer); in TestParseDouble() local
324 …ASSERT_EQ(kParseErrorNone, reader.Parse<fullPrecision ? kParseFullPrecisionFlag : 0>(s, h).Code()); in TestParseDouble()
[all …]
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeUtility.java53 public static String unfold(String s) { in unfold() argument
54 if (s == null) { in unfold()
57 Matcher patternMatcher = PATTERN_CR_OR_LF.matcher(s); in unfold()
60 s = patternMatcher.replaceAll(""); in unfold()
62 return s; in unfold()
65 public static String decode(String s) { in decode() argument
66 if (s == null) { in decode()
69 return DecoderUtil.decodeEncodedWords(s, DecodeMonitor.STRICT); in decode()
72 public static String unfoldAndDecode(String s) { in unfoldAndDecode() argument
73 return decode(unfold(s)); in unfoldAndDecode()
[all …]
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
DMimeUtility.java56 public static String unfold(String s) { in unfold() argument
57 if (s == null) { in unfold()
60 Matcher patternMatcher = PATTERN_CR_OR_LF.matcher(s); in unfold()
63 s = patternMatcher.replaceAll(""); in unfold()
65 return s; in unfold()
68 public static String decode(String s) { in decode() argument
69 if (s == null) { in decode()
72 return DecoderUtil.decodeEncodedWords(s); in decode()
75 public static String unfoldAndDecode(String s) { in unfoldAndDecode() argument
76 return decode(unfold(s)); in unfoldAndDecode()
[all …]
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
DRatingSystemsFragment.java51 for (ContentRatingSystem s : contentRatingSystems) { in getDescription()
52 if (!tvActivity.getParentalControlSettings().isContentRatingSystemEnabled(s)) { in getDescription()
55 builder.append(s.getDisplayName()); in getDescription()
86 for (ContentRatingSystem s : contentRatingSystems) { in getItemList()
87 if (!s.isCustom() in getItemList()
88 && s.getCountries() != null in getItemList()
89 && s.getCountries().contains(Locale.getDefault().getCountry())) { in getItemList()
90 items.add(new RatingSystemItem(s)); in getItemList()
91 } else if (s.isCustom() || parentalControlSettings.isContentRatingSystemEnabled(s)) { in getItemList()
92 items.add(new RatingSystemItem(s)); in getItemList()
[all …]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/
DMimeBoundaryInputStream.java39 private PushbackInputStream s = null; field in MimeBoundaryInputStream
51 public MimeBoundaryInputStream(InputStream s, String boundary) in MimeBoundaryInputStream() argument
54 this.s = new PushbackInputStream(s, boundary.length() + 4); in MimeBoundaryInputStream()
68 this.s.unread(b); in MimeBoundaryInputStream()
78 s.close(); in close()
128 int b1 = s.read(); in read()
129 int b2 = s.read(); in read()
138 s.unread(b2); in read()
150 int b = s.read(); in matchBoundary()
153 s.unread(b); in matchBoundary()
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
DPropertiesProvisioningDataParser.java138 String s = null; in parse() local
148 if ((s = getPropertyFromLongName( in parse()
151 builder.setDeviceAdminComponentName(ComponentName.unflattenFromString(s)); in parse()
158 if ((s = getPropertyFromLongName(props, EXTRA_PROVISIONING_LOCAL_TIME)) != null) { in parse()
159 builder.setLocalTime(Long.parseLong(s)); in parse()
172 if ((s = getPropertyFromLongName( in parse()
174 builder.setLeaveAllSystemAppsEnabled(Boolean.parseBoolean(s)); in parse()
176 if ((s = getPropertyFromLongName( in parse()
178 builder.setSkipEncryption(Boolean.parseBoolean(s)); in parse()
180 if ((s = getPropertyFromLongName( in parse()
[all …]
/packages/apps/Gallery2/jni_jpegstream/src/
Djpeg_hook.cpp112 SourceManager *s = reinterpret_cast<SourceManager*>(cinfo->src); in Mgr_init_source_fcn() local
113 s->start_of_file = TRUE; in Mgr_init_source_fcn()
171 SourceManager *s = reinterpret_cast<SourceManager*>(cinfo->src); in MakeSrc() local
172 s->start_of_file = TRUE; in MakeSrc()
173 s->mgr.init_source = Mgr_init_source_fcn; in MakeSrc()
174 s->mgr.fill_input_buffer = Mgr_fill_input_buffer_fcn; in MakeSrc()
175 s->mgr.skip_input_data = Mgr_skip_input_data_fcn; in MakeSrc()
176 s->mgr.resync_to_restart = jpeg_resync_to_restart; // use default restart in MakeSrc()
177 s->mgr.term_source = Mgr_term_source_fcn; in MakeSrc()
178 s->inStream = new InputStreamWrapper(); in MakeSrc()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DPath.java100 public static Path fromString(String s) { in fromString() argument
102 String[] segments = split(s); in fromString()
126 public static String[] split(String s) { in split() argument
127 int n = s.length(); in split()
129 if (s.charAt(0) != '/') { in split()
130 throw new RuntimeException("malformed path:" + s); in split()
138 char c = s.charAt(j); in split()
144 throw new RuntimeException("unbalanced brace in path:" + s); in split()
146 segments.add(s.substring(i, j)); in split()
156 public static String[] splitSequence(String s) { in splitSequence() argument
[all …]

12345678910>>...23