OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:pathLen
(Results
1 - 24
of
24
) sorted by null
/bootable/recovery/minzip/
DirUtil.c
73
size_t
pathLen
= strlen(path);
74
char *cpath = (char *)malloc(
pathLen
+ 2);
79
memcpy(cpath, path,
pathLen
);
83
char *c = cpath +
pathLen
- 1;
99
cpath[
pathLen
] = '/';
100
cpath[
pathLen
+ 1] = '\0';
/development/tools/etc1tool/
etc1tool.cpp
67
size_t
pathLen
= strlen(pPath);
69
if (
pathLen
+ extensionLen + 1 > pathCapacity) {
74
if ((
pathLen
== 1 && pPath[0] == '.') || (
pathLen
== 2 && pPath[0] == '.'
75
&& pPath[1] == '.') || (
pathLen
>= 2 && pPath[
pathLen
- 2] == '/'
76
&& pPath[
pathLen
- 1] == '.') || (
pathLen
>= 3
77
&& pPath[
pathLen
- 3] == '/' && pPath[
pathLen
- 2] == '.
[
all
...]
/external/icu4c/common/
umapfile.c
325
int32_t
pathLen
; /* Length of the returned directory path */
348
pathLen
= (int32_t)(finalSlash - path + 1);
349
uprv_memcpy(pathBuffer, path,
pathLen
);
350
*(pathBuffer+
pathLen
) = 0;
351
return pathBuffer+
pathLen
;
udata.cpp
520
int32_t
pathLen
= 0;
532
pathLen
= (int32_t)uprv_strlen(currentPath);
538
pathLen
= (int32_t)uprv_strlen(currentPath);
541
pathLen
= (int32_t)(nextPath - currentPath);
547
if(
pathLen
== 0) {
556
for(qqq=0;qqq<
pathLen
;qqq++)
564
pathBuffer.clear().append(currentPath,
pathLen
, *pErrorCode);
570
(
pathLen
>=4) &&
571
uprv_strncmp(pathBuffer.data() +(
pathLen
-4), suffix, 4)==0 && /* suffix matches */
582
if(pathBuffer[
pathLen
-1] != U_FILE_SEP_CHAR)
[
all
...]
/external/qemu/android/utils/
path.c
456
int
pathLen
= strlen(path);
464
result = malloc(currentLen +
pathLen
+ 2);
470
memcpy(result + currentLen, path,
pathLen
+1);
476
int
pathLen
= strlen(path);
489
result = malloc(currentLen +
pathLen
+ 2);
495
memcpy(result + currentLen, path,
pathLen
+1);
/frameworks/native/cmds/rawbu/
backup.cpp
238
int
pathLen
= strlen(path);
240
if (!write_int32(fh,
pathLen
)) return 0;
241
if (fwrite(path, 1,
pathLen
, fh) != (size_t)
pathLen
) {
450
int32_t
pathLen
= read_int32(fh, -1);
451
if (
pathLen
<= 0) {
452
fprintf(stderr, "bad path length %d in restore file\n",
pathLen
);
455
char* readPath = (char*)malloc(
pathLen
+1);
456
if (fread(readPath, 1,
pathLen
, fh) != (size_t)
pathLen
) {
[
all
...]
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
OpenSSLX509Certificate.java
316
final int
pathLen
= NativeCrypto.get_X509_ex_pathlen(mContext);
317
if (
pathLen
== -1) {
321
return
pathLen
;
/libcore/luni/src/main/java/java/security/cert/
X509CertSelector.java
66
private int
pathLen
= -1;
824
* @param
pathLen
827
* if {@code
pathLen
} is less than {@code -2}.
829
public void setBasicConstraints(int
pathLen
) {
830
if (
pathLen
< -2) {
831
throw new IllegalArgumentException("
pathLen
< -2");
833
this.
pathLen
=
pathLen
;
847
return
pathLen
;
[
all
...]
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/
X509CertSelectorTest.java
103
protected int
pathLen
= -1;
161
public TestCert(int
pathLen
) {
162
this.
pathLen
=
pathLen
;
333
return
pathLen
;
405
new Boolean(
pathLen
!= -1),
406
BigInteger.valueOf(
pathLen
).
[
all
...]
/external/skia/legacy/src/core/
SkDraw.cpp
[
all
...]