Searched refs:plen (Results 1 - 20 of 20) sorted by relevance

/openjdk10/jdk/test/java/security/Provider/
H A DChangeProviders.java42 private static int plen() { method in class:ChangeProviders
59 int n = plen();
61 if (plen() != n + 1) {
65 if (plen() != n + 1) {
69 if (plen() != n + 1) {
73 if ((plen() != n) || (Security.getProvider(p.getName()) != null)) {
77 if (plen() != n + 1) {
/openjdk10/jdk/src/java.instrument/windows/native/libinstrument/
H A DEncodingSupport_md.c39 int wlen, plen; local
58 plen = -1;
68 plen = WideCharToMultiByte(codePage,
76 if (plen >= 0) {
77 platform_str[plen] = '\0';
83 return plen;
/openjdk10/jdk/src/java.management/share/classes/javax/management/
H A DMatchQueryExp.java126 int plen = p.length();
128 while (pi < plen) { // While still string
142 while ((c = p.charAt(pi)) != ']' && ++pi < plen) {
144 pi+1 < plen &&
157 if ((pi >= plen) || (wantit != seenit)) {
163 if (pi >= plen)
171 if (pi >= plen || si >= slen ||
H A DStandardMBean.java962 final int plen = params.length;
963 nps = new MBeanParameterInfo[plen];
964 for (int ii=0;ii<plen;ii++) {
993 final int plen = params.length;
994 nps = new MBeanParameterInfo[plen];
995 for (int ii=0;ii<plen;ii++) {
/openjdk10/jdk/src/java.base/share/classes/sun/security/provider/
H A DDSAKeyPairGenerator.java52 private int plen; field in class:DSAKeyPairGenerator
121 this.plen = modlen;
167 this.plen = sizeP;
186 spec = ParameterCache.getNewDSAParameterSpec(plen, qlen, random);
190 ParameterCache.getDSAParameterSpec(plen, qlen, random);
/openjdk10/hotspot/src/share/tools/hsdis/
H A Dhsdis.c392 size_t plen = (q == NULL) ? strlen(p) : ((q++) - p); local
393 if (plen == 4 && strncmp(p, "help", plen) == 0) {
395 } else if (plen >= 5 && strncmp(p, "mach=", 5) == 0) {
399 if (plen > mach_size) plen = mach_size;
400 strncpy(mach_option, p, plen);
401 mach_option[plen] = '\0';
402 } else if (plen > 6 && strncmp(p, "hsdis-", 6) == 0) {
407 if (iop + plen > iop_limi
[all...]
/openjdk10/jdk/src/jdk.jdwp.agent/share/native/libjdwp/
H A Dutf_util.c357 int plen; local
383 plen = WideCharToMultiByte(codepage, 0, wstr, wlen,
386 if (plen <= 0) {
390 output[plen] = '\0';
391 return plen;
405 int plen; local
430 plen = WideCharToMultiByte(CP_UTF8, 0, wstr, wlen,
433 if (plen <= 0) {
437 output[plen] = '\0';
438 return plen;
[all...]
H A DVirtualMachineImpl.c844 int plen; local
848 plen = (int)strlen(pos);
850 plen = (int)(psPos-pos);
853 (void)memcpy(buf, pos, plen);
854 buf[plen] = 0;
/openjdk10/jdk/test/sun/security/util/Resources/
H A DNewResourcesNames.java256 int plen = pattern.length();
263 int pheadlen = plen - 2;
264 String phead = pattern.substring(0, plen-2);
290 if (hlen >= plen &&
291 history.substring(hlen-plen, hlen).equals(pattern)) {
/openjdk10/hotspot/src/share/vm/utilities/
H A Dhashtable.cpp220 intptr_t *plen = (intptr_t*)(top); local
221 top += sizeof(*plen);
232 *plen = (char*)(top) - (char*)plen - sizeof(*plen);
/openjdk10/jdk/src/java.base/windows/native/libnet/
H A Dnet_util_md.c382 int plen = sizeof(parg); local
393 rv = NET_GetSockOpt(s, SOL_SOCKET, SO_EXCLUSIVEADDRUSE, (char *)&parg, &plen);
473 int plen = sizeof(parg); local
475 rv = NET_GetSockOpt(fd, SOL_SOCKET, SO_REUSEADDR, (char *)&parg, &plen);
478 rv = NET_SetSockOpt(fd, SOL_SOCKET, SO_EXCLUSIVEADDRUSE, (char*)&parg, plen);
/openjdk10/jdk/src/java.base/unix/native/libnet/
H A Dnet_util_md.c457 int plen; /* prefix length */ member in struct:loopback_route
486 int dest_plen = ptr->plen;
592 loRoutes[nRoutes].plen = dest_plen;
603 int plen, scope, dad_status, if_idx; local
609 &if_idx, &plen, &scope, &dad_status, devname) == 13) {
1115 int plen, scope, dad_status, if_idx; local
1121 &if_idx, &plen, &scope, &dad_status, devname) == 13) {
H A DInet4AddressImpl.c361 size_t plen = ICMP_ADVLENMIN + sizeof(tv); local
398 icmp->icmp_cksum = in_cksum((u_short *)icmp, plen);
400 n = sendto(fd, sendbuf, plen, 0, &sa->sa, sizeof(struct sockaddr_in));
H A DInet6AddressImpl.c564 size_t plen = sizeof(struct icmp6_hdr) + sizeof(tv);
610 n = sendto(fd, sendbuf, plen, 0, &sa->sa, sizeof(struct sockaddr_in6));
/openjdk10/jdk/src/java.base/share/classes/java/lang/
H A DSecurityManager.java1565 final int plen = pkg.length();
1571 // If rlast >= plen then restrictedPkg is longer than pkg by at
1575 // Similarly if rlast != plen, then pkg + "." cannot be the same
1579 if (rlast < plen && pkg.startsWith(restrictedPkg) ||
1583 rlast == plen && restrictedPkg.startsWith(pkg) &&
/openjdk10/hotspot/src/share/vm/code/
H A DrelocInfo.cpp69 int plen = prefix_limit - p; local
70 if (plen == 0) {
74 if (plen == 1 && fits_into_immediate(p[0])) {
79 (*this) = prefix_relocInfo(plen); // write new datalen
/openjdk10/hotspot/src/share/vm/runtime/
H A Dos.cpp275 const size_t plen = strlen(buffer); local
276 const char lastchar = buffer[plen - 1];
277 retval = conc_path_file_and_check(buffer, &buffer[plen], buflen - plen,
288 size_t plen = (path == NULL) ? 0 : strlen(path); local
289 if (plen == 0) {
292 const char lastchar = path[plen - 1];
/openjdk10/jdk/src/java.base/share/classes/java/util/regex/
H A DPattern.java1426 int plen = pattern.length();
1427 StringBuilder pbuf = new StringBuilder(plen);
1431 for (int i = 0; i < plen;) {
1434 c == '\\' && i + 1 < plen && pattern.charAt(i + 1) == '\\') {
1456 if (lastStart < plen)
1457 normalizeSlice(pattern, lastStart, plen, pbuf);
/openjdk10/hotspot/src/share/vm/oops/
H A DinstanceKlass.cpp3049 int plen = (len < 24 ? len : 12); local
3050 char* str = java_lang_String::as_utf8_string(obj, 0, plen);
3052 if (len > plen)
/openjdk10/jdk/test/tools/pack200/pack200-verifier/src/xmlkit/
H A DXMLKit.java432 int plen = size + (makeFrozen ? 0 : NEED_SLOP) + alen;
433 Element copy = new Element(name, size, plen);
435 System.arraycopy(parts, parts.length - alen, copy.parts, plen - alen, alen);

Completed in 171 milliseconds