Searched defs:sb (Results 1 - 25 of 39) sorted by relevance

12

/frameworks/compile/libbcc/runtime/lib/
H A Dmulvdi3.c42 di_int sb = b >> (N - 1); local
43 di_int abs_b = (b ^ sb) - sb;
46 if (sa == sb)
H A Dmulvsi3.c42 si_int sb = b >> (N - 1); local
43 si_int abs_b = (b ^ sb) - sb;
46 if (sa == sb)
H A Dmulvti3.c44 ti_int sb = b >> (N - 1); local
45 ti_int abs_b = (b ^ sb) - sb;
48 if (sa == sb)
/frameworks/av/drm/common/
H A DReadWriteUtils.cpp42 struct stat sb; local
44 if (fstat(fd, &sb) == 0 && sb.st_size > 0) {
45 off64_t length = sb.st_size;
64 struct stat sb; local
66 if (fstat(fd, &sb) == 0 && sb.st_size > 0) {
67 length = sb.st_size;
/frameworks/base/core/java/android/text/util/
H A DRfc822Tokenizer.java177 private static void crunch(StringBuilder sb) { argument
179 int len = sb.length();
182 char c = sb.charAt(i);
186 sb.charAt(i - 1) == ' ' ||
187 sb.charAt(i - 1) == '\0' ||
188 sb.charAt(i + 1) == ' ' ||
189 sb.charAt(i + 1) == '\0') {
190 sb.deleteCharAt(i);
201 if (sb.charAt(i) == '\0') {
202 sb
[all...]
/frameworks/native/libs/utils/
H A DSharedBuffer.cpp29 SharedBuffer* sb = static_cast<SharedBuffer *>(malloc(sizeof(SharedBuffer) + size)); local
30 if (sb) {
31 sb->mRefs = 1;
32 sb->mSize = size;
34 return sb;
50 SharedBuffer* sb = alloc(mSize); local
51 if (sb) {
52 memcpy(sb->data(), data(), size());
55 return sb;
69 SharedBuffer* sb local
89 SharedBuffer* sb = alloc(new_size); local
[all...]
H A Dmisc.cpp46 struct stat sb; local
48 if (stat(fileName, &sb) < 0) {
57 if (S_ISREG(sb.st_mode))
59 else if (S_ISDIR(sb.st_mode))
61 else if (S_ISCHR(sb.st_mode))
63 else if (S_ISBLK(sb.st_mode))
65 else if (S_ISFIFO(sb.st_mode))
68 else if (S_ISLNK(sb.st_mode))
70 else if (S_ISSOCK(sb.st_mode))
83 struct stat sb; local
[all...]
H A DBasicHashtable.cpp80 SharedBuffer* sb = SharedBuffer::bufferFromData(mBuckets); local
81 if (sb->onlyOwner()) {
243 SharedBuffer* sb = SharedBuffer::alloc(bytes); local
244 LOG_ALWAYS_FATAL_IF(!sb, "Could not allocate %u bytes for hashtable with %u buckets.",
246 void* buckets = sb->data();
255 SharedBuffer* sb = SharedBuffer::bufferFromData(buckets); local
256 if (sb->release(SharedBuffer::eKeepStorage) == 1) {
258 SharedBuffer::dealloc(sb);
H A DVectorImpl.cpp88 SharedBuffer* sb = SharedBuffer::bufferFromData(mStorage)->attemptEdit(); local
89 if (sb == 0) {
90 sb = SharedBuffer::alloc(capacity() * mItemSize);
91 if (sb) {
92 _do_copy(sb->data(), mStorage, mCount);
94 mStorage = sb->data();
334 SharedBuffer* sb = SharedBuffer::alloc(new_capacity * mItemSize);
335 if (sb) {
336 void* array = sb->data();
349 const SharedBuffer* sb
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DContentProviderConnection.java49 StringBuilder sb = new StringBuilder(128);
50 sb.append("ContentProviderConnection{");
51 toShortString(sb);
52 sb.append('}');
53 return sb.toString();
57 StringBuilder sb = new StringBuilder(128);
58 toShortString(sb);
59 return sb.toString();
63 StringBuilder sb = new StringBuilder(128);
64 toClientString(sb);
68 toShortString(StringBuilder sb) argument
74 toClientString(StringBuilder sb) argument
[all...]
/frameworks/compile/linkloader/android/
H A Dtest-librsloader.c80 struct stat sb; local
81 if (fstat(fd, &sb) != 0) {
88 mmap(NULL, sb.st_size, PROT_READ, MAP_PRIVATE, fd, 0);
96 RSExecRef object = rsloaderCreateExec(image, sb.st_size, find_sym, 0);
/frameworks/base/core/java/android/content/
H A DSyncQueue.java206 public void dump(StringBuilder sb) { argument
208 sb.append("SyncQueue: ").append(mOperationsMap.size()).append(" operation(s)\n");
210 sb.append(" ");
212 sb.append("READY");
214 sb.append(DateUtils.formatElapsedTime((operation.effectiveRunTime - now) / 1000));
216 sb.append(" - ");
217 sb.append(operation.dump(false)).append("\n");
H A DSyncOperation.java98 StringBuilder sb = new StringBuilder()
111 sb.append(", EXPEDITED");
114 sb.append("\n ");
115 extrasToStringBuilder(extras, sb);
117 return sb.toString();
133 StringBuilder sb = new StringBuilder();
134 sb.append("authority: ").append(authority);
135 sb.append(" account {name=" + account.name + ", user=" + userId + ", type=" + account.type
137 sb.append(" extras: ");
138 extrasToStringBuilder(extras, sb);
142 extrasToStringBuilder(Bundle bundle, StringBuilder sb) argument
[all...]
/frameworks/base/core/java/android/view/animation/
H A DTransformation.java149 StringBuilder sb = new StringBuilder(64);
150 sb.append("Transformation");
151 toShortString(sb);
152 return sb.toString();
159 StringBuilder sb = new StringBuilder(64);
160 toShortString(sb);
161 return sb.toString();
167 public void toShortString(StringBuilder sb) { argument
168 sb.append("{alpha="); sb
[all...]
/frameworks/base/core/jni/
H A Dandroid_ddm_DdmHandleNativeHeap.cpp68 struct stat sb; local
69 int ret = stat(path, &sb);
/frameworks/av/media/libmediaplayerservice/
H A DMetadataRetrieverClient.cpp139 struct stat sb; local
140 int ret = fstat(fd, &sb);
145 ALOGV("st_dev = %llu", sb.st_dev);
146 ALOGV("st_mode = %u", sb.st_mode);
147 ALOGV("st_uid = %lu", sb.st_uid);
148 ALOGV("st_gid = %lu", sb.st_gid);
149 ALOGV("st_size = %llu", sb.st_size);
151 if (offset >= sb.st_size) {
152 ALOGE("offset (%lld) bigger than file size (%llu)", offset, sb.st_size);
156 if (offset + length > sb
[all...]
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_mpeg2_stereo_proc.cpp229 int32 sb; local
270 sb = -1;
276 sb = (i << 4) + (i << 1) + ss;
288 } /* now sb is the number of highest line with value != 0 */
291 if (sb < 36) /* was (sb <= 36) */
297 if (mp3_sfBandIndex[sfreq].l[4] <= sb)
306 while (mp3_sfBandIndex[sfreq].l[i] <= sb)
369 else /* else then (sb >= 36) */
571 sb
[all...]
H A Dpvmp3_stereo_proc.cpp261 int32 sb; local
295 sb = 0;
300 sb = (i << 4) + (i << 1) + ss;
314 if (sb < 36)
321 if (mp3_sfBandIndex[sfreq].l[4] <= sb)
330 while (mp3_sfBandIndex[sfreq].l[sfb] < sb)
388 else /* else for (sb >= 36) */
434 for (sb = 3; sb < sfbcnt; sb
[all...]
/frameworks/compile/linkloader/
H A Dmain.cpp216 struct stat sb; local
217 if (stat(filename, &sb) != 0) {
222 if (!S_ISREG(sb.st_mode)) {
227 size = (size_t)sb.st_size;
/frameworks/native/libs/binder/
H A DMemoryHeapBase.cpp119 struct stat sb; local
120 if (fstat(fd, &sb) == 0)
121 size = sb.st_size;
/frameworks/base/graphics/java/android/graphics/
H A DRect.java102 StringBuilder sb = new StringBuilder(32);
103 sb.append("Rect("); sb.append(left); sb.append(", ");
104 sb.append(top); sb.append(" - "); sb.append(right);
105 sb.append(", "); sb.append(bottom); sb
120 toShortString(StringBuilder sb) argument
[all...]
H A DRectF.java124 public String toShortString(StringBuilder sb) { argument
125 sb.setLength(0);
126 sb.append('['); sb.append(left); sb.append(',');
127 sb.append(top); sb.append("]["); sb.append(right);
128 sb.append(','); sb
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DTicker.java158 public Ticker(Context context, View sb) { argument
165 mTickerView = sb.findViewById(R.id.ticker);
167 mIconSwitcher = (ImageSwitcher)sb.findViewById(R.id.tickerIcon);
175 mTextSwitcher = (TextSwitcher)sb.findViewById(R.id.tickerText);
/frameworks/base/core/java/android/provider/
H A DBrowser.java258 private static final void addOrUrlEquals(StringBuilder sb) { argument
259 sb.append(" OR " + BookmarkColumns.URL + " = ");
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DICalendar.java181 StringBuilder sb = new StringBuilder();
182 toString(sb);
183 sb.append(NEWLINE);
184 return sb.toString();
192 public void toString(StringBuilder sb) { argument
193 sb.append(BEGIN);
194 sb.append(":");
195 sb.append(mName);
196 sb.append(NEWLINE);
201 property.toString(sb);
339 toString(StringBuilder sb) argument
387 toString(StringBuilder sb) argument
[all...]

Completed in 680 milliseconds

12