/external/freetype/src/base/ |
ftrfork.c | 492 char* newpath; local 500 newpath = raccess_make_file_name( memory, base_file_name, "._" ); 501 if ( !newpath ) 504 error = raccess_guess_linux_double_from_file_name( library, newpath, 507 *result_file_name = newpath; 509 FT_FREE( newpath ); 526 char* newpath = NULL; local 538 if ( FT_ALLOC( newpath, base_file_len + 6 ) ) 541 FT_MEM_COPY( newpath, base_file_name, base_file_len ); 542 FT_MEM_COPY( newpath + base_file_len, "/rsrc", 6 ) 562 char* newpath = NULL; local 594 char* newpath; local 621 char* newpath; local 647 char* newpath; local 678 char* newpath; local [all...] |
/external/pdfium/third_party/freetype/src/base/ |
ftrfork.c | 492 char* newpath; local 500 newpath = raccess_make_file_name( memory, base_file_name, "._" ); 501 if ( !newpath ) 504 error = raccess_guess_linux_double_from_file_name( library, newpath, 507 *result_file_name = newpath; 509 FT_FREE( newpath ); 526 char* newpath = NULL; local 538 if ( FT_ALLOC( newpath, base_file_len + 6 ) ) 541 FT_MEM_COPY( newpath, base_file_name, base_file_len ); 542 FT_MEM_COPY( newpath + base_file_len, "/rsrc", 6 ) 562 char* newpath = NULL; local 594 char* newpath; local 621 char* newpath; local 647 char* newpath; local 678 char* newpath; local [all...] |
/external/icu/icu4c/source/tools/toolutil/ |
filetools.cpp | 59 char newpath[MAX_PATH_SIZE] = ""; local 60 uprv_strcpy(newpath, checkAgainst); 61 uprv_strcat(newpath, U_FILE_SEP_STRING); 62 uprv_strcat(newpath, dirEntry->d_name); 64 if ((subDirp = opendir(newpath)) != NULL) { 65 /* If this new path is a directory, make a recursive call with the newpath. */ 67 isLatest = isFileModTimeLater(filePath, newpath, isDir); 72 int32_t latest = whichFileModTimeIsLater(filePath, newpath);
|
/frameworks/av/media/libstagefright/id3/ |
testid3.cpp | 133 char newPath[MAXPATHLEN]; 134 strcpy(newPath, path); 135 strcat(newPath, "/"); 136 strcat(newPath, ent->d_name); 139 scan(newPath); 145 scanFile(newPath);
|
/external/clang/lib/Tooling/ |
FileMatchTrie.cpp | 40 /// \brief Inserts 'NewPath' into this trie. \c ConsumedLength denotes 41 /// the number of \c NewPath's trailing characters already consumed during 54 void insert(StringRef NewPath, unsigned ConsumedLength = 0) { 57 if (llvm::sys::path::is_relative(NewPath)) 60 // This is an empty leaf. Store NewPath and return. 61 Path = NewPath; 65 // This is a leaf, ignore duplicate entry if 'Path' equals 'NewPath'. 66 if (NewPath == Path) 74 StringRef(NewPath).drop_back(ConsumedLength))); 75 Children[Element].insert(NewPath, ConsumedLength + Element.size() + 1) [all...] |
/external/toybox/toys/other/ |
chroot.c | 11 usage: chroot NEWPATH [commandline...]
|
/system/core/init/ |
util.h | 57 void make_link_init(const char *oldpath, const char *newpath); 58 void remove_link(const char *oldpath, const char *newpath);
|
util.cpp | 330 void make_link_init(const char *oldpath, const char *newpath) 337 slash = strrchr(newpath, '/'); 340 width = slash - newpath; 343 memcpy(buf, newpath, width); 349 ret = symlink(oldpath, newpath); 351 ERROR("Failed to symlink %s to %s: %s (%d)\n", oldpath, newpath, strerror(errno), errno); 354 void remove_link(const char *oldpath, const char *newpath) 358 ret = readlink(newpath, path, sizeof(path) - 1); 363 unlink(newpath);
|
/external/pdfium/core/src/fxge/ge/ |
fx_ge_path.cpp | 390 FX_BOOL CFX_PathData::GetZeroAreaPath(CFX_PathData& NewPath, CFX_AffineMatrix* pMatrix, FX_BOOL&bThin, FX_BOOL bAdjust) const 398 NewPath.AddPointCount(2); 405 NewPath.SetPoint(0, x, y, FXPT_MOVETO); 410 NewPath.SetPoint(1, x, y, FXPT_LINETO); 414 NewPath.SetPoint(0, x, y, FXPT_MOVETO); 416 NewPath.SetPoint(1, x, y, FXPT_LINETO); 419 NewPath.SetPoint(0, m_pPoints[0].m_PointX, m_pPoints[0].m_PointY, FXPT_MOVETO); 420 NewPath.SetPoint(1, m_pPoints[1].m_PointX, m_pPoints[1].m_PointY, FXPT_LINETO); 444 NewPath.Append(&t_path, NULL); 466 int new_count = NewPath.GetPointCount() [all...] |
/frameworks/base/services/core/java/com/android/server/hdmi/ |
HdmiUtils.java | 229 * @param newPath new path 232 static boolean isAffectingActiveRoutingPath(int activePath, int newPath) { 243 int nibble = (newPath >> i) & 0xF; 246 newPath &= mask; 250 if (newPath == 0x0000) { 253 return isInActiveRoutingPath(activePath, newPath); 260 * @param newPath new path 263 static boolean isInActiveRoutingPath(int activePath, int newPath) { 265 // where the active nibble is not zero. For (activePath, newPath), 275 int nibbleNew = (newPath >> i) & 0xF [all...] |
/external/openssh/ |
sftp-client.h | 94 /* Rename 'oldpath' to 'newpath' */ 97 /* Link 'oldpath' to 'newpath' */ 100 /* Rename 'oldpath' to 'newpath' */
|
sftp-server.c | 1180 char *oldpath, *newpath; local 1185 (r = sshbuf_get_cstring(iqueue, &newpath, NULL)) != 0) 1189 logit("rename old \"%s\" new \"%s\"", oldpath, newpath); 1195 if (link(oldpath, newpath) == -1) { 1210 if (stat(newpath, &st) == -1) { 1211 if (rename(oldpath, newpath) == -1) 1223 unlink(newpath); 1226 } else if (stat(newpath, &sb) == -1) { 1227 if (rename(oldpath, newpath) == -1) 1234 free(newpath); 1265 char *oldpath, *newpath; local 1285 char *oldpath, *newpath; local 1343 char *oldpath, *newpath; local [all...] |
sftp.0 | 267 ln [-s] oldpath newpath 268 Create a link from oldpath to newpath. If the -s flag is 354 rename oldpath newpath 355 Rename remote file from oldpath to newpath. 363 symlink oldpath newpath 364 Create a symbolic link from oldpath to newpath.
|
sftp.1 | 435 .Ar newpath 440 .Ar newpath . 578 .It Ic rename Ar oldpath Ar newpath 582 .Ar newpath . 589 .It Ic symlink Ar oldpath Ar newpath 593 .Ar newpath .
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
posixpath.py | 391 newpath = join(path, name) 392 if not islink(newpath): 393 path = newpath 396 if newpath in seen: 398 path = seen[newpath] 404 return join(newpath, rest), False 405 seen[newpath] = None # not resolved symlink 406 path, ok = _joinrealpath(path, os.readlink(newpath), seen) 409 seen[newpath] = path # resolved symlink
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
posixpath.py | 391 newpath = join(path, name) 392 if not islink(newpath): 393 path = newpath 396 if newpath in seen: 398 path = seen[newpath] 404 return join(newpath, rest), False 405 seen[newpath] = None # not resolved symlink 406 path, ok = _joinrealpath(path, os.readlink(newpath), seen) 409 seen[newpath] = path # resolved symlink
|
/libcore/luni/src/main/java/libcore/io/ |
BlockGuardOs.java | 156 @Override public void link(String oldPath, String newPath) throws ErrnoException { 158 os.link(oldPath, newPath); 258 @Override public void rename(String oldPath, String newPath) throws ErrnoException { 260 os.rename(oldPath, newPath); 301 @Override public void symlink(String oldPath, String newPath) throws ErrnoException { 303 os.symlink(oldPath, newPath);
|
ForwardingOs.java | 107 public void link(String oldPath, String newPath) throws ErrnoException { os.link(oldPath, newPath); } 136 public void rename(String oldPath, String newPath) throws ErrnoException { os.rename(oldPath, newPath); } 166 public void symlink(String oldPath, String newPath) throws ErrnoException { os.symlink(oldPath, newPath); }
|
/external/skia/tools/ |
test_gpuveto.py | 33 newpath = os.path.join(globbedpath, filename) 34 if os.path.isfile(newpath): 35 files.append(newpath)
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ProfileAwareUriMatcher.java | 70 String newPath = path; 73 newPath = path.substring(1); 75 String[] tokens = PATH_SPLIT_PATTERN.split(newPath);
|
/external/e2fsprogs/lib/ext2fs/ |
extent.c | 277 struct extent_path *path, *newpath; local 429 newpath = path + 1; 430 if (!newpath->buf) { 432 &newpath->buf); 440 memset(newpath->buf, 0, handle->fs->blocksize); 443 blk, 1, newpath->buf); 449 eh = (struct ext3_extent_header *) newpath->buf; 457 newpath->left = newpath->entries = 459 newpath->max_entries = ext2fs_le16_to_cpu(eh->eh_max) 831 struct extent_path *path, *newpath = 0; local [all...] |
/frameworks/native/cmds/dumpstate/ |
utils.c | 324 char *newpath = NULL; local 345 for (; ((d = readdir(dirp))); free(newpath), newpath = NULL) { 351 asprintf(&newpath, "%s%s%s%s", dir, slash, d->d_name, 353 if (!newpath) { 357 if (skip && (*skip)(newpath)) { 361 int ret = dump_files(NULL, newpath, skip, dump_from_fd); 367 fd = TEMP_FAILURE_RETRY(open(newpath, O_RDONLY | O_NONBLOCK | O_CLOEXEC)); 370 printf("*** %s: %s\n", newpath, strerror(errno)); 373 (*dump_from_fd)(NULL, newpath, fd) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
TreeWidget.py | 378 newpath = os.path.dirname(self.path) 379 newpath = os.path.join(newpath, text) 380 if os.path.dirname(newpath) != os.path.dirname(self.path): 383 os.rename(self.path, newpath) 384 self.path = newpath
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
TreeWidget.py | 378 newpath = os.path.dirname(self.path) 379 newpath = os.path.join(newpath, text) 380 if os.path.dirname(newpath) != os.path.dirname(self.path): 383 os.rename(self.path, newpath) 384 self.path = newpath
|
/external/clang/lib/ARCMigrate/ |
FileRemapper.cpp | 139 SmallString<200> newPath = StringRef(FE->getName()); 140 fs::make_absolute(newPath); 141 infoOut << newPath << '\n';
|