Searched refs:len (Results 1 - 25 of 668) sorted by relevance

1234567891011>>

/forgerock/openam-v13/openam-federation/OpenFM/src/main/integrations/oracle/oamauth/solaris/include/
H A Dam_utils.h44 * len
55 * if len was smaller than the size of the encoded value.
61 am_http_cookie_encode(const char *cookie, char *buf, int len);
71 * len
82 * if len was smaller than the size of the decoded value.
88 am_http_cookie_decode(const char *cookie, char *buf, int len);
/forgerock/openam/openam-federation/OpenFM/src/main/integrations/oracle/oamauth/solaris/include/
H A Dam_utils.h44 * len
55 * if len was smaller than the size of the encoded value.
61 am_http_cookie_encode(const char *cookie, char *buf, int len);
71 * len
82 * if len was smaller than the size of the decoded value.
88 am_http_cookie_decode(const char *cookie, char *buf, int len);
/forgerock/openam-v13/openam-shared/src/main/java/com/iplanet/security/util/
H A DDerInputBuffer.java50 DerInputBuffer(byte[] buf, int offset, int len) { argument
51 super(buf, offset, len);
66 int len = available();
67 if (len <= 0)
69 byte[] retval = new byte[len];
71 System.arraycopy(buf, pos, retval, 0, len);
107 void truncate(int len) throws IOException { argument
108 if (len > available())
110 count = pos + len;
117 BigInt getUnsigned(int len) throw argument
[all...]
/forgerock/openam/openam-shared/src/main/java/com/iplanet/security/util/
H A DDerInputBuffer.java50 DerInputBuffer(byte[] buf, int offset, int len) { argument
51 super(buf, offset, len);
66 int len = available();
67 if (len <= 0)
69 byte[] retval = new byte[len];
71 System.arraycopy(buf, pos, retval, 0, len);
107 void truncate(int len) throws IOException { argument
108 if (len > available())
110 count = pos + len;
117 BigInt getUnsigned(int len) throw argument
[all...]
/forgerock/web-agents-v4/zlib/
H A Dinftrees.c40 unsigned len; /* a code's length in bits */ local
107 for (len = 0; len <= MAXBITS; len++)
108 count[len] = 0;
132 for (len = 1; len <= MAXBITS; len++) {
134 left -= count[len];
142 for (len
[all...]
H A Dinffast.c93 unsigned len; /* match length, unused bytes */ local
140 len = (unsigned)(here.val);
147 len += (unsigned)hold & ((1U << op) - 1);
151 Tracevv((stderr, "inflate: length %u\n", len));
197 if (len <= op - whave) {
200 } while (--len);
203 len -= op - whave;
211 } while (--len);
219 if (op < len) { /* some from window */
220 len
[all...]
/forgerock/web-agents-v4/source/
H A Dconfig_xml.c93 int *itm_sz, void *itm, const char *val, int len) {
95 if (itm == NULL || val == NULL || len <= 0 || strcmp(x->current_name, prm) != 0) {
103 *value = strndup(val, len);
118 if (strncasecmp(val, "on", len) == 0 || strncasecmp(val, "true", len) == 0 ||
119 strncasecmp(val, "local", len) == 0) {
121 } else if (strncasecmp(val, "off", len) == 0 || strncasecmp(val, "false", len) == 0 ||
122 strncasecmp(val, "centralized", len) == 0) {
125 char *t = strndup(val, len);
92 parse_config_value(am_xml_parser_ctx_t *x, const char *prm, int type, int *itm_sz, void *itm, const char *val, int len) argument
273 parse_other_options(am_xml_parser_ctx_t *ctx, const char *val, int len) argument
389 int len = ctx->data_sz; local
482 character_data(void *userData, const char *val, int len) argument
[all...]
/forgerock/opendj-b2.6/src/server/org/opends/server/util/
H A DSizeLimitInputStream.java96 public int read(byte b[], int off, int len) throws IOException argument
98 if(off < 0 || len < 0 || off+len > b.length)
103 if(len == 0)
113 if(bytesRead + len > readLimit)
115 len = readLimit - bytesRead;
118 int readLen = parentStream.read(b, off, len);
/forgerock/opendj2/src/server/org/opends/server/util/
H A DSizeLimitInputStream.java95 public int read(byte b[], int off, int len) throws IOException argument
97 if(off < 0 || len < 0 || off+len > b.length)
102 if(len == 0)
112 if(bytesRead + len > readLimit)
114 len = readLimit - bytesRead;
117 int readLen = parentStream.read(b, off, len);
/forgerock/opendj2.6.2/src/server/org/opends/server/util/
H A DSizeLimitInputStream.java96 public int read(byte b[], int off, int len) throws IOException argument
98 if(off < 0 || len < 0 || off+len > b.length)
103 if(len == 0)
113 if(bytesRead + len > readLimit)
115 len = readLimit - bytesRead;
118 int readLen = parentStream.read(b, off, len);
/forgerock/opendj2-jel-hg/src/server/org/opends/server/util/
H A DSizeLimitInputStream.java96 public int read(byte b[], int off, int len) throws IOException argument
98 if(off < 0 || len < 0 || off+len > b.length)
103 if(len == 0)
113 if(bytesRead + len > readLimit)
115 len = readLimit - bytesRead;
118 int readLen = parentStream.read(b, off, len);
/forgerock/opendj2-hg/src/server/org/opends/server/util/
H A DSizeLimitInputStream.java95 public int read(byte b[], int off, int len) throws IOException argument
97 if(off < 0 || len < 0 || off+len > b.length)
102 if(len == 0)
112 if(bytesRead + len > readLimit)
114 len = readLimit - bytesRead;
117 int readLen = parentStream.read(b, off, len);
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/util/
H A DSizeLimitInputStream.java88 public int read(byte b[], int off, int len) throws IOException argument
90 if(off < 0 || len < 0 || off+len > b.length)
95 if(len == 0)
105 if(bytesRead + len > readLimit)
107 len = readLimit - bytesRead;
110 int readLen = parentStream.read(b, off, len);
/forgerock/opendj-b2.6/src/server/org/opends/server/replication/service/
H A DReplOutputStream.java70 public void write(byte b[], int off, int len) throws IOException argument
72 domain.exportLDIFEntry(b, off, len);
/forgerock/opendj2/src/server/org/opends/server/replication/service/
H A DReplOutputStream.java64 public void write(byte b[], int off, int len) throws IOException argument
66 domain.exportLDIFEntry(b, off, len);
/forgerock/opendj2.6.2/src/server/org/opends/server/replication/service/
H A DReplOutputStream.java70 public void write(byte b[], int off, int len) throws IOException argument
72 domain.exportLDIFEntry(b, off, len);
/forgerock/opendj2-jel-hg/src/server/org/opends/server/replication/service/
H A DReplOutputStream.java70 public void write(byte b[], int off, int len) throws IOException argument
72 domain.exportLDIFEntry(b, off, len);
/forgerock/opendj2-hg/src/server/org/opends/server/replication/service/
H A DReplOutputStream.java64 public void write(byte b[], int off, int len) throws IOException argument
66 domain.exportLDIFEntry(b, off, len);
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/replication/service/
H A DReplOutputStream.java64 public void write(byte b[], int off, int len) throws IOException argument
66 domain.exportLDIFEntry(b, off, len);
/forgerock/opendj-b2.6/src/server/org/opends/server/protocols/asn1/
H A DASN1ByteChannelReader.java149 * Reads up to len bytes of data from the save buffer or channel buffer
150 * into an array of bytes. An attempt is made to read as many as len bytes,
178 * Reads up to len bytes of data from the save buffer or channel buffer
179 * into an array of bytes. An attempt is made to read as many as len bytes,
185 * If off is negative, or len is negative, or off+len is greater than the
188 * If len is zero, then no bytes are read and 0 is returned; otherwise,
194 * b[off+1], and so on. The number of bytes read is, at most, equal to len.
197 * through b[off+len-1] unaffected.
199 * In every case, elements b[0] through b[off] and elements b[off+len]
206 read(byte[] b, int off, int len) argument
[all...]
/forgerock/opendj2/src/server/org/opends/server/protocols/asn1/
H A DASN1ByteChannelReader.java148 * Reads up to len bytes of data from the save buffer or channel buffer
149 * into an array of bytes. An attempt is made to read as many as len bytes,
177 * Reads up to len bytes of data from the save buffer or channel buffer
178 * into an array of bytes. An attempt is made to read as many as len bytes,
184 * If off is negative, or len is negative, or off+len is greater than the
187 * If len is zero, then no bytes are read and 0 is returned; otherwise,
193 * b[off+1], and so on. The number of bytes read is, at most, equal to len.
196 * through b[off+len-1] unaffected.
198 * In every case, elements b[0] through b[off] and elements b[off+len]
205 read(byte[] b, int off, int len) argument
[all...]
/forgerock/opendj2.6.2/src/server/org/opends/server/protocols/asn1/
H A DASN1ByteChannelReader.java149 * Reads up to len bytes of data from the save buffer or channel buffer
150 * into an array of bytes. An attempt is made to read as many as len bytes,
178 * Reads up to len bytes of data from the save buffer or channel buffer
179 * into an array of bytes. An attempt is made to read as many as len bytes,
185 * If off is negative, or len is negative, or off+len is greater than the
188 * If len is zero, then no bytes are read and 0 is returned; otherwise,
194 * b[off+1], and so on. The number of bytes read is, at most, equal to len.
197 * through b[off+len-1] unaffected.
199 * In every case, elements b[0] through b[off] and elements b[off+len]
206 read(byte[] b, int off, int len) argument
[all...]
/forgerock/opendj2-jel-hg/src/server/org/opends/server/protocols/asn1/
H A DASN1ByteChannelReader.java149 * Reads up to len bytes of data from the save buffer or channel buffer
150 * into an array of bytes. An attempt is made to read as many as len bytes,
178 * Reads up to len bytes of data from the save buffer or channel buffer
179 * into an array of bytes. An attempt is made to read as many as len bytes,
185 * If off is negative, or len is negative, or off+len is greater than the
188 * If len is zero, then no bytes are read and 0 is returned; otherwise,
194 * b[off+1], and so on. The number of bytes read is, at most, equal to len.
197 * through b[off+len-1] unaffected.
199 * In every case, elements b[0] through b[off] and elements b[off+len]
206 read(byte[] b, int off, int len) argument
[all...]
/forgerock/opendj2-hg/src/server/org/opends/server/protocols/asn1/
H A DASN1ByteChannelReader.java148 * Reads up to len bytes of data from the save buffer or channel buffer
149 * into an array of bytes. An attempt is made to read as many as len bytes,
177 * Reads up to len bytes of data from the save buffer or channel buffer
178 * into an array of bytes. An attempt is made to read as many as len bytes,
184 * If off is negative, or len is negative, or off+len is greater than the
187 * If len is zero, then no bytes are read and 0 is returned; otherwise,
193 * b[off+1], and so on. The number of bytes read is, at most, equal to len.
196 * through b[off+len-1] unaffected.
198 * In every case, elements b[0] through b[off] and elements b[off+len]
205 read(byte[] b, int off, int len) argument
[all...]
/forgerock/openidm-v4/openidm-util/src/main/java/org/forgerock/openidm/util/
H A DFileUtil.java82 int len;
84 while ((len = in.read(buf)) != -1) {
85 buffer.put(buf, len);
101 public void put(byte[] buf, int len) { argument
102 ensure(len);
103 System.arraycopy(buf, 0, buffer, write, len);
104 write += len;

Completed in 45 milliseconds

1234567891011>>