Home
last modified time | relevance | path

Searched refs:nv (Results 1 – 25 of 228) sorted by relevance

12345678910

/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_buffer.c105 nouveau_buffer_download(struct nouveau_context *nv, struct nv04_resource *buf, in nouveau_buffer_download() argument
114 mm = nouveau_mm_allocate(nv->screen->mm_GART, size, &bounce, &offset); in nouveau_buffer_download()
118 nv->copy_data(nv, bounce, offset, NOUVEAU_BO_GART, in nouveau_buffer_download()
121 if (nouveau_bo_map(bounce, NOUVEAU_BO_RD, nv->screen->client)) in nouveau_buffer_download()
134 nouveau_buffer_upload(struct nouveau_context *nv, struct nv04_resource *buf, in nouveau_buffer_upload() argument
141 if (size <= 192 && (nv->push_data || nv->push_cb)) { in nouveau_buffer_upload()
143 nv->push_cb(nv, buf->bo, buf->domain, buf->offset, buf->base.width0, in nouveau_buffer_upload()
146 nv->push_data(nv, buf->bo, buf->offset + start, buf->domain, in nouveau_buffer_upload()
151 mm = nouveau_mm_allocate(nv->screen->mm_GART, size, &bounce, &offset); in nouveau_buffer_upload()
155 nouveau_bo_map(bounce, 0, nv->screen->client); in nouveau_buffer_upload()
[all …]
Dnouveau_context.h62 nouveau_scratch_done(struct nouveau_context *nv) in nouveau_scratch_done() argument
64 nv->scratch.wrap = nv->scratch.id; in nouveau_scratch_done()
65 if (unlikely(nv->scratch.nr_runout)) in nouveau_scratch_done()
66 nouveau_scratch_runout_release(nv); in nouveau_scratch_done()
/external/libmicrohttpd/src/examples/
Dmhd2spdy_http.c64 spdy_headers->nv[9] = (char *)value; in http_cb_iterate()
70 spdy_headers->nv[spdy_headers->cnt++] = (char *)name; in http_cb_iterate()
71 spdy_headers->nv[spdy_headers->cnt++] = (char *)value; in http_cb_iterate()
271 if(NULL == (spdy_headers.nv = au_malloc(((spdy_headers.num + 5) * 2 + 1) * sizeof(char *)))) in http_cb_request()
273 spdy_headers.nv[0] = ":method"; spdy_headers.nv[1] = method; in http_cb_request()
274 spdy_headers.nv[2] = ":path"; spdy_headers.nv[3] = proxy->uri->path_and_more; in http_cb_request()
275 spdy_headers.nv[4] = ":version"; spdy_headers.nv[5] = (char *)version; in http_cb_request()
276 spdy_headers.nv[6] = ":scheme"; spdy_headers.nv[7] = proxy->uri->scheme; in http_cb_request()
277 spdy_headers.nv[8] = ":host"; spdy_headers.nv[9] = NULL; in http_cb_request()
285 spdy_headers.nv[spdy_headers.cnt] = NULL; in http_cb_request()
[all …]
/external/toybox/toys/android/
Dgetprop.c30 char **nv; // name/value pairs: even=name, odd=value
46 if (!(TT.size&31)) TT.nv = xrealloc(TT.nv, (TT.size+32)*2*sizeof(char *)); in add_property()
48 TT.nv[2*TT.size] = xstrdup(name); in add_property()
50 TT.nv[1+2*TT.size++] = get_property_context(name); in add_property()
52 TT.nv[1+2*TT.size++] = xstrdup(value); in add_property()
92 qsort(TT.nv, TT.size, 2*sizeof(char *), qstrcmp); in getprop_main()
93 for (i = 0; i<TT.size; i++) printf("[%s]: [%s]\n", TT.nv[i*2],TT.nv[1+i*2]); in getprop_main()
96 free(TT.nv[i*2]); in getprop_main()
97 free(TT.nv[1+i*2]); in getprop_main()
99 free(TT.nv); in getprop_main()
/external/nist-sip/java/gov/nist/javax/sip/header/
DParametersHeader.java149 NameValue nv = parameters.getNameValue(name); in setParameter() local
150 if (nv != null) { in setParameter()
151 nv.setValueAsObject(value); in setParameter()
153 nv = new NameValue(name, value); in setParameter()
154 this.parameters.set(nv); in setParameter()
178 NameValue nv = parameters.getNameValue(name); in setQuotedParameter() local
179 if (nv != null) { in setQuotedParameter()
180 nv.setValueAsObject(value); in setQuotedParameter()
181 nv.setQuotedValue(); in setQuotedParameter()
183 nv = new NameValue(name, value); in setQuotedParameter()
[all …]
DAuthenticationInfo.java54 public void add(NameValue nv) { in add() argument
55 parameters.set(nv); in add()
210 NameValue nv = super.parameters.getNameValue(name.toLowerCase()); in setParameter() local
211 if (nv == null) { in setParameter()
212 nv = new NameValue(name, value); in setParameter()
229 nv.setQuotedValue(); in setParameter()
231 super.setParameter(nv); in setParameter()
233 nv.setValueAsObject(value); in setParameter()
DAuthenticationHeader.java106 NameValue nv = super.parameters.getNameValue(name.toLowerCase()); in setParameter() local
107 if (nv == null) { in setParameter()
108 nv = new NameValue(name, value); in setParameter()
126 nv.setQuotedValue(); in setParameter()
134 super.setParameter(nv); in setParameter()
136 nv.setValueAsObject(value); in setParameter()
259 NameValue nv = new NameValue(ParameterNames.URI, uri); in setURI() local
260 nv.setQuotedValue(); in setURI()
261 super.parameters.set(nv); in setURI()
DContact.java84 NameValue nv = parameters.getNameValue(name); in setParameter() local
85 if (nv != null) { in setParameter()
86 nv.setValueAsObject(value); in setParameter()
88 nv = new NameValue(name, value); in setParameter()
90 nv.setQuotedValue(); in setParameter()
91 this.parameters.set(nv); in setParameter()
/external/nist-sip/java/gov/nist/javax/sip/header/ims/
DPChargingFunctionAddresses.java168 NameValue nv; in getChargingCollectionFunctionAddresses() local
170 nv = (NameValue) li.next(); in getChargingCollectionFunctionAddresses()
171 if (nv.getName().equalsIgnoreCase(ParameterNamesIms.CCF)) { in getChargingCollectionFunctionAddresses()
175 ccfNV.setName(nv.getName()); in getChargingCollectionFunctionAddresses()
176 ccfNV.setValueAsObject(nv.getValueAsObject()); in getChargingCollectionFunctionAddresses()
253 NameValue nv; in getEventChargingFunctionAddresses() local
256 nv = (NameValue) li.next(); in getEventChargingFunctionAddresses()
257 if (nv.getName().equalsIgnoreCase(ParameterNamesIms.ECF)) { in getEventChargingFunctionAddresses()
261 ecfNV.setName(nv.getName()); in getEventChargingFunctionAddresses()
262 ecfNV.setValueAsObject(nv.getValueAsObject()); in getEventChargingFunctionAddresses()
[all …]
DSecurityAgree.java96 NameValue nv = super.parameters.getNameValue(name.toLowerCase()); in setParameter() local
97 if (nv == null) in setParameter()
99 nv = new NameValue(name, value); in setParameter()
104 nv.setQuotedValue(); in setParameter()
111 super.setParameter(nv); in setParameter()
115 nv.setValueAsObject(value); in setParameter()
/external/libmicrohttpd/src/testspdy/
Dtest_notls.c172 static void check_gzip(struct Request *req, char **nv) in check_gzip() argument
176 for(i = 0; nv[i]; i += 2) { in check_gzip()
177 if(strcmp("content-encoding", nv[i]) == 0) { in check_gzip()
178 gzip = strcmp("gzip", nv[i+1]) == 0; in check_gzip()
308 char **nv; in on_ctrl_send_callback() local
314 nv = frame->syn_stream.nv; in on_ctrl_send_callback()
323 for(i = 0; nv[i]; i += 2) { in on_ctrl_send_callback()
324 printf(" %s: %s\n", nv[i], nv[i+1]); in on_ctrl_send_callback()
336 char **nv; in on_ctrl_recv_callback() local
342 nv = frame->syn_reply.nv; in on_ctrl_recv_callback()
[all …]
Dtest_request_response.c175 static void check_gzip(struct Request *req, char **nv) in check_gzip() argument
179 for(i = 0; nv[i]; i += 2) { in check_gzip()
180 if(strcmp("content-encoding", nv[i]) == 0) { in check_gzip()
181 gzip = strcmp("gzip", nv[i+1]) == 0; in check_gzip()
293 char **nv; in on_ctrl_send_callback() local
299 nv = frame->syn_stream.nv; in on_ctrl_send_callback()
308 for(i = 0; nv[i]; i += 2) { in on_ctrl_send_callback()
309 printf(" %s: %s\n", nv[i], nv[i+1]); in on_ctrl_send_callback()
321 char **nv; in on_ctrl_recv_callback() local
327 nv = frame->syn_reply.nv; in on_ctrl_recv_callback()
[all …]
Dtest_new_connection.c193 static void check_gzip(struct Request *req, char **nv) in check_gzip() argument
197 for(i = 0; nv[i]; i += 2) { in check_gzip()
198 if(strcmp("content-encoding", nv[i]) == 0) { in check_gzip()
199 gzip = strcmp("gzip", nv[i+1]) == 0; in check_gzip()
311 char **nv; in on_ctrl_send_callback() local
317 nv = frame->syn_stream.nv; in on_ctrl_send_callback()
326 for(i = 0; nv[i]; i += 2) { in on_ctrl_send_callback()
327 spdylay_printf(" %s: %s\n", nv[i], nv[i+1]); in on_ctrl_send_callback()
339 char **nv; in on_ctrl_recv_callback() local
345 nv = frame->syn_reply.nv; in on_ctrl_recv_callback()
[all …]
/external/curl/src/
Dtool_setopt.c248 const NameValue *nv = NULL; in tool_setopt_enum() local
249 for(nv=nvlist; nv->name; nv++) { in tool_setopt_enum()
250 if(nv->value == lval) break; /* found it */ in tool_setopt_enum()
252 if(! nv->name) { in tool_setopt_enum()
259 CODE2("curl_easy_setopt(hnd, %s, (long)%s);", name, nv->name); in tool_setopt_enum()
283 const NameValue *nv = NULL; in tool_setopt_flags() local
286 for(nv=nvlist; nv->name; nv++) { in tool_setopt_flags()
287 if((nv->value & ~ rest) == 0) { in tool_setopt_flags()
289 rest &= ~ nv->value; /* remove bits handled here */ in tool_setopt_flags()
291 preamble, nv->name, rest ? " |" : ");"); in tool_setopt_flags()
[all …]
/external/skia/samplecode/
DSamplePatch.cpp81 static void eval_sheet(const SkPoint edge[], int nu, int nv, int iu, int iv, in eval_sheet() argument
85 const int BR = TR + nv; in eval_sheet()
89 SkScalar v = SkIntToScalar(iv) / nv; in eval_sheet()
104 SkScalarMul(SK_Scalar1 - u, edge[BL+nv-iv].fX) - x0; in eval_sheet()
108 SkScalarMul(SK_Scalar1 - u, edge[BL+nv-iv].fY) - y0; in eval_sheet()
128 void Patch::draw(SkCanvas* canvas, const SkPaint& paint, int nu, int nv, in draw() argument
130 if (nu < 1 || nv < 1) { in draw()
134 int i, npts = (nu + nv) * 2; in draw()
138 SkPoint* edge2 = edge1 + nv; in draw()
143 eval_patch_edge(fPts + 3, edge1, nv); in draw()
[all …]
/external/eigen/Eigen/src/OrderingMethods/
DAmd.h111 Index* nv = W + (n+1); in minimum_degree_ordering() local
134 nv[i] = 1; // node i is just one node in minimum_degree_ordering()
165 nv[i] = 0; /* absorb i into element n */ in minimum_degree_ordering()
169 nv[n]++; in minimum_degree_ordering()
190 nvk = nv[k]; /* # of nodes k represents */ in minimum_degree_ordering()
218 nv[k] = -nvk; /* flag k as in Lk */ in minimum_degree_ordering()
239 if((nvi = nv[i]) <= 0) continue; /* node i dead, or seen */ in minimum_degree_ordering()
241 nv[i] = -nvi; /* negate nv[i] to denote i in Lk*/ in minimum_degree_ordering()
271 nvi = -nv[i]; /* nv[i] was negated */ in minimum_degree_ordering()
319 if((nvj = nv[j]) <= 0) continue; /* node j dead or in Lk */ in minimum_degree_ordering()
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/axes/
DNodeSequence.java66 NodeVector nv = (m_cache != null) ? m_cache.getVector() : null; in getVector() local
67 return nv; in getVector()
95 final NodeVector nv = getVector(); in hasCache() local
96 return (nv != null); in hasCache()
119 NodeVector nv = getVector(); in markCacheComplete() local
120 if (nv != null) { in markCacheComplete()
553 final NodeVector nv; in setItem() local
555 nv = (NodeVector) vec.clone(); in setItem()
562 newCache.setVector(nv); in setItem()
565 vec = nv; in setItem()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/parser/
DParametersParser.java58 NameValue nv = nameValue(); in parse() local
59 parametersHeader.setParameter(nv); in parse()
72 NameValue nv = nameValue(); in parseNameValueList() local
73 parametersHeader.setParameter(nv.getName(), (String) nv.getValueAsObject()); in parseNameValueList()
DAuthenticationInfoParser.java78 NameValue nv = super.nameValue(); in parse() local
79 authenticationInfo.setParameter(nv); in parse()
85 nv = super.nameValue(); in parse()
86 authenticationInfo.setParameter(nv); in parse()
/external/llvm/test/MC/AArch64/
Darm64-nv-cond.s3 fcsel d28,d31,d31,nv
4 csel x0,x0,x0,nv
5 ccmp x0,x0,#0,nv
6 b.nv #0
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/
DCacheTest.java22 CacheValue<Object> nv = CacheValue.getInstance(null); in testNullCacheValue() local
23 assertTrue("null CacheValue isNull()", nv.isNull()); in testNullCacheValue()
24 assertTrue("null CacheValue get()==null", nv.get() == null); in testNullCacheValue()
25 assertTrue("null CacheValue reset==null", nv.resetIfCleared(null) == null); in testNullCacheValue()
27 Object v = nv.resetIfCleared(this); in testNullCacheValue()
/external/tpm2/
DNV_Certify.c85 certifyInfo.attested.nv.indexName.t.size = in TPM2_NV_Certify()
86 NvGetName(in->nvIndex, &certifyInfo.attested.nv.indexName.t.name); in TPM2_NV_Certify()
89 certifyInfo.attested.nv.nvContents.t.size = in->size; in TPM2_NV_Certify()
92 certifyInfo.attested.nv.offset = in->offset; in TPM2_NV_Certify()
97 certifyInfo.attested.nv.nvContents.t.buffer); in TPM2_NV_Certify()
/external/nist-sip/java/gov/nist/javax/sip/address/
DTelephoneNumber.java156 NameValue nv = new NameValue(POSTDIAL, p); in setPostDial() local
157 parameters.set(nv); in setPostDial()
165 NameValue nv = new NameValue(name, value); in setParm() local
166 parameters.set(nv); in setParm()
234 NameValue nv = new NameValue(name, value); in setParameter() local
235 this.parameters.set(nv); in setParameter()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/impl/
DCacheTest.java26 CacheValue<Object> nv = CacheValue.getInstance(null); in testNullCacheValue() local
27 assertTrue("null CacheValue isNull()", nv.isNull()); in testNullCacheValue()
28 assertTrue("null CacheValue get()==null", nv.get() == null); in testNullCacheValue()
29 assertTrue("null CacheValue reset==null", nv.resetIfCleared(null) == null); in testNullCacheValue()
31 Object v = nv.resetIfCleared(this); in testNullCacheValue()
/external/nist-sip/java/gov/nist/core/
DDuplicateNameValueList.java103 public void set(NameValue nv) { in set() argument
104 this.nameValueMap.put(nv.getName().toLowerCase(), nv); in set() local
152 Collection nv = this.getNameValue(name.toLowerCase()); in getValue() local
153 if (nv != null) in getValue()
154 return nv; in getValue()

12345678910