/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.modifying.operations/alg.replace/ |
replace_copy_if.pass.cpp | 31 const unsigned sa = sizeof(ia)/sizeof(ia[0]); local 32 int ib[sa] = {0}; 33 OutIter r = std::replace_copy_if(InIter(ia), InIter(ia+sa), OutIter(ib), 35 assert(base(r) == ib + sa);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.modifying.operations/alg.transform/ |
unary_transform.pass.cpp | 29 const unsigned sa = sizeof(ia)/sizeof(ia[0]); local 30 int ib[sa] = {0}; 31 OutIter r = std::transform(InIter(ia), InIter(ia+sa), OutIter(ib), 33 assert(base(r) == ib + sa);
|
/external/expat/tests/ |
xmltest.sh | 90 xmltest/valid/ext-sa \ 91 xmltest/valid/not-sa \ 93 xmltest/invalid/not-sa \ 94 xmltest/valid/sa \ 122 xmltest/not-wf/ext-sa \ 123 xmltest/not-wf/not-sa \ 124 xmltest/not-wf/sa \
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/ |
ReadContext.java | 110 SparseArray<Item> sa = itemsByType[itemType.SectionIndex]; local 111 Item item = sa.get(offset); 131 SparseArray<Item> sa = itemsByType[itemType.SectionIndex]; local 132 Item item = sa.get(offset); 177 SparseArray<Item> sa = itemsByType[itemType.SectionIndex]; local 179 sa.ensureCapacity(items.size()); 181 sa.append(item.getOffset(), item);
|
/external/pixman/pixman/ |
pixman-ppc.c | 127 struct sigaction sa, osa; local 130 sa.sa_flags = SA_SIGINFO; 131 sigemptyset (&sa.sa_mask); 132 sa.sa_sigaction = vmx_test; 133 sigaction (SIGILL, &sa, &osa);
|
/external/valgrind/main/none/tests/ |
thread-exits.c | 95 struct sigaction sa; local 101 sa.sa_handler = handler; 102 sa.sa_flags = 0; 103 sigfillset(&sa.sa_mask); 104 sigaction(SIGUSR1, &sa, NULL);
|
/external/chromium_org/third_party/skia/src/core/ |
SkBlitter_A8.cpp | 70 unsigned sa = SkAlphaMul(srcA, SkAlpha255To256(aa)); local 71 unsigned scale = 256 - sa; 74 device[i] = SkToU8(sa + SkAlphaMul(device[i], scale)); 104 static inline void blend_8_pixels(U8CPU bw, uint8_t dst[], U8CPU sa, 106 if (bw & 0x80) dst[0] = SkToU8(sa + SkAlphaMul(dst[0], dst_scale)); 107 if (bw & 0x40) dst[1] = SkToU8(sa + SkAlphaMul(dst[1], dst_scale)); 108 if (bw & 0x20) dst[2] = SkToU8(sa + SkAlphaMul(dst[2], dst_scale)); 109 if (bw & 0x10) dst[3] = SkToU8(sa + SkAlphaMul(dst[3], dst_scale)); 110 if (bw & 0x08) dst[4] = SkToU8(sa + SkAlphaMul(dst[4], dst_scale)); 111 if (bw & 0x04) dst[5] = SkToU8(sa + SkAlphaMul(dst[5], dst_scale)) 148 unsigned sa; local 181 unsigned sa = SkAlphaMul(fSrcA, SkAlpha255To256(alpha)); local 277 int sa = SkGetPackedA32(src); local [all...] |
SkXfermode.cpp | 75 // kSrc_Mode, //!< [Sa, Sc] 85 // kSrcOver_Mode, //!< [Sa + Da - Sa*Da, Sc + (1 - Sa)*Dc] 98 // kDstOver_Mode, //!< [Sa + Da - Sa*Da, Dc + (1 - Da)*Sc] 105 // kSrcIn_Mode, //!< [Sa * Da, Sc * Da] 110 // kDstIn_Mode, //!< [Sa * Da, Sa * Dc] 115 // kSrcOut_Mode, //!< [Sa * (1 - Da), Sc * (1 - Da) 127 unsigned sa = SkGetPackedA32(src); local 142 unsigned sa = SkGetPackedA32(src); local 157 unsigned sa = SkGetPackedA32(src); local 203 int sa = SkGetPackedA32(src); local 233 int sa = SkGetPackedA32(src); local 255 int sa = SkGetPackedA32(src); local 277 int sa = SkGetPackedA32(src); local 301 int sa = SkGetPackedA32(src); local 325 int sa = SkGetPackedA32(src); local 345 int sa = SkGetPackedA32(src); local 375 int sa = SkGetPackedA32(src); local 390 int sa = SkGetPackedA32(src); local 409 int sa = SkGetPackedA32(src); local 506 int sa = SkGetPackedA32(src); local 540 int sa = SkGetPackedA32(src); local 574 int sa = SkGetPackedA32(src); local 607 int sa = SkGetPackedA32(src); local [all...] |
/external/skia/src/core/ |
SkBlitter_A8.cpp | 70 unsigned sa = SkAlphaMul(srcA, SkAlpha255To256(aa)); local 71 unsigned scale = 256 - sa; 74 device[i] = SkToU8(sa + SkAlphaMul(device[i], scale)); 104 static inline void blend_8_pixels(U8CPU bw, uint8_t dst[], U8CPU sa, 106 if (bw & 0x80) dst[0] = SkToU8(sa + SkAlphaMul(dst[0], dst_scale)); 107 if (bw & 0x40) dst[1] = SkToU8(sa + SkAlphaMul(dst[1], dst_scale)); 108 if (bw & 0x20) dst[2] = SkToU8(sa + SkAlphaMul(dst[2], dst_scale)); 109 if (bw & 0x10) dst[3] = SkToU8(sa + SkAlphaMul(dst[3], dst_scale)); 110 if (bw & 0x08) dst[4] = SkToU8(sa + SkAlphaMul(dst[4], dst_scale)); 111 if (bw & 0x04) dst[5] = SkToU8(sa + SkAlphaMul(dst[5], dst_scale)) 148 unsigned sa; local 181 unsigned sa = SkAlphaMul(fSrcA, SkAlpha255To256(alpha)); local 277 int sa = SkGetPackedA32(src); local [all...] |
SkXfermode.cpp | 75 // kSrc_Mode, //!< [Sa, Sc] 85 // kSrcOver_Mode, //!< [Sa + Da - Sa*Da, Sc + (1 - Sa)*Dc] 98 // kDstOver_Mode, //!< [Sa + Da - Sa*Da, Dc + (1 - Da)*Sc] 105 // kSrcIn_Mode, //!< [Sa * Da, Sc * Da] 110 // kDstIn_Mode, //!< [Sa * Da, Sa * Dc] 115 // kSrcOut_Mode, //!< [Sa * (1 - Da), Sc * (1 - Da) 127 unsigned sa = SkGetPackedA32(src); local 142 unsigned sa = SkGetPackedA32(src); local 157 unsigned sa = SkGetPackedA32(src); local 203 int sa = SkGetPackedA32(src); local 233 int sa = SkGetPackedA32(src); local 255 int sa = SkGetPackedA32(src); local 277 int sa = SkGetPackedA32(src); local 301 int sa = SkGetPackedA32(src); local 325 int sa = SkGetPackedA32(src); local 345 int sa = SkGetPackedA32(src); local 375 int sa = SkGetPackedA32(src); local 390 int sa = SkGetPackedA32(src); local 409 int sa = SkGetPackedA32(src); local 506 int sa = SkGetPackedA32(src); local 540 int sa = SkGetPackedA32(src); local 574 int sa = SkGetPackedA32(src); local 607 int sa = SkGetPackedA32(src); local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.sorting/alg.set.operations/includes/ |
includes.pass.cpp | 28 const unsigned sa = sizeof(ia)/sizeof(ia[0]); local 39 assert(std::includes(Iter1(ia), Iter1(ia+sa), Iter2(ia), Iter2(ia+sa))); 41 assert(std::includes(Iter1(ia), Iter1(ia+sa), Iter2(ib), Iter2(ib+sb))); 42 assert(!std::includes(Iter1(ib), Iter1(ib+sb), Iter2(ia), Iter2(ia+sa))); 47 assert(std::includes(Iter1(ia), Iter1(ia+sa), Iter2(id), Iter2(id+1))); 48 assert(std::includes(Iter1(ia), Iter1(ia+sa), Iter2(id), Iter2(id+2))); 49 assert(std::includes(Iter1(ia), Iter1(ia+sa), Iter2(id), Iter2(id+3))); 50 assert(!std::includes(Iter1(ia), Iter1(ia+sa), Iter2(id), Iter2(id+4)));
|
includes_comp.pass.cpp | 29 const unsigned sa = sizeof(ia)/sizeof(ia[0]); local 40 assert(std::includes(Iter1(ia), Iter1(ia+sa), Iter2(ia), Iter2(ia+sa), std::less<int>())); 42 assert(std::includes(Iter1(ia), Iter1(ia+sa), Iter2(ib), Iter2(ib+sb), std::less<int>())); 43 assert(!std::includes(Iter1(ib), Iter1(ib+sb), Iter2(ia), Iter2(ia+sa), std::less<int>())); 48 assert(std::includes(Iter1(ia), Iter1(ia+sa), Iter2(id), Iter2(id+1), std::less<int>())); 49 assert(std::includes(Iter1(ia), Iter1(ia+sa), Iter2(id), Iter2(id+2), std::less<int>())); 50 assert(std::includes(Iter1(ia), Iter1(ia+sa), Iter2(id), Iter2(id+3), std::less<int>())); 51 assert(!std::includes(Iter1(ia), Iter1(ia+sa), Iter2(id), Iter2(id+4), std::less<int>()));
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
quantize.c | 129 Word32 sa; local 132 sa = L_abs(mdctSpeL); 133 //saShft = L_shr(sa, 16 + g); 134 saShft = sa >> g; 155 qua = quantizeSingleLine(gain, sa); 177 Word32 sa; local 180 sa = L_abs(mdctSpeL); 181 saShft = sa << g; 202 qua = quantizeSingleLine(gain, sa); 351 Word32 sa; local 401 Word32 sa; local [all...] |
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
Delaunay.cpp | 197 if (!(sa = (CSite*) malloc(size))) { 200 sp = (SitePointer *) (sa + n); 204 return sa; 209 if (sa) { 210 free(sa); 211 sa = (CSite*)NULL; 272 double d = sa[(i>=0)?sp[i]:sp1].X() - sa[(j>=0)?sp[j]:sp1].X(); 279 d = sa[(i>=0)?sp[i]:sp1].Y() - sa[(j>=0)?sp[j]:sp1].Y() [all...] |
/packages/apps/Camera2/jni/feature_mos/src/mosaic/ |
Delaunay.cpp | 197 if (!(sa = (CSite*) malloc(size))) { 200 sp = (SitePointer *) (sa + n); 204 return sa; 209 if (sa) { 210 free(sa); 211 sa = (CSite*)NULL; 272 double d = sa[(i>=0)?sp[i]:sp1].X() - sa[(j>=0)?sp[j]:sp1].X(); 279 d = sa[(i>=0)?sp[i]:sp1].Y() - sa[(j>=0)?sp[j]:sp1].Y() [all...] |
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
Delaunay.cpp | 197 if (!(sa = (CSite*) malloc(size))) { 200 sp = (SitePointer *) (sa + n); 204 return sa; 209 if (sa) { 210 free(sa); 211 sa = (CSite*)NULL; 272 double d = sa[(i>=0)?sp[i]:sp1].X() - sa[(j>=0)?sp[j]:sp1].X(); 279 d = sa[(i>=0)?sp[i]:sp1].Y() - sa[(j>=0)?sp[j]:sp1].Y() [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
nv20_state_tex.c | 167 const struct gl_sampler_object *sa; local 183 sa = _mesa_get_samplerobj(ctx, i); 196 tx_wrap = nvgl_wrap_mode(sa->WrapR) << 16 197 | nvgl_wrap_mode(sa->WrapT) << 8 198 | nvgl_wrap_mode(sa->WrapS) << 0; 200 tx_filter = nvgl_filter_mode(sa->MagFilter) << 24 201 | nvgl_filter_mode(sa->MinFilter) << 16 205 | log2i(sa->MaxAnisotropy) << 4; 218 if (sa->MinFilter != GL_NEAREST && 219 sa->MinFilter != GL_LINEAR) [all...] |
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nv20_state_tex.c | 167 const struct gl_sampler_object *sa; local 183 sa = _mesa_get_samplerobj(ctx, i); 196 tx_wrap = nvgl_wrap_mode(sa->WrapR) << 16 197 | nvgl_wrap_mode(sa->WrapT) << 8 198 | nvgl_wrap_mode(sa->WrapS) << 0; 200 tx_filter = nvgl_filter_mode(sa->MagFilter) << 24 201 | nvgl_filter_mode(sa->MinFilter) << 16 205 | log2i(sa->MaxAnisotropy) << 4; 218 if (sa->MinFilter != GL_NEAREST && 219 sa->MinFilter != GL_LINEAR) [all...] |
/external/chromium_org/third_party/icu/source/common/ |
ucnv_cnv.c | 31 const USetAdder *sa, 34 sa->addRange(sa->set, 0, 0x10ffff); 39 const USetAdder *sa, 42 sa->addRange(sa->set, 0, 0xd7ff); 43 sa->addRange(sa->set, 0xe000, 0x10ffff);
|
/external/icu4c/common/ |
ucnv_cnv.c | 31 const USetAdder *sa, 34 sa->addRange(sa->set, 0, 0x10ffff); 39 const USetAdder *sa, 42 sa->addRange(sa->set, 0, 0xd7ff); 43 sa->addRange(sa->set, 0xe000, 0x10ffff);
|
/external/ipsec-tools/src/libipsec/ |
pfkey_dump.c | 260 struct sockaddr *sa; local 306 sa = (void *)(m_saddr + 1); 308 printf("%s[%s]", str_ipaddr(sa), str_ipport(sa)); 310 printf("%s", str_ipaddr(sa)); 322 sa = (void *)(m_daddr + 1); 324 printf("%s[%s]", str_ipaddr(sa), str_ipport(sa)); 326 printf("%s", str_ipaddr(sa)); 333 /* SA type * 499 struct sockaddr *sa; local [all...] |
/external/ipsec-tools/src/racoon/ |
isakmp_newg.c | 76 struct isakmp_pl_sa *sa = NULL; 112 if (sa) { 120 sa = (struct isakmp_pl_sa *)pa->ptr; 137 if (!hash || !sa) { 140 "no HASH, or no SA payload.\n"); 153 len = sizeof(isakmp->msgid) + ntohs(sa->h.len); 161 memcpy(buf->v + sizeof(isakmp->msgid), sa, ntohs(sa->h.len)); 190 /* check SA payload and get new one for use */ 191 buf = ipsecdoi_get_proposal((struct ipsecdoi_sa *)sa, [all...] |
/external/openssh/openbsd-compat/ |
bsd-misc.c | 206 struct sigaction sa, osa; local 211 memset(&sa, 0, sizeof(sa)); 212 sigemptyset(&sa.sa_mask); 213 sa.sa_flags = 0; 216 sa.sa_flags |= SA_INTERRUPT; 218 sa.sa_handler = act; 219 if (sigaction(sig, &sa, NULL) == -1)
|
/external/wpa_supplicant_8/wpa_supplicant/ |
hs20_supplicant.c | 139 const u8 *sa, const u8 *data, size_t slen) 143 struct wpa_bss *bss = wpa_bss_get_bssid(wpa_s, sa); 161 " HS Capability List", MAC2STR(sa)); 166 " Operator Friendly Name", MAC2STR(sa)); 178 "Metrics value from " MACSTR, MAC2STR(sa)); 182 " WAN Metrics %02x:%u:%u:%u:%u:%u", MAC2STR(sa), 192 " Connection Capability", MAC2STR(sa)); 202 " Operating Class", MAC2STR(sa));
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
Makefile | 23 $(Echo) "Building Clang SA Checkers tables with tblgen" 24 $(Verb) $(ClangTableGen) -gen-clang-sa-checkers -I $(PROJ_SRC_DIR)/$(CLANG_LEVEL)/include -o $(call SYSPATH, $@) $<
|