Searched defs:sd (Results 26 - 50 of 168) sorted by relevance

1234567

/external/vboot_reference/firmware/2lib/
H A D2api.c108 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;
H A D2misc.c68 struct vb2_shared_data *sd = vb2_get_sd(ctx); local
71 if (!(sd->status & VB2_SD_STATUS_NV_INIT))
75 if (sd->status & VB2_SD_STATUS_CHOSE_SLOT) {
88 vb2_nv_set(ctx, VB2_NV_TRY_NEXT, 1 - sd->fw_slot);
94 if (sd->last_fw_slot != 1 - sd->fw_slot ||
95 sd->last_fw_result != VB2_FW_RESULT_FAILURE)
117 struct vb2_shared_data *sd = vb2_get_sd(ctx); local
128 if (ctx->workbuf_size < sizeof(*sd))
134 memset(sd,
141 struct vb2_shared_data *sd = vb2_get_sd(ctx); local
179 struct vb2_shared_data *sd = vb2_get_sd(ctx); local
206 struct vb2_shared_data *sd = vb2_get_sd(ctx); local
317 struct vb2_shared_data *sd = vb2_get_sd(ctx); local
[all...]
/external/vboot_reference/firmware/lib21/
H A Dapi.c44 struct vb2_shared_data *sd = vb2_get_sd(ctx); local
55 if (!sd->workbuf_preamble_size)
58 (ctx->workbuf + sd->workbuf_preamble_offset);
75 if (sd->workbuf_hash_size) {
77 (ctx->workbuf + sd->workbuf_hash_offset);
85 sd->workbuf_hash_offset = vb2_offset_of(ctx->workbuf, dc);
86 sd->workbuf_hash_size = dig_size;
87 ctx->workbuf_used = sd->workbuf_hash_offset + dig_size;
90 sd->hash_tag = vb2_offset_of(ctx->workbuf, sig);
91 sd
118 struct vb2_shared_data *sd = vb2_get_sd(ctx); local
[all...]
H A Dmisc.c67 struct vb2_shared_data *sd = vb2_get_sd(ctx); local
81 key_size = sd->gbb_rootkey_size;
86 rv = vb2ex_read_resource(ctx, VB2_RES_GBB, sd->gbb_rootkey_offset,
113 sd->vblock_preamble_offset = kb->c.total_size;
120 if (!rv && packed_key->key_version < (sd->fw_version_secdata >> 16))
127 sd->fw_version = packed_key->key_version << 16;
143 sd->workbuf_data_key_offset = vb2_offset_of(ctx->workbuf, key_data);
144 sd->workbuf_data_key_size = packed_key->c.total_size;
147 ctx->workbuf_used = sd->workbuf_data_key_offset +
148 sd
155 struct vb2_shared_data *sd = vb2_get_sd(ctx); local
[all...]
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
H A DUConverterDataReader.java445 protected void readStaticData(UConverterStaticData sd) throws IOException argument
447 sd.structSize = byteBuffer.getInt();
450 sd.name = new String(name, "US-ASCII");
451 sd.codepage = byteBuffer.getInt();
452 sd.platform = byteBuffer.get();
453 sd.conversionType = byteBuffer.get();
454 sd.minBytesPerChar = byteBuffer.get();
455 sd.maxBytesPerChar = byteBuffer.get();
456 byteBuffer.get(sd.subChar);
457 sd
[all...]
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_picklpf.c36 static int64_t try_filter_frame(const YV12_BUFFER_CONFIG *sd, argument
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, argument
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, argument
193 search_filter_level(sd, cp
[all...]
/external/ltp/testcases/network/lib6/
H A Din6_01.c87 int sd; local
96 sd = SAFE_SOCKET(AF_INET6, SOCK_STREAM, 0);
97 bind(sd, (struct sockaddr *)&sin6, sizeof(sin6));
98 SAFE_CLOSE(sd);
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
H A Dir3_depth.c115 unsigned sd; local
124 sd = ir3_delayslots(src, instr, i) + src->depth;
126 instr->depth = MAX2(instr->depth, sd);
/external/skia/tests/
H A DTraceMemoryDumpTest.cpp140 GrSurfaceDesc sd; local
141 sd.fFlags = kRenderTarget_GrSurfaceFlag;
142 sd.fWidth = 64;
143 sd.fHeight = 64;
144 sd.fConfig = kRGBA_8888_GrPixelConfig;
153 sk_sp<GrGLRenderTarget> rt = GrGLRenderTarget::MakeWrapped(gpu, sd, iddesc, 0);
162 GrSurfaceDesc sd; local
163 sd.fFlags = kRenderTarget_GrSurfaceFlag;
164 sd.fWidth = 64;
165 sd
[all...]
/external/vboot_reference/tests/
H A Dvb2_nvstorage_tests.c73 struct vb2_shared_data *sd = vb2_get_sd(&c); local
82 TEST_EQ(sd->status, VB2_SD_STATUS_NV_INIT | VB2_SD_STATUS_NV_REINIT,
90 sd->status = 0;
94 TEST_EQ(sd->status, VB2_SD_STATUS_NV_INIT, "vb2_nv_init() status same");
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps_er_ssdp.c20 static void wps_er_ssdp_rx(int sd, void *eloop_ctx, void *sock_ctx) argument
33 nread = recvfrom(sd, buf, sizeof(buf) - 1, 0,
47 if (sd == er->multicast_sd) {
/external/wpa_supplicant_8/src/wps/
H A Dwps_er_ssdp.c20 static void wps_er_ssdp_rx(int sd, void *eloop_ctx, void *sock_ctx) argument
33 nread = recvfrom(sd, buf, sizeof(buf) - 1, 0,
47 if (sd == er->multicast_sd) {
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dwps_er_ssdp.c20 static void wps_er_ssdp_rx(int sd, void *eloop_ctx, void *sock_ctx) argument
33 nread = recvfrom(sd, buf, sizeof(buf) - 1, 0,
47 if (sd == er->multicast_sd) {
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
H A DNormalDistributionImpl.java61 * @param sd standard deviation for this distribution
63 public NormalDistributionImpl(double mean, double sd){ argument
64 this(mean, sd, DEFAULT_INVERSE_ABSOLUTE_ACCURACY);
72 * @param sd standard deviation for this distribution
76 public NormalDistributionImpl(double mean, double sd, double inverseCumAccuracy) { argument
79 setStandardDeviationInternal(sd);
127 * @param sd standard deviation for this distribution
128 * @throws IllegalArgumentException if <code>sd</code> is not positive.
132 public void setStandardDeviation(double sd) { argument
133 setStandardDeviationInternal(sd);
141 setStandardDeviationInternal(double sd) argument
[all...]
/external/clang/test/Parser/
H A Dcxx11-user-defined-literals.cpp59 S<u"d"_id> sd; variable
/external/eigen/test/
H A Dmixingtypes.cpp62 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), vc
[all...]
/external/fio/engines/
H A Dsolarisaio.c31 struct solarisaio_data *sd = td->io_ops_data; local
34 io_u->engine_data = sd;
40 struct solarisaio_data *sd; local
57 sd = io_u->engine_data;
69 sd->aio_events[sd->aio_pending] = io_u;
71 sd->aio_pending++;
72 sd->nr--;
78 struct solarisaio_data *sd = td->io_ops_data; local
90 while (sd
103 struct solarisaio_data *sd = td->io_ops_data; local
111 struct solarisaio_data *sd = td->io_ops_data; local
158 struct solarisaio_data *sd = td->io_ops_data; local
188 struct solarisaio_data *sd = malloc(sizeof(*sd)); local
[all...]
H A Dsplice.c31 struct spliceio_data *sd = td->io_ops_data; local
46 ret = splice(f->fd, &offset, sd->pipe[1], NULL, this_len, SPLICE_F_MORE);
57 ret2 = read(sd->pipe[0], p, ret);
75 struct spliceio_data *sd = td->io_ops_data; local
86 if (sd->vmsplice_to_user_map) {
108 ret = splice(f->fd, &offset, sd->pipe[1], NULL, this_len,flags);
122 ret = vmsplice(sd->pipe[0], &iov, 1, SPLICE_F_MOVE);
125 sd->vmsplice_to_user_map) {
126 sd->vmsplice_to_user_map = 0;
153 if (sd
169 struct spliceio_data *sd = td->io_ops_data; local
204 struct spliceio_data *sd = td->io_ops_data; local
250 struct spliceio_data *sd = td->io_ops_data; local
261 struct spliceio_data *sd = malloc(sizeof(*sd)); local
[all...]
/external/icu/icu4c/source/test/perf/howExpensiveIs/
H A Dsieve.cpp169 double sd = 0; local
176 sd += (times[i]-meanTime)*(times[i]-meanTime);
178 sd = sqrt(sd/((double)n-1.0));
181 printf("sd: %.9f, mean: %.9f\n", sd, meanTime);
183 printf("iqr/sd = %.9f\n", iqr/sd);
187 *marginOfError = 1.960 * (sd/sqrt((double)n));
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.unique/
H A Dunique.pass.cpp62 const unsigned sd = sizeof(id)/sizeof(id[0]); local
63 r = std::unique(Iter(id), Iter(id+sd));
136 const unsigned sd = sizeof(id)/sizeof(id[0]); local
137 r = std::unique(Iter(id), Iter(id+sd));
H A Dunique_copy.pass.cpp67 const unsigned sd = sizeof(id)/sizeof(id[0]); local
68 int jd[sd] = {-1};
69 r = std::unique_copy(InIter(id), InIter(id+sd), OutIter(jd));
H A Dunique_copy_pred.pass.cpp85 const unsigned sd = sizeof(id)/sizeof(id[0]); local
86 int jd[sd] = {-1};
88 r = std::unique_copy(InIter(id), InIter(id+sd), OutIter(jd), count_equal());
92 assert(count_equal::count == sd-1);
H A Dunique_pred.pass.cpp78 const unsigned sd = sizeof(id)/sizeof(id[0]); local
80 r = std::unique(Iter(id), Iter(id+sd), count_equal());
84 assert(count_equal::count == sd-1);
168 const unsigned sd = sizeof(id)/sizeof(id[0]); local
170 r = std::unique(Iter(id), Iter(id+sd), count_equal());
174 assert(count_equal::count == sd-1);
/external/ltp/testcases/kernel/connectors/pec/
H A Dpec_listener.c83 * @sd: socket descripor
87 static int netlink_send(int sd, struct sockaddr_nl *to, struct cn_msg *cnmsg) argument
112 ret = sendmsg(sd, &msg, 0);
120 * @sd: socket descripor
123 static int netlink_recv(int sd, struct sockaddr_nl *from) argument
141 ret = recvmsg(sd, &msg, 0);
149 * @sd: socket descriptor
153 static int control_pec(int sd, struct sockaddr_nl *to, enum proc_cn_mcast_op op) argument
172 ret = netlink_send(sd, to, cnmsg);
228 int sd; local
[all...]
/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dr300_fragprog_swizzle.c75 const struct swizzle_data* sd = &native_swizzles[i]; local
80 if (swz != GET_SWZ(sd->hash, comp))
84 return sd;
109 const struct swizzle_data* sd; local
140 sd = lookup_native_swizzle(reg.Swizzle);
141 if (!sd || (reg.File == RC_FILE_PRESUB && sd->srcp_stride == 0))
160 const struct swizzle_data *sd = &native_swizzles[i]; local
170 if (swz == GET_SWZ(sd->hash, comp)) {
208 const struct swizzle_data* sd local
[all...]

Completed in 2446 milliseconds

1234567