/external/openssh/openbsd-compat/ |
bindresvport.c | 53 bindresvport_sa(int sd, struct sockaddr *sa) 69 if (getsockname(sd, sa, &salen) == -1) 101 error = bind(sd, sa, salen);
|
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
BenchmarkResults.java | 76 double sd = 0; local 79 sd += diff * diff; 81 return Math.sqrt(sd / size);
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/i860/ |
float02.d | 11 4: a2 00 44 48 frcp.sd %f2,%f4 14 10: a3 00 0a 49 frsqr.sd %f8,%f10 18 20: b3 38 10 48 famov.sd %f7,%f16 22 30: a2 02 5e 48 d.frcp.sd %f2,%f30 28 48: a3 02 18 49 d.frsqr.sd %f8,%f24 36 68: b3 ba 16 48 d.famov.sd %f23,%f22
|
/external/ltp/testcases/network/stress/ns-tools/ |
ns-icmp_redirector.c | 63 int sd; member in struct:redirector_info 224 int sd; /* Socket to packets */ local 229 if ((sd = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL))) < 0) 233 if (fcntl(sd, F_SETFL, O_NONBLOCK) < 0) 237 get_ifinfo(&ifinfo, sd, ifname, SIOCGIFINDEX); 244 if (bind(sd, (struct sockaddr *)&lla, sizeof(struct sockaddr_ll)) < 0) 248 get_ifinfo(&ifinfo, sd, ifname, SIOCGIFFLAGS); 250 if (ioctl(sd, SIOCSIFFLAGS, &ifinfo) < 0) 257 fprintf(stderr, "Packet receiving socket is %d\n", sd); 258 return sd; 743 int sd = redirector_p->sd; \/* socket fd for capture *\/ local [all...] |
ns-igmp_querier.c | 355 int sd; /* socket file descriptor */ local 361 sd = socket(AF_INET, SOCK_RAW, IPPROTO_IGMP); 362 if (sd < 0) 367 if (setsockopt(sd, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(int))) 371 if (setsockopt(sd, IPPROTO_IP, IP_OPTIONS, opt, sizeof(opt))) 378 if (setsockopt(sd, IPPROTO_IP, IP_MULTICAST_IF, 383 return sd; 400 int sd; local 423 sd = create_socket(info_p); 432 retval = sendto(sd, info_p->query, query_size, 0 [all...] |
/external/eigen/test/ |
mixingtypes.cpp | 62 double sd = internal::random<double>(); local 72 while(std::abs(sd )<epsd) sf = internal::random<double>(); 85 VERIFY_MIX_SCALAR(sd * vcd , complex<double>(sd) * vcd); 102 VERIFY_MIX_SCALAR(sd + vcd.array(), complex<double>(sd) + vcd.array()); 108 VERIFY_MIX_SCALAR(sd - vcd.array(), complex<double>(sd) - vcd.array()); 115 VERIFY_MIX_SCALAR( pow(sd, vcd.array()), Eigen::pow(complex<double>(sd), vcd.array()) ) [all...] |
/external/valgrind/coregrind/ |
pub_core_libcfile.h | 72 extern Int VG_(write_socket)( Int sd, const void *msg, Int count ); 73 extern Int VG_(getsockname) ( Int sd, struct vki_sockaddr *name, Int *namelen ); 74 extern Int VG_(getpeername) ( Int sd, struct vki_sockaddr *name, Int *namelen ); 75 extern Int VG_(getsockopt) ( Int sd, Int level, Int optname, 77 extern Int VG_(setsockopt) ( Int sd, Int level, Int optname,
|
/external/vboot_reference/firmware/2lib/ |
2api.c | 108 struct vb2_shared_data *sd = vb2_get_sd(ctx); local 110 (ctx->workbuf + sd->workbuf_hash_offset); 113 if (!sd->workbuf_hash_size) 117 if (!size || size > sd->hash_remaining_size) 120 sd->hash_remaining_size -= size;
|
/frameworks/compile/mclinker/lib/LD/ |
BranchIslandFactory.cpp | 44 SectionData& sd = *((*sect)->getSectionData()); local 46 for (SectionData::iterator it = sd.begin(), ie = sd.end(); it != ie; 59 if (getIslands(sd.back()).first == NULL) 60 produce(sd.back());
|
/external/syslinux/core/lwip/src/netif/ |
slipif.c | 73 sio_fd_t sd; member in struct:slipif_priv 107 sio_send(SLIP_END, priv->sd); 114 sio_send(SLIP_ESC, priv->sd); 115 sio_send(SLIP_ESC_END, priv->sd); 118 sio_send(SLIP_ESC, priv->sd); 119 sio_send(SLIP_ESC_ESC, priv->sd); 122 sio_send(c, priv->sd); 127 sio_send(SLIP_END, priv->sd); 174 while (slip_sio_read(priv->sd, &c, 1, block) > 0) { 316 priv->sd = sio_open(netif->num) [all...] |
/external/valgrind/auxprogs/ |
valgrind-listener.c | 109 static void set_nonblocking ( int sd ) 112 res = fcntl(sd, F_GETFL); 113 res = fcntl(sd, F_SETFL, res | O_NONBLOCK); 120 static void set_blocking ( int sd ) 123 res = fcntl(sd, F_GETFL); 124 res = fcntl(sd, F_SETFL, res & ~O_NONBLOCK); 146 static int read_from_sd ( int sd ) 151 set_blocking(sd); 152 n = read(sd, buf, 99); 156 set_nonblocking(sd); [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/interpolation/ |
MicrosphereInterpolatingFunction.java | 198 for (Map.Entry<RealVector, Double> sd : samples.entrySet()) { 201 final RealVector diff = sd.getKey().subtract(p); 207 return sd.getValue(); 212 md.store(cosAngle(diff, md.normal()) * w, sd); local 222 final Map.Entry<RealVector, Double> sd = md.sample(); local 223 if (sd != null) { 224 value += iV * sd.getValue();
|
/external/wpa_supplicant_8/src/wps/ |
http_client.c | 23 int sd; member in struct:http_client 97 res = send(c->sd, wpabuf_head_u8(c->req) + c->req_pos, send_len, 0); 101 eloop_unregister_sock(c->sd, EVENT_TYPE_WRITE); 117 eloop_unregister_sock(c->sd, EVENT_TYPE_WRITE); 121 c->hread = httpread_create(c->sd, http_client_got_response, c, 142 c->sd = -1; 148 c->sd = socket(AF_INET, SOCK_STREAM, 0); 149 if (c->sd < 0) 152 if (fcntl(c->sd, F_SETFL, O_NONBLOCK) != 0) { 158 if (connect(c->sd, (struct sockaddr *) dst, sizeof(*dst))) [all...] |
wps_upnp_ssdp.c | 685 static void ssdp_listener_handler(int sd, void *eloop_ctx, void *sock_ctx) 734 int sd; local 736 sd = socket(AF_INET, SOCK_DGRAM, 0); 737 if (sd < 0 || 738 fcntl(sd, F_SETFL, O_NONBLOCK) != 0 || 739 setsockopt(sd, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on))) 745 if (bind(sd, (struct sockaddr *) &addr, sizeof(addr))) 750 if (setsockopt(sd, IPPROTO_IP, IP_ADD_MEMBERSHIP, 752 setsockopt(sd, IPPROTO_IP, IP_MULTICAST_TTL, 756 return sd; 854 int sd; local [all...] |
/toolchain/binutils/binutils-2.25/gold/ |
object.cc | 184 // Read the section data into SD. This is code common to Sized_relobj_file 190 Read_symbols_data* sd) 197 sd->section_headers = this->get_lasting_view(shoff, shnum * shdr_size, 201 const unsigned char* pshdrs = sd->section_headers->data(); 209 sd->section_names_size = 211 sd->section_names = this->get_lasting_view(shdrnames.get_sh_offset(), 212 sd->section_names_size, false, 276 Relobj::copy_symbols_data(Symbols_data* gc_sd, Read_symbols_data* sd, 281 memcpy(gc_sd->section_headers_data, sd->section_headers->data(), 284 new unsigned char[sd->section_names_size] 1886 Read_symbols_data sd; local 2516 Symbols_data* sd = this->get_symbols_data(); local 2535 Symbols_data* sd = this->get_symbols_data(); local [all...] |
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-tic6x/ |
tic6x.exp | 38 {objdump -sj.got shlib-noindex.sd}} 45 {objdump -sj.got shlib-1.sd}} 52 {objdump -sj.got shlib-app-1.sd} 60 {objdump -sj.got shlib-1r.sd}} 67 {objdump -sj.got shlib-app-1r.sd} 75 {objdump -sj.got shlib-1b.sd}} 82 {objdump -sj.got shlib-app-1b.sd} 90 {objdump -sj.got shlib-1rb.sd}} 97 {objdump -sj.got shlib-app-1rb.sd} 106 {objdump -sj.got static-app-1.sd} [all...] |
/external/libvpx/libvpx/vp8/decoder/ |
onyxd_if.c | 125 YV12_BUFFER_CONFIG *sd) { 141 if (cm->yv12_fb[ref_fb_idx].y_height != sd->y_height || 142 cm->yv12_fb[ref_fb_idx].y_width != sd->y_width || 143 cm->yv12_fb[ref_fb_idx].uv_height != sd->uv_height || 144 cm->yv12_fb[ref_fb_idx].uv_width != sd->uv_width) { 148 vp8_yv12_copy_frame(&cm->yv12_fb[ref_fb_idx], sd); 155 YV12_BUFFER_CONFIG *sd) { 172 if (cm->yv12_fb[*ref_fb_ptr].y_height != sd->y_height || 173 cm->yv12_fb[*ref_fb_ptr].y_width != sd->y_width || 174 cm->yv12_fb[*ref_fb_ptr].uv_height != sd->uv_height | [all...] |
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/mips/ |
mips16-64.d | 267 37a: 7b40 sd v0,0\(v1\) 268 37c: f000 7b41 sd v0,1\(v1\) 269 380: f000 7b42 sd v0,2\(v1\) 270 384: f000 7b43 sd v0,3\(v1\) 271 388: f000 7b44 sd v0,4\(v1\) 272 38c: 7b41 sd v0,8\(v1\) 273 38e: 7b42 sd v0,16\(v1\) 274 390: 7b44 sd v0,32\(v1\) 275 392: 7b48 sd v0,64\(v1\) 276 394: 7b50 sd v0,128\(v1\ [all...] |
mips16.d | 266 37a: 7b40 sd v0,0\(v1\) 267 37c: f000 7b41 sd v0,1\(v1\) 268 380: f000 7b42 sd v0,2\(v1\) 269 384: f000 7b43 sd v0,3\(v1\) 270 388: f000 7b44 sd v0,4\(v1\) 271 38c: 7b41 sd v0,8\(v1\) 272 38e: 7b42 sd v0,16\(v1\) 273 390: 7b44 sd v0,32\(v1\) 274 392: 7b48 sd v0,64\(v1\) 275 394: 7b50 sd v0,128\(v1\ [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
vp9_picklpf.c | 36 static int64_t try_filter_frame(const YV12_BUFFER_CONFIG *sd, 54 filt_err = vpx_highbd_get_y_sse(sd, cm->frame_to_show); 56 filt_err = vpx_get_y_sse(sd, cm->frame_to_show); 59 filt_err = vpx_get_y_sse(sd, cm->frame_to_show); 68 static int search_filter_level(const YV12_BUFFER_CONFIG *sd, VP9_COMP *cpi, 91 best_err = try_filter_frame(sd, cpi, filt_mid, partial_frame); 111 ss_err[filt_low] = try_filter_frame(sd, cpi, filt_low, partial_frame); 126 ss_err[filt_high] = try_filter_frame(sd, cpi, filt_high, partial_frame); 148 void vp9_pick_filter_level(const YV12_BUFFER_CONFIG *sd, VP9_COMP *cpi, 193 search_filter_level(sd, cpi, method == LPF_PICK_FROM_SUBIMAGE) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/ |
ColorChooser.java | 71 GradientDrawable sd = ((GradientDrawable) button.getBackground()); local 72 sd.setColor(palette[i]); 73 sd.setStroke(3, (mSelectedButton == i) ? mSelected : mTransparent); 102 GradientDrawable sd = ((GradientDrawable) mButton[i].getBackground()); local 103 sd.setColor(palette[i]); 116 GradientDrawable sd = ((GradientDrawable) button.getBackground()); local 117 sd.setColor(palette[i]); 118 sd.setStroke(3, (mSelectedButton == i) ? mSelected : mTransparent); 152 GradientDrawable sd = ((GradientDrawable) button.getBackground()); local 153 sd.setColor(c) [all...] |
/test/vts-testcase/performance/audio_loopback_test/ |
AudioLoopbackTest.py | 84 sd = 0.0 86 sd += (latency - avg_latency) * (latency - avg_latency) 87 sd = int(math.sqrt(sd / total_run)) 88 logging.info("standard_deviation: %s", sd) 90 "STANDARD_DEVIATION", [sd],
|
/external/icu/icu4c/source/common/ |
rbbitblb.cpp | 741 RBBIStateDescriptor *sd = (RBBIStateDescriptor *)fDStates->elementAt(n); local 742 if (sd->fPositions->indexOf(endMarker) >= 0) { 747 if (sd->fAccepting==0) { 749 sd->fAccepting = endMarker->fVal; 750 if (sd->fAccepting == 0) { 751 sd->fAccepting = -1; 754 if (sd->fAccepting==-1 && endMarker->fVal != 0) { 758 sd->fAccepting = endMarker->fVal; 761 // if sd->fAccepting already had a value other than 0 or -1, leave it be. 769 sd->fLookAhead = sd->fAccepting 799 RBBIStateDescriptor *sd = (RBBIStateDescriptor *)fDStates->elementAt(n); local 835 RBBIStateDescriptor *sd = (RBBIStateDescriptor *)fDStates->elementAt(n); local 878 RBBIStateDescriptor *sd = (RBBIStateDescriptor *)fDStates->elementAt(n); local 1148 RBBIStateDescriptor *sd = (RBBIStateDescriptor *)fDStates->elementAt(state); local 1203 RBBIStateDescriptor *sd = (RBBIStateDescriptor *)fDStates->elementAt(n); local [all...] |
/external/clang/test/Sema/ |
ms_class_layout.cpp | 123 struct sd : virtual s, virtual ICh { struct in inherits:s,ICh 124 virtual ~sd(){} 158 sd *h; 403 // CHECK: 0 | struct sd 404 // CHECK-NEXT: 0 | (sd vbtable pointer) 427 // CHECK: %struct.sd = type { i32*, i32, i8, i32, %struct.f, %struct.s.base, i32, %class.IA, %class.ICh.base }
|
/external/libvpx/libvpx/vp9/decoder/ |
vp9_decoder.h | 84 int vp9_get_raw_frame(struct VP9Decoder *pbi, YV12_BUFFER_CONFIG *sd, 89 YV12_BUFFER_CONFIG *sd); 93 YV12_BUFFER_CONFIG *sd);
|