/gdk/build/awk/ |
extract-pid.awk | 16 # Extract the pid of a given package name. This assumes that the 30 PID=0 44 # contains the package name, while the 2nd one contains the pid 47 PID=$2 51 print PID
|
/ndk/build/awk/ |
extract-pid.awk | 16 # Extract the pid of a given package name. This assumes that the 39 PID=0 41 # The default column where we expect the PID to appear, this 58 if ($n == "PID") { 66 PID=$PID_COLUMN 72 print PID
|
/external/openssh/ |
opensshd.init.in | 16 PIDFILE=$piddir/sshd.pid 43 PID=`${CAT} ${PIDFILE}` 45 if [ ${PID:=0} -gt 1 -a ! "X$PID" = "X " ]; then 46 ${KILL} ${PID} 48 echo "Unable to read PID file"
|
/external/openssh/regress/ |
reconfigure.sh | 18 PID=`$SUDO cat $PIDFILE` 20 $SUDO kill -HUP $PID
|
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
p2p-action-udhcp.sh | 14 PID=`cat $PF` 15 if [ $PID -gt 0 ]; then 16 if ps $PID | grep -q $NAME; then 17 kill $PID 26 kill_daemon udhcpc /var/run/udhcpc-$GIFNAME.pid 31 kill_daemon udhcpc /var/run/udhcpc-$GIFNAME.pid 32 kill_daemon udhcpd /var/run/udhcpd-$GIFNAME.pid 33 udhcpc -i $GIFNAME -p /var/run/udhcpc-$GIFNAME.pid \ 41 kill_daemon udhcpd /var/run/udhcpd-$GIFNAME.pid 45 kill_daemon udhcpc /var/run/udhcpc-$GIFNAME.pid [all...] |
p2p-action.sh | 14 PID=`cat $PF` 15 if [ $PID -gt 0 ]; then 16 if ps $PID | grep -q $NAME; then 17 kill $PID 26 kill_daemon dhclient /var/run/dhclient-$GIFNAME.pid 28 kill_daemon dnsmasq /var/run/dnsmasq.pid-$GIFNAME 30 if ! dnsmasq -x /var/run/dnsmasq.pid-$GIFNAME \ 35 dnsmasq -x /var/run/dnsmasq.pid-$GIFNAME \ 41 kill_daemon dhclient /var/run/dhclient-$GIFNAME.pid 43 kill_daemon dnsmasq /var/run/dnsmasq.pid-$GIFNAM [all...] |
/external/llvm/lib/Support/ |
LockFileManager.cpp | 36 // Read the owning host and PID out of the lock file. If it appears that the 38 int PID = 0; 41 if (Input >> Hostname >> PID && PID > 0 && 42 processStillExecuting(Hostname, PID)) 43 return std::make_pair(Hostname, PID); 51 bool LockFileManager::processStillExecuting(StringRef Hostname, int PID) { 58 if (MyHostname == Hostname && getsid(PID) == -1 && errno == ESRCH) 105 // We failed to write out PID, so make up an excuse, remove the
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
ATSParser.h | 104 // Keyed by PID 116 ABitReader *br, unsigned PID, 120 void parseAdaptationField(ABitReader *br, unsigned PID); 123 void updatePCR(unsigned PID, uint64_t PCR, size_t byteOffsetFromStart);
|
ATSParser.cpp | 51 unsigned pid, ABitReader *br, status_t *err); 54 unsigned pid, unsigned continuity_counter, 105 unsigned pid() const { return mElementaryPID; } function in struct:android::ATSParser::Stream 106 void setPID(unsigned pid) { mElementaryPID = pid; } 187 unsigned pid, ABitReader *br, status_t *err) { 190 if (pid != mProgramMapPID) { 200 unsigned pid, unsigned continuity_counter, 205 ssize_t index = mStreams.indexOfKey(pid); 345 ALOGI("PID 0x%08x => type 0x%02x", stream->pid(), stream->type()) [all...] |
/external/llvm/include/llvm/Support/ |
LockFileManager.h | 56 static bool processStillExecuting(StringRef Hostname, int PID);
|
/external/webkit/LayoutTests/dom/xhtml/level3/core/ |
nodesettextcontent08.js | 80 Using setTextContent on a new Processing Instruction node, attempt to set its data to PID. 81 Retreive the textContent and verify if it is was set to PID. 103 pi = doc.createProcessingInstruction("PIT","PID"); 105 pi.textContent = "PID"; 109 assertEquals("nodesettextcontent08","PID",textContent);
|
noderemovechild09.js | 102 pi = doc.createProcessingInstruction("PIT","PID");
|
nodecomparedocumentposition34.js | 106 pi = doc.createProcessingInstruction("PIT","PID");
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
TSPacketizer.cpp | 37 unsigned PID, unsigned streamType, unsigned streamID); 39 unsigned PID() const; 86 unsigned PID, unsigned streamType, unsigned streamID) 88 mPID(PID), 119 unsigned TSPacketizer::Track::PID() const { 368 unsigned PID = PIDStart; 378 ++PID; 387 sp<Track> track = new Track(format, PID, streamType, streamID); 424 // PID 484 // PID = b0000000000000 (13 bits [all...] |
/external/clang/lib/AST/ |
DeclPrinter.cpp | 936 void DeclPrinter::VisitObjCProtocolDecl(ObjCProtocolDecl *PID) { 937 if (!PID->isThisDeclarationADefinition()) { 938 Out << "@protocol " << PID->getIdentifier() << ";\n"; 942 Out << "@protocol " << *PID << '\n'; 943 VisitDeclContext(PID, false); 947 void DeclPrinter::VisitObjCCategoryImplDecl(ObjCCategoryImplDecl *PID) { 948 Out << "@implementation " << *PID->getClassInterface() << '(' << *PID <<")\n"; 950 VisitDeclContext(PID, false); 955 void DeclPrinter::VisitObjCCategoryDecl(ObjCCategoryDecl *PID) { [all...] |
DeclObjC.cpp | 109 const ObjCProtocolDecl *PID = cast<ObjCProtocolDecl>(this); 110 for (ObjCProtocolDecl::protocol_iterator I = PID->protocol_begin(), 111 E = PID->protocol_end(); I != E; ++I) [all...] |
/external/clang/lib/ARCMigrate/ |
TransZeroOutPropsInDealloc.cpp | 118 ObjCPropertyImplDecl *PID = *I; 119 if (PID->getPropertyImplementation() == 121 ObjCPropertyDecl *PD = PID->getPropertyDecl(); 130 SynthesizedProperties[PD] = PID;
|
/external/dnsmasq/contrib/dynamic-dnsmasq/ |
dynamic-dnsmasq.pl | 44 my $dnsmasqpidfile = "/var/run/dnsmasq.pid"; # if this doesn't exist, will look for process in /proc 224 open(PID,"<$dnsmasqpidfile") || die "Could not open PID file \"$dnsmasqpidfile\": $!\n"; 225 my $pid = <PID>; 226 close(PID); 227 chomp $pid; 228 if ( kill(0, $pid) ) { 229 kill(1, $pid);
|
/ndk/ |
ndk-gdb | 401 # Return the PID of a given package or program, or 0 if it doesn't run 403 # Out: PID number, or 0 if not running 406 adb_cmd shell ps | $AWK_CMD -f $AWK_SCRIPTS/extract-pid.awk -v PACKAGE="$1" 637 # Find the PID of the application being run 638 PID=$(get_pid_of "$PACKAGE_NAME") 639 log "Found running PID: $PID" 640 if [ $? != 0 -o "$PID" = "0" ] ; then 641 echo "ERROR: Could not extract PID of application on device/emulator." 669 run adb_cmd shell run-as $PACKAGE_NAME lib/gdbserver +$DEBUG_SOCKET --attach $PID [all...] |
/build/ |
envsetup.sh | 730 function pid() function 734 local PID=`adb shell ps | fgrep $1 | sed -e 's/[^ ]* *\([0-9]*\).*/\1/'` 735 echo "$PID" 737 echo "usage: pid name" 745 adb shell echo '""' '>>' /data/anr/traces.txt && adb shell chmod 776 /data/anr/traces.txt && adb shell kill -3 $(pid system_server) 779 local PID 783 PID="$3" 785 PID=`pid $3` 788 adb shell gdbserver $PORT --attach $PID [all...] |
/external/clang/lib/CodeGen/ |
CGObjC.cpp | 715 const ObjCPropertyImplDecl *PID) { 717 GenerateObjCAtomicGetterCopyHelperFunction(PID); 718 const ObjCPropertyDecl *PD = PID->getPropertyDecl(); 723 generateObjCGetterBody(IMP, PID, OMD, AtomicHelperFn); [all...] |
CodeGenModule.cpp | [all...] |
/frameworks/av/media/libstagefright/ |
MPEG2TSWriter.cpp | 710 // PID = b0000000000000 (13 bits) 762 // PID = b0 0001 1110 0000 (13 bits) [0x1e0] 839 // PID = b0 0001 1110 ???? (13 bits) [0x1e0 + 1 + sourceIndex] 873 const unsigned PID = 0x1e0 + sourceIndex + 1; 901 *ptr++ = 0x40 | (PID >> 8); 902 *ptr++ = PID & 0xff; 945 // PID = b0 0001 1110 ???? (13 bits) [0x1e0 + 1 + sourceIndex] 958 *ptr++ = 0x00 | (PID >> 8); 959 *ptr++ = PID & 0xff;
|
/external/clang/tools/libclang/ |
CursorVisitor.h | 223 bool VisitObjCProtocolDecl(ObjCProtocolDecl *PID);
|
/external/linux-tools-perf/ |
builtin-script.c | 42 {.str = "pid", .field = PERF_OUTPUT_PID}, 170 if ((PRINT_FIELD(PID) || PRINT_FIELD(TID)) && 239 if (PRINT_FIELD(PID) && PRINT_FIELD(TID)) 240 printf("%5d/%-5d ", sample->pid, sample->tid); 241 else if (PRINT_FIELD(PID)) 242 printf("%5d ", sample->pid); 350 struct thread *thread = perf_session__findnew(session, event->ip.pid); 988 "comma separated output fields prepend with 'type:'. Valid types: hw,sw,trace,raw. Fields: comm,tid,pid,time,cpu,event,trace,sym", 1045 pid_t pid; local 1076 pid = fork() [all...] |